keybindings: fix crashes on Wayland #839
In wayland you can change keybindings freely with this as in x11 and if the compositor is actually listening for them (which is not always the case in both Wayfire and Polo) they work.
Looks like the only change in x11 is seeing if Polo is running, which it will not be so that returns NULL and the function returns FALSE
EDIT: Thus appears to make a change in the pointless_eventbox functions in both x11 and wayland. What made that necessary?
CI build failure on Arch is the same2026-11-14T20:04:40.4123004Z ERROR: files left after uninstall:
As the others, again we don't add new files or touch the build system so this has to be unrelated to this or any of these PRs.
Although it's not a wayland related thing, I edited pointless_eventbox because of:
GLib-GObject-CRITICAL: Object class EggCellEditableEventBox doesn't implement property 'editing-canceled' from interface 'GtkCellEditable'
so I added a class init that provides it (always FALSE, so behaviour is unchanged)
I can maybe create a separate commit for that.
No behavioral difference on X, this should be good to go. Please split out unrelated fixes in the future, but merging this one as-is
Turns out we have one problem left here, thankfully only on wayland and not on x11. Some of the time, hitting the return key while editing a shortcut will freeze the dialog, though the window can still be closed and any change just made has already been saved.
I'll be troubleshooting it right now.
Can you give me how to reproduce, because I couldn't
Seems to be working fine now, maybe one of the other changes fixed the problem?
lukefromdc
KeremSoke
Now mate-keybinding-properties on wayland doesn't segfault and functional. It uses the usual XKB modifier layout (Mod2 = NumLock, Mod4 = Super) on Wayland.
Also if an eligible wayland compositor that inherits marco's schemes running, show marco keybindings.