mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Buildfix
This commit is contained in:
parent
cdc0a79508
commit
01b2b9c3a6
@ -337,15 +337,15 @@ static void pointer_handle_button(void *data,
|
|||||||
{
|
{
|
||||||
wl->input.mouse.left = true;
|
wl->input.mouse.left = true;
|
||||||
|
|
||||||
if (BIT_GET(wl->input.key_state, KEY_LEFTALT)) {
|
if (BIT_GET(wl->input.key_state, KEY_LEFTALT))
|
||||||
|
{
|
||||||
if (wl->xdg_toplevel)
|
if (wl->xdg_toplevel)
|
||||||
xdg_toplevel_move(wl->xdg_toplevel, wl->seat, serial);
|
xdg_toplevel_move(wl->xdg_toplevel, wl->seat, serial);
|
||||||
else if (wl->zxdg_toplevel)
|
else if (wl->zxdg_toplevel)
|
||||||
zxdg_toplevel_v6_move(wl->zxdg_toplevel, wl->seat, serial);
|
zxdg_toplevel_v6_move(wl->zxdg_toplevel, wl->seat, serial);
|
||||||
else if (wl->shell)
|
else if (wl->shell)
|
||||||
wl_shell_surface_move(wl->shell_surf, wl->seat, serial);
|
wl_shell_surface_move(wl->shell_surf, wl->seat, serial);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (button == BTN_RIGHT)
|
else if (button == BTN_RIGHT)
|
||||||
wl->input.mouse.right = true;
|
wl->input.mouse.right = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user