winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.
This commit is contained in:
parent
8529a3c404
commit
8c910077ae
|
@ -199,7 +199,7 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
|
||||||
new_state |= (1 << NET_WM_STATE_ABOVE);
|
new_state |= (1 << NET_WM_STATE_ABOVE);
|
||||||
if (ex_style & WS_EX_TOOLWINDOW)
|
if (ex_style & WS_EX_TOOLWINDOW)
|
||||||
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);
|
||||||
if (GetWindow( data->hwnd, GW_OWNER ))
|
if (!(ex_style & WS_EX_APPWINDOW) && GetWindow( data->hwnd, GW_OWNER ))
|
||||||
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
|
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
|
||||||
|
|
||||||
xev.xclient.type = ClientMessage;
|
xev.xclient.type = ClientMessage;
|
||||||
|
|
Loading…
Reference in New Issue