[Bug 29871] drawing in photoshop cs5 is almost impossible
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Oct 21 21:43:50 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=29871
--- Comment #82 from Chituc Georgian <dianaxxyyzz at 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!
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list