GNOME Bugzilla – Bug 687130
st-entry: Change the pointer cursor on enter/leave events
Last modified: 2012-11-06 11:51:31 UTC
Change the pointer cursor to an i-beam when it is inside the ClutterText.
Created attachment 227550 [details] [review] st-entry: Change the pointer cursor on enter/leave events
Seems like an obvious enhancement for most of our text entry widgets. The only problematic thing is the overview search entry - having the i-beam cursor there would make it look like you can edit the hint text. One possibility would be to hide the hint text on hover.
Review of attachment 227550 [details] [review]: It's a bit disappointing that we have to resort to Xlib for this. Note that we have another way of setting the cursor for DND: http://git.gnome.org/browse/gnome-shell/tree/src/shell-global.c#n595 It shouldn't interact in any way, but I just want to make sure. Given that Clutter doesn't have any cursor mechanism (until we force GDK, of course), perhaps it's worth it to add a StCursor? This is certainly fine for now.
Attachment 227550 [details] pushed as 2d763bd - st-entry: Change the pointer cursor on enter/leave events