GNOME Bugzilla – Bug 129621
Use resize cursors for resize grips
Last modified: 2011-02-04 16:16:03 UTC
This patch makes the cursor become a resize arrow when it is hovering over a resize grip.
Created attachment 22544 [details] [review] patch
The obvious problem with this is that there is no way to pick the same cursor as the WM does for its corner decoration. Having two different resize cursors appear when the pointer leaves the window via a corner seems worse than not changing the cursor at all.
Yeah, it's a problem, but I don't agree that it is worse not having any at all. I have been using it with the cursors for a while now, and I am much more likely to actually use the resize grip when there is the cursor change feedback. It looks like Qt also changes the cursors to these ones, so there is hope that it will become a de facto standard. Actually I am wondering if the it wouldn't be a better design if the application would inform the window manager that "here is a window that you can use as a resizing device", and then have the window manager handle the whole thing, instead of as now have the application say "hey wm, you should start resizing". It would have the advantages that applications that stop responding could still be resized from the grip corner, and that the window manager could use the same cursors everywhere.
I think the win for GNOME of matching the metacity cursors is bigger then the harm of places where we don't match, so I'd say we should go ahead and make the change, and worry about doing better later.
Thu Feb 26 23:26:00 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize cursors for resize grips. (Bug #129621) * gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation fix - patch by Torsten Schoenfeld. * gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request space between the items. (Bug #110775) * gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding inside menu items that are inside a menu bar. (Bug #110775) * configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_, not GDK_PACKAGES, to prevent applications from getting linked to it (Bug #119804) * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical ipadding inside the item. (Bug #61843)