mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
winex11: Reset embedded window position to 0x0 before docking it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57370
This commit is contained in:
parent
b240f8ea93
commit
51f6839395
Notes:
Alexandre Julliard
2024-11-14 23:13:45 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6815
1 changed files with 1 additions and 0 deletions
|
@ -2474,6 +2474,7 @@ BOOL X11DRV_SystrayDockInsert( HWND hwnd, UINT cx, UINT cy, void *icon )
|
||||||
window = data->whole_window;
|
window = data->whole_window;
|
||||||
release_win_data( data );
|
release_win_data( data );
|
||||||
|
|
||||||
|
NtUserSetWindowPos( hwnd, NULL, 0, 0, 0, 0, SWP_NOSIZE|SWP_NOZORDER );
|
||||||
NtUserShowWindow( hwnd, SW_SHOWNA );
|
NtUserShowWindow( hwnd, SW_SHOWNA );
|
||||||
|
|
||||||
TRACE_(systray)( "icon window %p/%lx\n", hwnd, window );
|
TRACE_(systray)( "icon window %p/%lx\n", hwnd, window );
|
||||||
|
|
Loading…
Reference in a new issue