protocols: add hyprland_focus_grab_v1 implementation (#5850)

* protocols: add hyprland_focus_grab_v1 implementation

* protocols/focus_grab: fix keyboard focus staying on unlisted windows

When creating a focus grab with layershell surfaces, the last active
toplevel kept keyboard focus.

* protocols/focus_grab: fix formatting

* protocols/focus_grab: try to pick surface for keyboard focus

* focus_grab: update keyboard focus to match spec

* Revert "protocols/focus_grab: try to pick surface for keyboard focus"

This reverts commit 090358d0d19cc65208641eaefa0a905e99145730.

* protocols/focus_grab: fix issues and match new spec

* kde-server-decoration: move to new impl

* protocols/focus_grab: review fixup

* Update hyprland-protocols

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
This commit is contained in:
outfoxxed 2024-05-04 19:14:35 -07:00 committed by GitHub
parent 62eadad20f
commit aaf35b9f1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 410 additions and 4 deletions

@ -1 +1 @@
Subproject commit 0c2ce70625cb30aef199cb388f99e19a61a6ce03
Subproject commit e06482e0e611130cd1929f75e8c1cf679e57d161