diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:51:05 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:51:05 -0500 |
commit | 0e53e5aadea5bd759fba66514771e5a906f5c169 (patch) | |
tree | cf7ab81d7afb5af813769b011f895e6d0f2f6025 | |
parent | 5d59cf11dc2ada49f39e4c52be6b125d40ae3323 (diff) | |
download | enlightenment-0e53e5aadea5bd759fba66514771e5a906f5c169.tar.gz |
xwayland popups don't require a parent surface on commit
-rw-r--r-- | src/bin/e_comp_wl.c | 2 |
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, |