forked from AuroraMiddleware/gtk
make sure we know what we are talking about when asked for MINMAXINFO.
2001-11-10 Hans Breuer <hans@breuer.org> * gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure we know what we are talking about when asked for MINMAXINFO. Also some cleaning for !HAVE_DIMM_H etc.
This commit is contained in:
parent
f4f1768db9
commit
c9dabae939
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate) : make sure
|
||||
we know what we are talking about when asked for MINMAXINFO.
|
||||
Also some cleaning for !HAVE_DIMM_H etc.
|
||||
|
||||
2001-11-10 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c: Fix docs for
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
* gtk/gtkcolorsel.c: Documentation fixes.
|
||||
|
||||
2001-10-28 Hans Breuer <hans@breuer.org>
|
||||
2001-11-10 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms
|
||||
don't have strcasecmp()
|
||||
|
@ -156,7 +156,9 @@ real_window_procedure (HWND hwnd,
|
||||
GdkEvent *eventp;
|
||||
MSG msg;
|
||||
DWORD pos;
|
||||
#ifdef HAVE_DIMM_H
|
||||
LRESULT lres;
|
||||
#endif
|
||||
gint ret_val;
|
||||
gboolean ret_val_flag;
|
||||
|
||||
@ -293,7 +295,9 @@ void
|
||||
_gdk_events_init (void)
|
||||
{
|
||||
GSource *source;
|
||||
#ifdef HAVE_DIMM_H
|
||||
HRESULT hres;
|
||||
#endif
|
||||
#ifdef USE_TRACKMOUSEEVENT
|
||||
HMODULE user32, imm32;
|
||||
HINSTANCE commctrl32;
|
||||
@ -2931,6 +2935,16 @@ gdk_event_translate (GdkEvent *event,
|
||||
mmi->ptMaxSize.x = MIN(window_impl->hint_max_width, gdk_screen_width ());
|
||||
mmi->ptMaxSize.y = MIN(window_impl->hint_max_height, gdk_screen_height ());
|
||||
}
|
||||
else if (window_impl->hint_flags & GDK_HINT_MIN_SIZE)
|
||||
{
|
||||
/* need to initialize */
|
||||
mmi->ptMaxSize.x = gdk_screen_width ();
|
||||
mmi->ptMaxSize.y = gdk_screen_height ();
|
||||
}
|
||||
/* lovely API inconsistence: return FALSE when handled */
|
||||
if (ret_val_flagp)
|
||||
*ret_val_flagp = !(window_impl->hint_flags &
|
||||
(GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE));
|
||||
break;
|
||||
|
||||
case WM_MOVE:
|
||||
|
Loading…
Reference in New Issue
Block a user