summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2017-02-01 17:14:39 -0200
committerBruno Dilly <bdilly@profusion.mobi>2017-02-01 17:19:32 -0200
commitb251e1a4ac5ddc73c085064431982f6baa909443 (patch)
treed5979918fea18f60a8ff8cb91903f32cf8dd3737 /src/lib/edje
parent9893c6d91afb3b2b71d869f4852fbd217d87b6aa (diff)
edje: change seat signals
Use seat names as prefix, not as suffix, following a top-down approach and avoiding issues with applications that may be receiving doubled signals (legacy + suffixed). So instead of "mouse,in,seat1" signal will be "seat,seat1,mouse,in".
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c
index cc3ae96578..232dcb3ccf 100644
--- a/src/lib/edje/edje_program.c
+++ b/src/lib/edje/edje_program.c
@@ -637,7 +637,7 @@ _edje_seat_name_emit(Edje *ed, const char *name, const char *sig, const char *sr
637 637
638 if (!name) return; 638 if (!name) return;
639 639
640 snprintf(buf, sizeof(buf), "%s,%s", sig, name); 640 snprintf(buf, sizeof(buf), "seat,%s,%s", name, sig);
641 _edje_emit_full(ed, buf, src, NULL, NULL); 641 _edje_emit_full(ed, buf, src, NULL, NULL);
642} 642}
643 643
@@ -1295,7 +1295,7 @@ _edje_seat_emit(Edje *ed, Efl_Input_Device *dev, const char *sig, const char *sr
1295 seat = efl_input_device_seat_get(dev); 1295 seat = efl_input_device_seat_get(dev);
1296 if (!seat) return; 1296 if (!seat) return;
1297 1297
1298 snprintf(buf, sizeof(buf), "%s,%s", sig, _edje_seat_name_get(ed, seat)); 1298 snprintf(buf, sizeof(buf), "seat,%s,%s", _edje_seat_name_get(ed, seat), sig);
1299 _edje_emit_full(ed, buf, src, NULL, NULL); 1299 _edje_emit_full(ed, buf, src, NULL, NULL);
1300} 1300}
1301 1301