summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-06-11 18:30:41 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-06-11 18:30:41 +0100
commit56c566a31ba621aaf7ec38b9c9301c50849d17ab (patch)
treeb5f7521433896fd4730ab07fe8f9802547bdc013
parentecbb9ca46ea0fb6f1117ae9598441435979e733f (diff)
efl sel manager - flush wl conenction in cnp to avoid hangs...
we don't force buffers to flush in wl... this will fix that and force them removing an ugly hang for possibly seconds in cnp from client to client or even within a client. remember: flush your mush. @fix
-rw-r--r--src/lib/elementary/efl_ui_selection_manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_selection_manager.c b/src/lib/elementary/efl_ui_selection_manager.c
index cbef9226af..5c4db17b0c 100644
--- a/src/lib/elementary/efl_ui_selection_manager.c
+++ b/src/lib/elementary/efl_ui_selection_manager.c
@@ -2723,6 +2723,7 @@ _wl_selection_send(void *data, int type EINA_UNUSED, void *event)
2723 free(data_ret); 2723 free(data_ret);
2724 2724
2725 close(ev->fd); 2725 close(ev->fd);
2726 ecore_wl2_display_flush(ev->display);
2726 return ECORE_CALLBACK_PASS_ON; 2727 return ECORE_CALLBACK_PASS_ON;
2727} 2728}
2728 2729
@@ -2763,6 +2764,7 @@ _wl_dnd_end(void *data, int type EINA_UNUSED, void *event)
2763 2764
2764 seat_sel->accept = EINA_FALSE; 2765 seat_sel->accept = EINA_FALSE;
2765 2766
2767 ecore_wl2_display_flush(ev->display);
2766 return ECORE_CALLBACK_PASS_ON; 2768 return ECORE_CALLBACK_PASS_ON;
2767} 2769}
2768 2770
@@ -2976,6 +2978,7 @@ _wl_efl_sel_manager_selection_get(const Efl_Object *request, Efl_Ui_Selection_Ma
2976 _wl_selection_receive, sel); 2978 _wl_selection_receive, sel);
2977 2979
2978 ecore_wl2_offer_receive(offer, (char*)sm_wl_convertion[i].translates[j]); 2980 ecore_wl2_offer_receive(offer, (char*)sm_wl_convertion[i].translates[j]);
2981 ecore_wl2_display_flush(ecore_wl2_input_display_get(input));
2979 return EINA_TRUE; 2982 return EINA_TRUE;
2980 } 2983 }
2981 } 2984 }