summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 16:51:05 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 16:51:05 -0500
commit0e53e5aadea5bd759fba66514771e5a906f5c169 (patch)
treecf7ab81d7afb5af813769b011f895e6d0f2f6025
parent5d59cf11dc2ada49f39e4c52be6b125d40ae3323 (diff)
downloadenlightenment-0e53e5aadea5bd759fba66514771e5a906f5c169.tar.gz
xwayland popups don't require a parent surface on commit
-rw-r--r--src/bin/e_comp_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index b233c90df0..1c0bdccd59 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,