mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
keyboard groups work in drm mode
This commit is contained in:
parent
976900ffa6
commit
d9ebb6197d
6 changed files with 71 additions and 22 deletions
|
|
@ -138,7 +138,7 @@ fn handleButton(
|
|||
|
||||
switch (event.state) {
|
||||
.pressed => {
|
||||
if(server.keyboard.wlr_keyboard.getModifiers().alt) {
|
||||
if(server.seat.keyboard_group.keyboard.getModifiers().alt) {
|
||||
// Can be BTN_RIGHT, BTN_LEFT, or BTN_MIDDLE
|
||||
if(server.seat.focused_view) |view| {
|
||||
// Keep track of where the drag started
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue