diff options
author | Tor Lillqvist <tml@iki.fi> | 2003-03-13 00:57:14 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2003-03-13 00:57:14 +0000 |
commit | 1e072f625cf0519b2f82a55bb201d0d65ac683a8 (patch) | |
tree | 96f0a7e1412e2745d5add92cba79526e7fece914 /ChangeLog.pre-2-4 | |
parent | 746d1cd9d4f5c5f74f65c490274889ccbaa54cd1 (diff) | |
download | gtk+-1e072f625cf0519b2f82a55bb201d0d65ac683a8.tar.gz |
if a grab cursor is used, must copy the HCURSOR with CopyCursor(), as it
2003-03-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
is used, must copy the HCURSOR with CopyCursor(), as it is OK to
destroy the GdkCursor after calling gdk_pointer_grab(). Set the
cursor right away with SetCursor(), as we won't get any
WM_SETCURSOR messages while the mouse is captured.
(gdk_display_pointer_ungrab): Correspondingly, destroy the copy
with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
WM_SYSCHAR, return FALSE from the window procedure to prevent the
DefWindowProc from being called. Otherwise Windows would beep,
thinking you are tring to access a (nonexistent) menu when you
press Alt-something. Don't do this for Alt-Space,
though. (#107454, Martyn Russell)
* gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
Diffstat (limited to 'ChangeLog.pre-2-4')
-rw-r--r-- | ChangeLog.pre-2-4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 2e5eb08c2c..747bdf75e4 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,22 @@ +2003-03-13 Tor Lillqvist <tml@iki.fi> + + * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor + is used, must copy the HCURSOR with CopyCursor(), as it is OK to + destroy the GdkCursor after calling gdk_pointer_grab(). Set the + cursor right away with SetCursor(), as we won't get any + WM_SETCURSOR messages while the mouse is captured. + (gdk_display_pointer_ungrab): Correspondingly, destroy the copy + with DestroyCursor() when no longer used. (#108114, Allin Cottrell) + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): On + WM_SYSCHAR, return FALSE from the window procedure to prevent the + DefWindowProc from being called. Otherwise Windows would beep, + thinking you are tring to access a (nonexistent) menu when you + press Alt-something. Don't do this for Alt-Space, + though. (#107454, Martyn Russell) + + * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes. + Tue Mar 11 12:01:07 2003 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift |