mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
Don't revert the mouse cursor to the built-in one when the user holds the
2007-06-10 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Don't revert the mouse cursor to the built-in one when the user holds the mouse button down. (#445284, Tor Lillqvist) svn path=/trunk/; revision=18093
This commit is contained in:
parent
2c18665743
commit
83d5a36c9f
@ -1,3 +1,9 @@
|
||||
2007-06-10 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
|
||||
Don't revert the mouse cursor to the built-in one when
|
||||
the user holds the mouse button down. (#445284, Tor Lillqvist)
|
||||
|
||||
2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
|
||||
|
||||
* gtk/gtkscalebutton.[ch]: Fix some coding style bits.
|
||||
|
@ -534,8 +534,6 @@ gdk_pointer_grab (GdkWindow *window,
|
||||
|
||||
if (return_val == GDK_GRAB_SUCCESS)
|
||||
{
|
||||
GdkWindowImplWin32 *impl = GDK_WINDOW_IMPL_WIN32 (((GdkWindowObject *) window)->impl);
|
||||
|
||||
if (p_grab_window != NULL && p_grab_window != window)
|
||||
generate_grab_broken_event (p_grab_window, FALSE, window);
|
||||
|
||||
@ -552,10 +550,6 @@ gdk_pointer_grab (GdkWindow *window,
|
||||
|
||||
if (p_grab_cursor != NULL)
|
||||
SetCursor (p_grab_cursor);
|
||||
else if (impl->hcursor != NULL)
|
||||
SetCursor (impl->hcursor);
|
||||
else
|
||||
SetCursor (LoadCursor (NULL, IDC_ARROW));
|
||||
|
||||
if (confine_to != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user