From e2be96901ec9379da8ef836852515de1fc7b9a99 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 17 Mar 2017 15:08:02 -0400 Subject: [PATCH] do not attempt to set window hidden hints on non-internal x11 windows this causes a BadWindow error --- src/bin/e_comp_x.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index df8661380..58cb123dc 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1542,8 +1542,9 @@ _e_comp_x_hide(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Windo { hid = EINA_TRUE; evas_object_hide(ec->frame); - e_hints_window_hidden_set(ec); - if (!ec->internal) + if (ec->internal) + e_hints_window_hidden_set(ec); + else { if (ec->exe_inst && ec->exe_inst->exe) ec->exe_inst->phony = 0;