summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/comp.c b/comp.c
index 3d68aa3..b71f385 100644
--- a/comp.c
+++ b/comp.c
@@ -2,6 +2,7 @@
2#define EFL_BETA_API_SUPPORT 2#define EFL_BETA_API_SUPPORT
3#include <unistd.h> 3#include <unistd.h>
4#include <sys/mman.h> 4#include <sys/mman.h>
5#include <sys/socket.h>
5#include <fcntl.h> 6#include <fcntl.h>
6#include <Ecore_Evas.h> 7#include <Ecore_Evas.h>
7#include <Ecore_Wl2.h> 8#include <Ecore_Wl2.h>
@@ -4200,9 +4201,9 @@ comp_seat_selection_changed(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Wl2_Ev
4200 if (c->parent_disp == ev->display) 4201 if (c->parent_disp == ev->display)
4201 EINA_INLIST_FOREACH(c->seats, s) 4202 EINA_INLIST_FOREACH(c->seats, s)
4202 { 4203 {
4203 if (s->seat && (ecore_wl2_input_seat_id_get(s->seat) != ev->seat_id)) continue; 4204 if (s->seat && (ecore_wl2_input_seat_id_get(s->seat) != ev->seat)) continue;
4204 s->selection_changed = 1; 4205 s->selection_changed = 1;
4205 s->selection_exists = ev->exists; 4206 s->selection_exists = !!ecore_wl2_dnd_selection_get(s->seat);
4206 if (!s->focused) continue; 4207 if (!s->focused) continue;
4207 comp_seat_selection_update(s); 4208 comp_seat_selection_update(s);
4208 } 4209 }