From c151ad1bb250d3f3596dfe935cedc484209fa5a8 Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 3 Jan 2019 22:15:48 +0300 Subject: [PATCH] Wayland: remove bogus condition Pointy hat: @sardemff7 --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 4037cc349e..96365be84d 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -327,7 +327,7 @@ static void pointer_handle_button(void *data, { wl->input.mouse.left = true; - if (BIT_GET(wl->input.key_state, KEY_LEFTALT) && wl->xdg_toplevel) { + if (BIT_GET(wl->input.key_state, KEY_LEFTALT)) { if (wl->xdg_toplevel) xdg_toplevel_move(wl->xdg_toplevel, wl->seat, serial); else if (wl->zxdg_toplevel)