mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
winex11: Use the Globally Active focus model with take focus.
This commit is contained in:
parent
cdffa87666
commit
e3720c2810
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user