After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634639 - wire up a GtkSettings:gtk-cursor-blink-timeout setting
wire up a GtkSettings:gtk-cursor-blink-timeout setting
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: xsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on: 634697
Blocks:
 
 
Reported: 2010-11-11 22:37 UTC by William Jon McCann
Modified: 2010-11-12 19:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
schemas: Add cursor-blink-timeout (1.44 KB, patch)
2010-11-11 23:00 UTC, Bastien Nocera
committed Details | Review
xsettings: Export newly added "cursor-blink-timeout" (1.46 KB, patch)
2010-11-11 23:01 UTC, Bastien Nocera
committed Details | Review

Description William Jon McCann 2010-11-11 22:37:39 UTC
From docs:
 * Time after which the cursor stops blinking, in seconds.
 * The timer is reset after each user interaction.

This is useful to have because it allows us to keep cursor blink on by default but stop blinking after a time to allow cpu power management.

the corresponding x setting is   "Net/CursorBlinkTime\0"     "gtk-cursor-blink-time\0"
Comment 1 Bastien Nocera 2010-11-11 22:39:22 UTC
That means we need to make the "cursor-blink" an enum, (on/off/off after timeout) and add another setting with a nice default timeout.
Comment 2 Bastien Nocera 2010-11-11 23:00:38 UTC
Created attachment 174279 [details] [review]
schemas: Add cursor-blink-timeout

Which should be attached to the "gtk-cursor-blink-timeout" property
for GTK+.
Comment 3 Bastien Nocera 2010-11-11 23:01:50 UTC
Created attachment 174280 [details] [review]
xsettings: Export newly added "cursor-blink-timeout"
Comment 4 Bastien Nocera 2010-11-11 23:02:56 UTC
Comment on attachment 174279 [details] [review]
schemas: Add cursor-blink-timeout

Attachment 174279 [details] pushed as fbfba86 - schemas: Add cursor-blink-timeout
Comment 5 Bastien Nocera 2010-11-11 23:03:25 UTC
Attachment 174280 [details] pushed as 6ebbd13 - xsettings: Export newly added "cursor-blink-timeout"
Comment 6 William Jon McCann 2010-11-12 00:59:34 UTC
Thanks Bastien!
Comment 7 Bastien Nocera 2010-11-12 16:55:53 UTC
Net/CursorBlinkTime is for the amount of time between each blink of the cursor, not for the time before it stops blinking.

Seems like there's no XSetting for gtk-cursor-blink-timeout.