mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Check if the window is a temp window, otherwise things get wonky when you
2008-02-06 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkevents-win32.c: Check if the window is a temp window, otherwise things get wonky when you click on a menu. This fixes a regression caused in #505928. Thanks to Tor for spotting this one! (#514789) svn path=/trunk/; revision=19482
This commit is contained in:
parent
e7355f82c2
commit
84dd6a99b8
@ -1,3 +1,10 @@
|
|||||||
|
2008-02-06 Cody Russell <bratsche@gnome.org>
|
||||||
|
|
||||||
|
* gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
|
||||||
|
otherwise things get wonky when you click on a menu. This fixes
|
||||||
|
a regression caused in #505928. Thanks to Tor for spotting this
|
||||||
|
one! (#514789)
|
||||||
|
|
||||||
2008-02-06 Michael Natterer <mitch@imendio.com>
|
2008-02-06 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
* gtk/gtkcontainer.c
|
* gtk/gtkcontainer.c
|
||||||
|
@ -2988,7 +2988,11 @@ gdk_event_translate (MSG *msg,
|
|||||||
GDK_WINDOW_STATE_MAXIMIZED |
|
GDK_WINDOW_STATE_MAXIMIZED |
|
||||||
withdrawn_bit,
|
withdrawn_bit,
|
||||||
0);
|
0);
|
||||||
show_window_internal (window, FALSE);
|
|
||||||
|
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TEMP)
|
||||||
|
{
|
||||||
|
show_window_internal (window, FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (msg->wParam == SIZE_MAXIMIZED)
|
else if (msg->wParam == SIZE_MAXIMIZED)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user