Commit e3720c28 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Use the Globally Active focus model with take focus.

parent cdffa876
......@@ -1038,7 +1038,7 @@ static void set_wm_hints( Display *display, struct x11drv_win_data *data )
if (data->wm_hints)
{
data->wm_hints->flags |= InputHint | StateHint | WindowGroupHint;
data->wm_hints->input = !(style & WS_DISABLED);
data->wm_hints->input = !use_take_focus && !(style & WS_DISABLED);
data->wm_hints->initial_state = (style & WS_MINIMIZE) ? IconicState : NormalState;
data->wm_hints->window_group = group_leader;
XSetWMHints( display, data->whole_window, data->wm_hints );
......
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