aboutsummaryrefslogtreecommitdiffstats
path: root/sway/server.c
diff options
context:
space:
mode:
authorLibravatar Erik Reider <35975961+ErikReider@users.noreply.github.com>2023-06-05 15:31:16 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2023-06-06 09:07:05 +0200
commit913a7679cbde98df0722b326d8c3cfc0f0576f6d (patch)
tree752fea000515bcd93a40fc175dbbace5221ee9c4 /sway/server.c
parentchase wlroots wlr_renderer_begin_buffer_pass change (diff)
downloadsway-913a7679cbde98df0722b326d8c3cfc0f0576f6d.tar.gz
sway-913a7679cbde98df0722b326d8c3cfc0f0576f6d.tar.zst
sway-913a7679cbde98df0722b326d8c3cfc0f0576f6d.zip
Add support for wlr-layer-shell ON_DEMAND keyboard interactivity
This allows for layer shell surfaces to receive focus while the surface is explicitly focused, i.e allowing text fields to receive keyboard input just like a regular surface.
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c
index 0cf767b7..c87e30fd 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -55,7 +55,7 @@
55#endif 55#endif
56 56
57#define SWAY_XDG_SHELL_VERSION 2 57#define SWAY_XDG_SHELL_VERSION 2
58#define SWAY_LAYER_SHELL_VERSION 3 58#define SWAY_LAYER_SHELL_VERSION 4
59 59
60#if WLR_HAS_DRM_BACKEND 60#if WLR_HAS_DRM_BACKEND
61static void handle_drm_lease_request(struct wl_listener *listener, void *data) { 61static void handle_drm_lease_request(struct wl_listener *listener, void *data) {