my previous thread:
viewtopic.php?t=39710
since I still have to use Line here the borders are getting annoying. Is there any preferred way of adding hints to wine that certain actions should not be performed?
Basically what I did now is to check if "line.exe" is creating some shadow windows with a pixel size of 11 and not map the windows.
in winex11.drv, window.c
Code: Select all
static void map_window( HWND hwnd, DWORD new_style )
{
struct x11drv_win_data *data;
int width, height;
make_owner_managed( hwnd );
wait_for_withdrawn_state( hwnd, TRUE );
if (!(data = get_win_data( hwnd ))) return;
width = data->whole_rect.right - data->whole_rect.left;
height = data->whole_rect.bottom - data->whole_rect.top;
if (strcmp(process_name, "line.exe")==0 && (width == 11 || height == 11)) {
// don't map the window
release_win_data( data );
return;
}