Commit cb87c14f authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

winex11.drv: Do not skip taskbar and pager for app window.

parent a014f19b
...@@ -998,7 +998,8 @@ void update_net_wm_states( struct x11drv_win_data *data ) ...@@ -998,7 +998,8 @@ void update_net_wm_states( struct x11drv_win_data *data )
new_state |= (1 << NET_WM_STATE_ABOVE); new_state |= (1 << NET_WM_STATE_ABOVE);
if (!data->add_taskbar) if (!data->add_taskbar)
{ {
if (data->skip_taskbar || (ex_style & (WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE))) if (data->skip_taskbar || (ex_style & WS_EX_NOACTIVATE)
|| (ex_style & WS_EX_TOOLWINDOW && !(ex_style & WS_EX_APPWINDOW)))
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR) | (1 << NET_WM_STATE_SKIP_PAGER); new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR) | (1 << NET_WM_STATE_SKIP_PAGER);
else if (!(ex_style & WS_EX_APPWINDOW) && NtUserGetWindowRelative( data->hwnd, GW_OWNER )) else if (!(ex_style & WS_EX_APPWINDOW) && NtUserGetWindowRelative( data->hwnd, GW_OWNER ))
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR); new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment