The patch series below adds an option at Mouse Settings to hide mouse pointer. This is done by adding an invisible cursor theme. To detect the pointer device currently active, XSettingsd catches Mouse-Move and Button-Press events and extends DevieceAdded/Removed. If the pointer device has changed and if the new pointer device has a different setting for hide-pointer, X is forced to change cursor theme to the invisible theme or the theme set in Mouse Settings. Intention of this patch is using XFCE with touchscreen devices without mouse pointer. If for these devices an external mouse is connected and used the pointer is displayed as usual. For all users not enabling this option, the behavior remains as before. The following changes since commit 619944b4dfda51fcedd6e35c226ffc2f5ab6d547: l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100% (2012-11-04 16:48:11 +0100) are available in the git repository at: git://gitorious.org/xfce/xfce4-settings.git master Andreas Müller (5): mouse settings dialog: add hide-cursor option add cursor-theme "xfce-invisible" XfcePointersHelper gets a pointer to XfceXSettingsHelper XfceXSettingsHelper gets a property "cursor-hide" pointers: detect a change of pointer used and set "cursor-hide" as found in xfconf
Created attachment 4728 1. mouse settings dialog: add hide-cursor option
Created attachment 4729 2. add cursor-theme "xfce-invisible
Created attachment 4730 3. XfcePointersHelper gets a pointer to XfceXSettingsHelper
Created attachment 4731 4. XfceXSettingsHelper gets a property "cursor-hide"
Created attachment 4732 5. pointers: detect a change of pointer used and set
FWIW: I updated the changes: * gtk2 option TouchscreenMode is automatically set. Apart other features the prelighting of buttons is not performed * the option was renamed to 'Touchscreen pointer' The following changes since commit 49cfef8593f95d2bac26bfb8f3894fcfa7fd9eef: l10n: Updated Portuguese (pt) translation to 100% (2012-12-20 16:54:47 +0100) are available in the git repository at: git://gitorious.org/xfce/xfce4-settings.git touchscreen-pointer Andreas Müller (5): add cursor-theme "xfce-invisible" mouse settings dialog: add touchscreen-pointer option XfcePointersHelper gets a pointer to XfceXSettingsHelper XfceXSettingsHelper gets a property "touchscreen-pointer" pointers: detect a change of pointer-device used and set "touchscreen-pointer" as found in xfconf Makefile.am | 1 + configure.ac.in | 2 + cursors/Makefile.am | 178 +++++++++++++ cursors/index.theme | 3 + cursors/invisible | Bin 0 -> 4160 bytes cursors/wait | Bin 0 -> 126096 bytes dialogs/mouse-settings/main.c | 56 ++++ dialogs/mouse-settings/mouse-dialog.glade | 28 ++- xfsettingsd/main.c | 2 +- xfsettingsd/pointers.c | 392 ++++++++++++++++++++--------- xfsettingsd/xsettings.c | 122 +++++++++- xfsettingsd/xsettings.xml | 1 + 12 files changed, 667 insertions(+), 118 deletions(-) create mode 100644 cursors/Makefile.am create mode 100644 cursors/index.theme create mode 100644 cursors/invisible create mode 100644 cursors/wait
Created attachment 5484 5.pointers: detect a change of pointer used and set
attach a new version of 5th patch to fix crash when no pointer device is connected. reported by Cristian Prigoana when no
Created attachment 5496 Updated version of 0001-add-cursor-theme-sfce-invisible.patch Cursors patched into the install by 0001-add-cursor-theme-xfce-invisible.patch are located in the source directory. To install during an out-of-tree build, we need to copy them from the source directory, not the current build directory.
Any ideas when these patches will be accepted into master?
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/13. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev