aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:33:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:06:13 -0500
commitb48781aa6c85c72f620c57cebff96580ddd67899 (patch)
treea069725dce222985af8e714b36c28f59e5a18b51 /src/lib/elementary/efl_ui_win.c
parentefl-wl: only perform mouse-out operations for a seat if the mouse was "in" (diff)
downloadefl-b48781aa6c85c72f620c57cebff96580ddd67899.tar.gz
wayland: always flush client display when protocol sends are pending
in the case where a connection was not actively rendering, there was nothing which would trigger a display flush, leading to applications potentially deadlocking @fix
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 5c3696cca6..67bdafeb23 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4172,7 +4172,9 @@ _elm_win_frame_cb_menu(void *data,
{
Eina_Iterator *it;
- it = ecore_wl2_display_inputs_get(ecore_wl2_window_display_get(sd->wl.win));
+ Ecore_Wl2_Display *display = ecore_wl2_window_display_get(sd->wl.win);
+ it = ecore_wl2_display_inputs_get(display);
+ ecore_wl2_display_flush(input->display);
EINA_ITERATOR_FOREACH(it, input) break;
eina_iterator_free(it);
}