discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0e53e5aadea5bd759fba66514771e5a906f5c169

commit 0e53e5aadea5bd759fba66514771e5a906f5c169
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jan 22 16:51:05 2018 -0500

    xwayland popups don't require a parent surface on commit
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index b233c90df..1c0bdccd5 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1341,7 +1341,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
      first = !e_pixmap_usable_get(e_comp_x_client_pixmap_get(ec));
 #endif
 
-   if (e_client_util_is_popup(ec) && (!ec->parent))
+   if (e_client_util_is_popup(ec) && (!ec->parent) && 
(!e_client_has_xwindow(ec)))
      {
         wl_resource_post_error(ec->comp_data->surface,
                                WL_DISPLAY_ERROR_INVALID_OBJECT,

-- 


Reply via email to