Johan Malm
Johan Malm
> Looks like we ought to disarm repeat before actioning keybinds: > > https://github.com/swaywm/sway/blob/4e77bc293515ea2f00ebbc4395cb0eb4446d0195/sway/input/keyboard.c#L487 Apologies. I think the above is a red herring. Not sure what the answer is. Any...
I'm not sure if we're missing something here. `sway` doesn't seem to have to cancel/reset the repeat. I've pushed a fix for the time being based on your code -...
I tried some `xkb_state_update_key` but with no success. ``` diff --git a/include/key-state.h b/include/key-state.h index e5f7291..addc492 100644 --- a/include/key-state.h +++ b/include/key-state.h @@ -2,11 +2,14 @@ #ifndef __LABWC_KEY_STATE_H #define __LABWC_KEY_STATE_H +struct wlr_keyboard;...
I think this relates to the difference between raw and translated keysyms/modifiers. Sway deals with both. https://github.com/swaywm/sway/blob/e5728052b59fb5b476c78c9f18b812a85d7f4503/sway/input/keyboard.c#L341-L347 The way labwc currently handles it is simpler and possibly more explicit. Happy...
@Consolatis I can reproduce this. The following patch fixes it, but I'm not sure why. Any thoughts? ``` diff --git a/src/xwayland.c b/src/xwayland.c index 5662f58..7f51798 100644 --- a/src/xwayland.c +++ b/src/xwayland.c @@...
I've played further with that patch, but the missing window issue persists. Not sure what's causing it.
This is also fixed for me. Will close.
We could do it like this if anyone feels like writing a patch: https://github.com/swaywm/sway/blob/b69d637f7a34e239e48a4267ae94a5e7087b5834/sway/server.c#L269
Would you mind confirming if you get the issue with sway? Do you get the issue if running with `labwc -C /dev/null` (to rule out strange bindings)
Looks like a Qt app. Are you running with wayland or X11 backend? Does this commit help? https://github.com/labwc/labwc/commit/96315def57ee9206dad17b5777e5b1ff6af32ffe On labwc I get `QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)`. Looks like swaybar handles that on sway....