Merge pull request #3926 from ShaunMaher/master

WS_EX_NOACTIVATE treated as unmanaged
This commit is contained in:
akallabeth 2017-04-25 10:30:42 +02:00 committed by GitHub
commit f854583aaa

View File

@ -521,7 +521,7 @@ void xf_SetWindowStyle(xfContext* xfc, xfAppWindow* appWindow, UINT32 style,
{
Atom window_type;
if (/*(ex_style & WS_EX_TOPMOST) ||*/ (ex_style & WS_EX_TOOLWINDOW))
if ((ex_style & WS_EX_NOACTIVATE) || (ex_style & WS_EX_TOOLWINDOW))
{
/*
* Tooltips and menu items should be unmanaged windows