set want_focus for xdg popup surfaces on creation
these types of surfaces should grab focus as early as possible, and setting the flag at this time ensures that it will be handled during the next client eval
This commit is contained in:
parent
f63ebeb939
commit
7b4b823758
|
@ -1249,7 +1249,7 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, struct wl_resource *resource
|
|||
cdata->shell.unmap = _e_xdg_shell_surface_unmap;
|
||||
|
||||
EC_CHANGED(ec);
|
||||
ec->new_client = ec->override = 1;
|
||||
ec->new_client = ec->want_focus = ec->override = 1;
|
||||
e_client_unignore(ec);
|
||||
e_comp->new_clients++;
|
||||
if (!ec->internal)
|
||||
|
|
Loading…
Reference in New Issue