winex11.drv: Don't add owned windows to the taskbar.

This commit is contained in:
Dmitry Timoshkov 2008-03-25 16:52:41 +08:00 committed by Alexandre Julliard
parent c8837b8205
commit cb3ff54789

View File

@ -199,6 +199,8 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
new_state |= (1 << NET_WM_STATE_ABOVE);
if (ex_style & WS_EX_TOOLWINDOW)
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR) | (1 << NET_WM_STATE_SKIP_PAGER);
if (GetWindow( data->hwnd, GW_OWNER ))
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
xev.xclient.type = ClientMessage;
xev.xclient.window = data->whole_window;