diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 6606e990e4..5f04eed930 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c | |||
@@ -2398,7 +2398,7 @@ comp_surface_smart_show(Evas_Object *obj) | |||
2398 | static void | 2398 | static void |
2399 | comp_surface_smart_hide(Evas_Object *obj) | 2399 | comp_surface_smart_hide(Evas_Object *obj) |
2400 | { | 2400 | { |
2401 | Comp_Surface *lcs, *cs = evas_object_smart_data_get(obj); | 2401 | Comp_Surface *pcs = NULL, *lcs, *cs = evas_object_smart_data_get(obj); |
2402 | 2402 | ||
2403 | evas_object_hide(cs->clip); | 2403 | evas_object_hide(cs->clip); |
2404 | cs->mapped = 0; | 2404 | cs->mapped = 0; |
@@ -2426,9 +2426,11 @@ comp_surface_smart_hide(Evas_Object *obj) | |||
2426 | shell_surface_send_configure(lcs); | 2426 | shell_surface_send_configure(lcs); |
2427 | return; | 2427 | return; |
2428 | } | 2428 | } |
2429 | if (!cs->parent->shell.popup) | ||
2430 | pcs = cs->parent; | ||
2429 | } | 2431 | } |
2430 | if (cs->c->seats) | 2432 | if (cs->c->seats) |
2431 | comp_seats_redo_enter(cs->c, NULL); | 2433 | comp_seats_redo_enter(cs->c, pcs); |
2432 | } | 2434 | } |
2433 | 2435 | ||
2434 | static void | 2436 | static void |