diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-03-30 16:22:37 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-03-30 16:57:51 +0200 |
commit | f885896890b934e12eca9f0604f28a96c8ad77e0 (patch) | |
tree | 9883e9f8c6f493c58200eb380dd13a4e5cc2b3d5 | |
parent | 2c4b5f0b4c2de4f8bf9b4715e49dcd5a0f9174fa (diff) | |
download | efl-f885896890b934e12eca9f0604f28a96c8ad77e0.tar.gz |
efl_ui_textbox: pass in correct seat
0 was the wrong seat, and only worked on a small amount of systems
fixes T8639
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11622
-rw-r--r-- | src/lib/elementary/efl_ui_textbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_textbox.c b/src/lib/elementary/efl_ui_textbox.c index a5d5852fe9..d6b7b782fd 100644 --- a/src/lib/elementary/efl_ui_textbox.c +++ b/src/lib/elementary/efl_ui_textbox.c @@ -859,7 +859,7 @@ _selection_store(Efl_Ui_Cnp_Buffer buffer, content = eina_content_new((Eina_Slice)EINA_SLICE_STR_FULL(sel), "application/x-elementary-markup"); - efl_ui_selection_set(obj, buffer, content, 0); + efl_ui_selection_set(obj, buffer, content, evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT))); free(sel); } @@ -1969,7 +1969,7 @@ _efl_ui_textbox_selection_paste_type(Eo *obj, Efl_Ui_Textbox_Data *sd, Efl_Ui_Cn Eina_Future *future; Eina_Array *types = _figure_out_types(obj, sd); - future = efl_ui_selection_get(obj, type, 0, eina_array_iterator_new(types)); + future = efl_ui_selection_get(obj, type, evas_device_seat_id_get(evas_default_device_get(evas_object_evas_get(obj), EFL_INPUT_DEVICE_TYPE_SEAT)), eina_array_iterator_new(types)); efl_future_then(obj, future, _selection_data_cb); |