mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
This commit is contained in:
parent
41ee5267cb
commit
4c860a0d3d
@ -1,3 +1,8 @@
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
|
||||
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
|
||||
|
||||
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
|
||||
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
|
||||
|
||||
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
|
||||
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
|
||||
|
||||
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
|
||||
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
|
||||
|
||||
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-11-15 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
|
||||
maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
|
||||
|
||||
Thu Nov 13 12:55:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update the rest of Section 2
|
||||
|
@ -2715,7 +2715,10 @@ gdk_window_focus (GdkWindow *window,
|
||||
GDK_WINDOW_HWND (window),
|
||||
_gdk_win32_window_state_to_string (((GdkWindowObject *) window)->state)));
|
||||
|
||||
ShowWindow (GDK_WINDOW_HWND (window), SW_SHOWNORMAL);
|
||||
if (((GdkWindowObject *) window)->state & GDK_WINDOW_STATE_MAXIMIZED)
|
||||
ShowWindow (GDK_WINDOW_HWND (window), SW_SHOWMAXIMIZED);
|
||||
else
|
||||
ShowWindow (GDK_WINDOW_HWND (window), SW_SHOWNORMAL);
|
||||
SetFocus (GDK_WINDOW_HWND (window));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user