https://bugs.winehq.org/show_bug.cgi?id=29871
--- Comment #82 from Chituc Georgian dianaxxyyzz@gmail.com --- @Fincer , here is a ugly fix implemented in wine that affects only photoshop . it make the photoshop pannels to do not be on top ,over your existing windows. Your pannels will appear on taskbar.So palette windows ,will not stay over the others linux windows .
You must edit dlls/user32/win.c .
Find this function:
/*********************************************************************** * WIN_CreateWindowEx * * Implementation of CreateWindowEx(). */ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module, BOOL unicode ) { INT cx, cy, style, sw = SW_SHOW; LRESULT result; RECT rect; WND *wndPtr; HWND hwnd, parent, owner, top_child = 0; MDICREATESTRUCTW mdi_cs; CBT_CREATEWNDW cbtc; CREATESTRUCTW cbcs;
////add this if (strstr ( debugstr_w(className) , "OWL." ) != NULL ) {
if( ( cs->style & WS_POPUP ) && ( cs->style & WS_CLIPSIBLINGS ) && ( cs->style & WS_CLIPCHILDREN ) ) { cs->style = WS_POPUP | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX ;
cs->dwExStyle |= WS_EX_TOPMOST;
}
} ////////////////////////////////////
Wine is strange , I could not fine something better for now ,but somebody maybe will made a generic fix that will work for all apps Have a great day all!