Skip to content

Commit

Permalink
mouse: remove locate-pointer
Browse files Browse the repository at this point in the history
The current implementation in gnome-settings-daemon relies on X11
and cannot work on Wayland.

Remove the locate-pointer functionality and the relevant helper from
gnome-settings-daemon to move to the Wayland compositor instead, i.e.
mutter/gnome-shell.

Also, move the gsettings key for "locate-pointer" to "org.gnome.desktop.
interface".

https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/86
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/19
https://gitlab.gnome.org/GNOME/mutter/merge_requests/453
https://gitlab.gnome.org/GNOME/gnome-shell/issues/981
  • Loading branch information
ofourdan committed Jun 5, 2019
1 parent c23c5c2 commit 6dff93a
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,548 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ plugins/smartcard/org.gnome.ScreenSaver.c
plugins/smartcard/org.gnome.ScreenSaver.h
plugins/smartcard/org.gnome.SessionManager.c
plugins/smartcard/org.gnome.SessionManager.h
plugins/mouse/gsd-locate-pointer
plugins/mouse/gsd-test-mouse
plugins/power/gsd-backlight-helper
plugins/power/gsd-power-enums-update
Expand Down
1 change: 0 additions & 1 deletion data/gnome-settings-daemon.convert
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ volume-up = /apps/gnome_settings_daemon/keybindings/volume_up
www = /apps/gnome_settings_daemon/keybindings/www

[org.gnome.settings-daemon.peripherals.mouse]
locate-pointer = /desktop/gnome/peripherals/mouse/locate_pointer
double-click = /desktop/gnome/peripherals/mouse/double_click
drag-threshold = /desktop/gnome/peripherals/mouse/drag_threshold

Expand Down
4 changes: 0 additions & 4 deletions data/org.gnome.settings-daemon.peripherals.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@
</key>
</schema>
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.mouse" path="/org/gnome/settings-daemon/peripherals/mouse/">
<key name="locate-pointer" type="b">
<default>false</default>
<summary>Highlights the current location of the pointer when the Control key is pressed and released.</summary>
</key>
<key name="double-click" type="i">
<default>400</default>
<summary>Double click time</summary>
Expand Down

0 comments on commit 6dff93a

Please sign in to comment.