summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_display.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-02-10 17:23:36 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-02-10 17:23:33 -0500
commitee52a28d041dfb02da0f2deca0714beb5eaa51fd (patch)
tree6c5a64a6d7f9e1ae246d2ac40902bc2d1675eca4 /src/lib/ecore_wl2/ecore_wl2_display.c
parent4596d795aa6f627605f72d11d1fa6b404e2a81c6 (diff)
ecore-wl2: roundtrip during client disconnect
ensure all pending requests are processed by the compositor and fixes session recovery destroy @fix
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index e9016d4a0b..cade757c77 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -756,6 +756,7 @@ ecore_wl2_display_disconnect(Ecore_Wl2_Display *display)
756 _ecore_wl2_display_cleanup(display); 756 _ecore_wl2_display_cleanup(display);
757 if (display->refs == 0) 757 if (display->refs == 0)
758 { 758 {
759 wl_display_roundtrip(display->wl.display);
759 wl_display_disconnect(display->wl.display); 760 wl_display_disconnect(display->wl.display);
760 761
761 /* remove this client display from hash */ 762 /* remove this client display from hash */