Wayland: remove bogus condition

Pointy hat: @sardemff7
This commit is contained in:
Greg V 2019-01-03 22:15:48 +03:00
parent b5cf8e90c9
commit c151ad1bb2

View File

@ -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)