do not attempt to remove wl xdg popup clients from focus stack

these have never been added to the focus stack, so removing them is useless
This commit is contained in:
Mike Blumenkrantz 2015-07-21 14:15:08 -04:00
parent 269d589cd1
commit 7aea28a86b
1 changed files with 0 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#define EXECUTIVE_MODE_ENABLED
#define E_COMP_WL
#include "e.h"
#include "e_desktop_shell_protocol.h"
@ -1218,7 +1217,6 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, struct wl_resource *resource
ec->new_client = ec->override = 1;
e_client_unignore(ec);
e_comp->new_clients++;
e_client_focus_stack_set(eina_list_remove(e_client_focus_stack_get(), ec));
if (!ec->internal)
ec->borderless = !ec->internal_elm_win;
ec->lock_border = EINA_TRUE;
@ -1228,7 +1226,6 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, struct wl_resource *resource
ec->netwm.type = E_WINDOW_TYPE_POPUP_MENU;
ec->comp_data->set_win_type = EINA_TRUE;
evas_object_layer_set(ec->frame, E_LAYER_CLIENT_POPUP);
e_client_focus_stack_set(eina_list_remove(e_client_focus_stack_get(), ec));
/* set this client as a transient for parent */
_e_shell_surface_parent_set(ec, parent_resource);