summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2011-11-23 17:08:40 +0000
committerRafael Antognolli <antognolli@gmail.com>2011-11-23 17:08:40 +0000
commit85e4bdab8e20f92a8887c53a19cc2b603e10122b (patch)
tree9e17328117a8f817bac9835d22aa80ba018af686 /legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
parent70060f434c25efb12bffb0c6ec98c1a572c8a6f0 (diff)
ecore/fb: same_screen = 1 for ecore_input_events.
AFAIU, this should be the correct, although this parameter isn't used anywhere. But let's keep some consistency with the other backends, and try to avoid future bugs. Patch for SiT. SVN revision: 65540
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
index b203e6bc03..0b0900c61e 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
@@ -122,7 +122,7 @@ _ecore_fb_li_device_event_key(Ecore_Fb_Input_Device *dev, struct input_event *ie
122 e->window = (Ecore_Window)dev->window; 122 e->window = (Ecore_Window)dev->window;
123 e->event_window = (Ecore_Window)dev->window; 123 e->event_window = (Ecore_Window)dev->window;
124 e->root_window = (Ecore_Window)dev->window; 124 e->root_window = (Ecore_Window)dev->window;
125 e->same_screen = 0; 125 e->same_screen = 1;
126 126
127 if (iev->value) 127 if (iev->value)
128 ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL); 128 ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);
@@ -170,7 +170,7 @@ _ecore_fb_li_device_event_key(Ecore_Fb_Input_Device *dev, struct input_event *ie
170 e->window = (Ecore_Window)dev->window; 170 e->window = (Ecore_Window)dev->window;
171 e->event_window = (Ecore_Window)dev->window; 171 e->event_window = (Ecore_Window)dev->window;
172 e->root_window = (Ecore_Window)dev->window; 172 e->root_window = (Ecore_Window)dev->window;
173 e->same_screen = 0; 173 e->same_screen = 1;
174 174
175 e->modifiers = 0; 175 e->modifiers = 0;
176 if (dev->keyboard.shift) 176 if (dev->keyboard.shift)
@@ -232,7 +232,7 @@ _ecore_fb_li_device_event_rel(Ecore_Fb_Input_Device *dev, struct input_event *ie
232 e->window = (Ecore_Window)dev->window; 232 e->window = (Ecore_Window)dev->window;
233 e->event_window = (Ecore_Window)dev->window; 233 e->event_window = (Ecore_Window)dev->window;
234 e->root_window = (Ecore_Window)dev->window; 234 e->root_window = (Ecore_Window)dev->window;
235 e->same_screen = 0; 235 e->same_screen = 1;
236 236
237 e->modifiers = 0; 237 e->modifiers = 0;
238 if (dev->keyboard.shift) e->modifiers |= ECORE_EVENT_MODIFIER_SHIFT; 238 if (dev->keyboard.shift) e->modifiers |= ECORE_EVENT_MODIFIER_SHIFT;
@@ -270,7 +270,7 @@ _ecore_fb_li_device_event_rel(Ecore_Fb_Input_Device *dev, struct input_event *ie
270 e->window = (Ecore_Window)dev->window; 270 e->window = (Ecore_Window)dev->window;
271 e->event_window = (Ecore_Window)dev->window; 271 e->event_window = (Ecore_Window)dev->window;
272 e->root_window = (Ecore_Window)dev->window; 272 e->root_window = (Ecore_Window)dev->window;
273 e->same_screen = 0; 273 e->same_screen = 1;
274 274
275 e->modifiers = 0; 275 e->modifiers = 0;
276 if (dev->keyboard.shift) e->modifiers |= ECORE_EVENT_MODIFIER_SHIFT; 276 if (dev->keyboard.shift) e->modifiers |= ECORE_EVENT_MODIFIER_SHIFT;