summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 11:22:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 11:22:54 +0900
commit7620d5d957c5fa04883e34a026f92604373cdb6d (patch)
tree9efac45b2e45409d09f61a8af2fd71ba69114f63 /src/lib/ecore_x
parent075e150a03bc3499316e6b4c1fc72d362901f8ad (diff)
ecore-x - remove useless extra assignments of value to itself
usless code that does nothing - not a bug though found by PVS studio
Diffstat (limited to 'src/lib/ecore_x')
-rw-r--r--src/lib/ecore_x/ecore_x_events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ecore_x/ecore_x_events.c b/src/lib/ecore_x/ecore_x_events.c
index b19d60aba0..acd0d67176 100644
--- a/src/lib/ecore_x/ecore_x_events.c
+++ b/src/lib/ecore_x/ecore_x_events.c
@@ -1004,7 +1004,6 @@ _ecore_x_event_handle_focus_in(XEvent *xevent)
1004 e->detail = ECORE_X_EVENT_DETAIL_DETAIL_NONE; 1004 e->detail = ECORE_X_EVENT_DETAIL_DETAIL_NONE;
1005 1005
1006 e->time = _ecore_x_event_last_time; 1006 e->time = _ecore_x_event_last_time;
1007 _ecore_x_event_last_time = e->time;
1008 ecore_event_add(ECORE_X_EVENT_WINDOW_FOCUS_IN, e, NULL, NULL); 1007 ecore_event_add(ECORE_X_EVENT_WINDOW_FOCUS_IN, e, NULL, NULL);
1009} 1008}
1010 1009
@@ -1048,7 +1047,6 @@ _ecore_x_event_handle_focus_out(XEvent *xevent)
1048 e->detail = ECORE_X_EVENT_DETAIL_DETAIL_NONE; 1047 e->detail = ECORE_X_EVENT_DETAIL_DETAIL_NONE;
1049 1048
1050 e->time = _ecore_x_event_last_time; 1049 e->time = _ecore_x_event_last_time;
1051 _ecore_x_event_last_time = e->time;
1052 ecore_event_add(ECORE_X_EVENT_WINDOW_FOCUS_OUT, e, NULL, NULL); 1050 ecore_event_add(ECORE_X_EVENT_WINDOW_FOCUS_OUT, e, NULL, NULL);
1053} 1051}
1054 1052