]> Pileus Git - ~andy/gtk/commit
Check if the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
authorCody Russell <bratsche@gnome.org>
Thu, 28 Aug 2008 02:42:23 +0000 (02:42 +0000)
committerCody Russell <bratsche@src.gnome.org>
Thu, 28 Aug 2008 02:42:23 +0000 (02:42 +0000)
commit1c146ec11fe2102213238c44ffc06f53c6c9ffd7
tree1a4697925d6a33cc4d95bfd841ba698c7128f181
parent3f53433008769dd4bbe738b45c8fb2638461af84
Check if the window's state has GDK_WINDOW_STATE_MAXIMIZED set before

2008-08-27  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c:
        * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if
        the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
        calling ShowWindow (), and show using SW_SHOWMAXIMIZED or
        SW_RESTORE accordingly.  This fixes an issue where maximized
        windows that are iconified do not restore back to maximized
        when you click the taskbar. (#528975)

svn path=/trunk/; revision=21218
ChangeLog
gdk/win32/gdkevents-win32.c
gdk/win32/gdkwindow-win32.c