diff --git a/ChangeLog b/ChangeLog index 8ff34d80b6..054403aea2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-11-10 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): + Event timestamps don't have to be unique. As long as they are + nondecreasing we should be fine. Solves problems with for instance + long menus not staying up on first click. (#152035, Robert Ögren) + 2004-11-10 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8ff34d80b6..054403aea2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2004-11-10 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): + Event timestamps don't have to be unique. As long as they are + nondecreasing we should be fine. Solves problems with for instance + long menus not staying up on first click. (#152035, Robert Ögren) + 2004-11-10 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8ff34d80b6..054403aea2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2004-11-10 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): + Event timestamps don't have to be unique. As long as they are + nondecreasing we should be fine. Solves problems with for instance + long menus not staying up on first click. (#152035, Robert Ögren) + 2004-11-10 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8ff34d80b6..054403aea2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2004-11-10 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick): + Event timestamps don't have to be unique. As long as they are + nondecreasing we should be fine. Solves problems with for instance + long menus not staying up on first click. (#152035, Robert Ögren) + 2004-11-10 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index e9eea03ce7..03b7421332 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -225,7 +225,7 @@ _gdk_win32_get_next_tick (gulong suggested_tick) if (suggested_tick == 0) suggested_tick = GetTickCount (); if (suggested_tick <= cur_tick) - return ++cur_tick; + return cur_tick; else return cur_tick = suggested_tick; }