forked from enlightenment/efl
Ecore/Xlib: Remove unused variable.
NB: _ecore_x_mouse_up_count appears to not be used. It was used in one code block only and appears to serve no real purpose. Both variable and code block are now commented out without any ill effects. SVN revision: 57933
This commit is contained in:
parent
1768db6934
commit
6c286d5c52
|
@ -28,7 +28,7 @@ static Window _ecore_x_mouse_down_last_event_win = 0;
|
|||
static Window _ecore_x_mouse_down_last_last_event_win = 0;
|
||||
static Time _ecore_x_mouse_down_last_time = 0;
|
||||
static Time _ecore_x_mouse_down_last_last_time = 0;
|
||||
static int _ecore_x_mouse_up_count = 0;
|
||||
// static int _ecore_x_mouse_up_count = 0;
|
||||
static int _ecore_x_mouse_down_did_double = 0;
|
||||
static int _ecore_x_mouse_down_did_triple = 0;
|
||||
static int _ecore_x_last_event_mouse_move = 0;
|
||||
|
@ -440,10 +440,15 @@ _ecore_mouse_button(int event,
|
|||
|
||||
}
|
||||
|
||||
/* NB: Block commented out as _ecore_x_mouse_up_count appears to have
|
||||
* no use. The variable is also commented out above. This code block is
|
||||
* the only place that this variable is used, and appears to serve no
|
||||
* purpose. - dh
|
||||
if (event == ECORE_EVENT_MOUSE_BUTTON_DOWN
|
||||
&& !e->double_click
|
||||
&& !e->triple_click)
|
||||
_ecore_x_mouse_up_count = 0;
|
||||
*/
|
||||
|
||||
e->multi.device = dev;
|
||||
e->multi.radius = (radx + rady) / 2;
|
||||
|
|
Loading…
Reference in New Issue