Age | Commit message (Collapse) | Author | Files | Lines |
|
Many of the plugins depend on the libX11 and libXi linker flags, but
they are missing.
With GNU libtool the -no-undefined flag is silently ignored so the build
succeeds, but with slibtool is correctly sets -Wl,--no-undefined in the
linker flags.
Gentoo issue: https://bugs.gentoo.org/922326
|
|
Fix fairly large memory leak when beeping on keys while caps lock is
enabled. The libatspi2 docs and API were quite misleading, so I
overlooked the fact the event parameter should be freed in the
callback.
This changes the constness of the callback argument, which is new in
libatspi2 2.40 -- yet the actual behavior didn't change, only the
qualifier was removed, see [1].
This might however bring up a compiler warning when building against
libatspi2 < 2.40; but on the other hand it fixed build with
clang >= 16, see #399. As it is unlikely to build with clang >= 16
and libatspi2 < 2.40, I think it's a good compromise.
[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/7dfb0b7fc2d1710ef7fad54f910fa4c6a5e3af17
|
|
|
|
|
|
|
|
|
|
|
|
Delay registration of the a11y keyboard plugin to run after the
non-a11y keyboard one to avoid numlock state change conflicts.
|
|
|
|
This allows a customizable and possibly different beep sequence when a
togglekey is enabled or disabled. This is very useful for the user to
know for sure whether the feature got enabled or disabled.
Back in the days of buzzers, XKB was supposed to use different sounds
for each of those, but this is no longer the case now in the vast
majority of setups the beeps are intercepted and use a single recorded
sound.
XKB beeps are also unfortunately not configurable, although they
possibly should be on paper: in theory, one could alter the bell used
by listening to `XkbBellNotify` events, which provides a way to
discriminate bells through a name. Unfortunately XKB's togglekeys
seems to suffer from a bug (?) for a long time, in that it will always
ring the `AX_IndicatorOn` bell if there is *at least one* indicator on
at the moment the bell is rung, and `AX_IndicatorOff` if and only if
*all* indicators are off. This makes it virtually useless as it is not
possible to discriminate between an indicator getting turned on or off
in most cases, especially with NumLock which often stays always on.
Given this behavior dates at the very least as far back as X.org 1.16
which is from 2014, it probably is not very realistic to rely on a fix.
So instead implement togglekeys on our end by listening to the
`XkbIndicatorStateNotify` events.
|
|
|
|
|
|
Instead guard the caller to only use it if available.
|
|
|
|
Try and avoid the workaround for buggy libatspi2 if we can know the
version we're using has it fixed.
|
|
Ringing when a locking modifier gets enabled/disabled is already taken
care of by the `togglekeys` settings, so don't provide redundant
functionality and allow better settings granularity.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The X server hasn't implemented it in over 10 years.
and it was dropped from debian since a long time.
fixes https://github.com/mate-desktop/mate-settings-daemon/issues/284
|
|
|
|
|
|
|
|
* Support font size and mouse cursor auto-scaling for HiDPI displays
* Fix where DPI is getting scaled
* Remove ceil for scaled DPI
|
|
Fixes build warnings
|
|
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1517547
|
|
|
|
|
|
|
|
|
|
|
|
and require libmatekbd and libmate-desktop >= 1.17
|
|
as done in g-s-d six years ago:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799
|
|
it either does nothing or only calls parent functions
taken from
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=5ec1584de2b32b55098e579e403ac37d94ccef03
https://git.gnome.org/browse/gnome-settings-daemon/commit?id=6808c3fe13c855dc17cf6048801f8e8a2ee634e2
|
|
taken from:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=544526d
|
|
|
|
|
|
|
|
fixes https://github.com/mate-desktop/mate-settings-daemon/issues/70
|
|
|
|
|
|
** (mate-settings-daemon:27918): WARNING **: /usr/lib64/mate-settings-daemon/liba11y-keyboard.so: undefined symbol: notify_notification_attach_to_status_icon
** (mate-settings-daemon:27225): WARNING **: /usr/lib64/mate-settings-daemon/libxrandr.so: undefined symbol: notify_notification_new_with_status_icon
liba11-keyboard change done similarily to GNOME, just removing it:
https://github.com/GNOME/gnome-settings-daemon/commit/e1ab570b0dce479ba235e5542ea07d1b5bafc4c9
|
|
|
|
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22
common|mouse: prefix GDK key constants with _KEY (GTK3)
|