Commit graph

11 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
25edfb4a4b mouse: Port to GTK4
This one is an interesting case. It was easier to simply switch
to AdwPreferencesPage than actually port all the GtkFrames in
there.

In addition to that, the mouse test page now uses a GtkPicture
instead of a GtkImage, and the GtkDrawingArea API changes are
reflected in the code.
2021-12-14 22:34:21 -03:00
Jeremy Bicha
35679c6877 mouse: Remove deprecated gdk_error_trap_push|pop calls
Replace with gdk_x11_display_error_trap_push|pop

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/20
2018-12-07 15:43:38 +00:00
Robert Ancell
d9f0b737ac mouse: Use g_auto for variables
https://bugzilla.gnome.org/show_bug.cgi?id=792808
2018-01-23 00:59:53 -02:00
Rui Matos
82546faf24 mouse: Fix synaptics check
It seems like (at least some versions of) gdk don't set
GDK_SOURCE_TOUCHPAD on synaptics devices. In this case though, we
don't need the additional check. Just knowing if there's any device
being driven by this X driver is enough.

https://bugzilla.gnome.org/show_bug.cgi?id=784266
2017-07-07 15:37:25 +02:00
Rui Matos
9b5329f4a8 mouse: Make touchpad capability checking on wayland work as intended
We need to set the out variables otherwise the intended semantics as
documented by the comment aren't enforced.

https://bugzilla.gnome.org/show_bug.cgi?id=765879
2016-05-02 18:23:54 +02:00
Rui Matos
a7da5a2727 mouse: Detect and warn if we're running on the synaptics driver
Since we don't support the synaptics driver anymore we shouldn't show
the touchpad section in that case. In addition, emit a warning so that
this system mis-configuration is easier to diagnose.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
727d2284f2 mouse: Use Gdk instead of Xlib for touchpad capabilities check
Just use X API where needed.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
8f7e99a034 mouse: Rename touchpad capabilities check API
It's not about synaptics anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
6a86c7e957 mouse: Drop unused synaptics capabilities check
We don't support synaptics anymore so checking for this is useless.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Felipe Borges
1896fafef6 mouse: port panel to the new design
https://wiki.gnome.org/Design/SystemSettings/Mouse

https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-23 14:16:09 +02:00
Felipe Borges
5cd231fd59 mouse: decouple the scroll-methods detection code from the UI file
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-22 13:57:08 +02:00