forked from enlightenment/efl
ecore-wayland: No need to check button state twice
Since we already check the button pressed state in the 'if' above this, there is no need to check it again. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
22162a66f3
commit
c5c378f5f9
|
@ -518,7 +518,7 @@ _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer EINA_UN
|
|||
|
||||
if (state)
|
||||
{
|
||||
if ((input->pointer_focus) && (!input->grab) && (state))
|
||||
if ((input->pointer_focus) && (!input->grab))
|
||||
{
|
||||
ecore_wl_input_grab(input, input->pointer_focus, button);
|
||||
input->grab_timestamp = timestamp;
|
||||
|
|
Loading…
Reference in New Issue