Commit cb3ff547 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent c8837b82
...@@ -199,6 +199,8 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data ...@@ -199,6 +199,8 @@ 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 ))
new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
xev.xclient.type = ClientMessage; xev.xclient.type = ClientMessage;
xev.xclient.window = data->whole_window; xev.xclient.window = data->whole_window;
......
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