gtk2/gdk
Neil Roberts 2e08524481 win32: Never pass SWP_NOSIZE or SWP_NOMOVE to SetWindowPos
In _gdk_window_move_resize_child it tries to decide whether to pass
SWP_NOSIZE and SWP_NOMOVE based on whether the new size and position
is different from the window's existing position. However it seems
that GDK now ends up updating the window's position before calling
_gdk_window_move_resize_child so this would mean it would think the
window never changes size or position so SWP_NOSIZE|SWP_NOMOVE would
always be set. This causes child windows to never be resized.

This patch changes it so that it never passes either flag to
SetWindowPos. I don't know whether this will cause any side effects
but you'd think it shouldn't do any harm to reassert the current size.

https://bugzilla.gnome.org/show_bug.cgi?id=628049

Signed-off-by: Hans Breuer <hans@breuer.org>
2010-08-27 20:38:01 +02:00
..
directfb Revert "Deprecate the GdkRegion API" 2010-05-26 09:25:35 +02:00
quartz quartz: stop offscreen windows code from crashing. 2010-08-15 17:34:33 +02:00
tests Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
win32 win32: Never pass SWP_NOSIZE or SWP_NOMOVE to SetWindowPos 2010-08-27 20:38:01 +02:00
x11 Fix up some documentation issues 2010-08-16 17:38:23 -04:00
abicheck.sh Don't include __bss_start, _edata and _end symbols in the abichecks 2010-05-30 02:26:32 -04:00
COPYING
gdk.c [annotations] Add allow-none 2010-02-19 17:57:51 -02:00
gdk.h
gdk.symbols API: Add gdk_window_get_background_pattern() 2010-08-16 20:01:49 +02:00
gdkapplaunchcontext.c [annotations] Add allow-none 2010-02-19 17:57:51 -02:00
gdkapplaunchcontext.h
gdkcairo.c Revert "Implement GdkRegion in terms of cairo_region_t" 2010-05-26 09:25:55 +02:00
gdkcairo.h Fix a typo 2009-09-04 23:27:37 -04:00
gdkcolor.c Merge in Gdk-custom.c introspection annotations 2009-12-16 17:22:01 -02:00
gdkcolor.h Seal gdk 2010-05-27 16:25:54 +02:00
gdkconfig.h.win32
gdkcursor.c Add gdk_cursor_get_cursor_type 2010-07-25 12:32:38 +12:00
gdkcursor.h Add gdk_cursor_get_cursor_type 2010-07-25 12:32:38 +12:00
gdkdisplay.c Fix up some documentation issues 2010-08-16 17:38:23 -04:00
gdkdisplay.h Add gdk_display_is_closed 2010-08-07 23:11:42 +12:00
gdkdisplaymanager.c Annotate gdk_display_manager_list_displays return value 2010-07-12 12:28:48 -04:00
gdkdisplaymanager.h
gdkdnd.c Add a missing accessor for GdkDragContext->source_window. 2010-06-10 16:12:34 +02:00
gdkdnd.h Add a missing accessor for GdkDragContext->source_window. 2010-06-10 16:12:34 +02:00
gdkdraw.c gdk: Deprecate all drawing functions 2010-08-07 15:35:51 +02:00
gdkdrawable.h gdk: Deprecate all drawing functions 2010-08-07 15:35:51 +02:00
gdkenumtypes.c.template
gdkenumtypes.h.template
gdkevents.c [gdkevents] Add annotations for GdkEvent getters. 2010-06-08 00:05:58 +02:00
gdkevents.h Deprecate gdk_event_get_graphics exposes 2009-09-09 09:00:15 -04:00
gdkfont.c [docs] Add missing "Deprecated: 2.x" to the api doc comments 2010-01-11 06:25:59 +01:00
gdkfont.h
gdkgc.c Deprecated all GdkGC functions 2010-08-07 22:08:21 +02:00
gdkgc.h Deprecated all GdkGC functions 2010-08-07 22:08:21 +02:00
gdkglobals.c Add support for enabling only native windows 2009-08-24 15:22:29 +02:00
gdki18n.h
gdkimage.c Deprecate all of GdkImage 2010-08-07 22:17:43 +02:00
gdkimage.h Deprecate all of GdkImage 2010-08-07 22:17:43 +02:00
gdkinput.h Add gdk_device_get_n_axes 2010-07-25 12:32:43 +12:00
gdkinternals.h API: Add gdk_window_get_background_pattern() 2010-08-16 20:01:49 +02:00
gdkintl.h
gdkkeynames.c
gdkkeys.c Merge in Gdk-custom.c introspection annotations 2009-12-16 17:22:01 -02:00
gdkkeys.h Seal gdk 2010-05-27 16:25:54 +02:00
gdkkeysyms-update.pl Avoid duplicate keysyms, ignore mispelled one 2009-09-10 10:16:44 +01:00
gdkkeysyms.h Avoid duplicate keysyms, ignore mispelled one 2009-09-10 10:16:44 +01:00
gdkkeyuni.c
gdkmarshalers.list Add signals for offscreen window embedding 2009-06-08 19:39:06 +02:00
gdkmedialib.c Minor fix for GTK+ mediaLib code. 2009-04-29 18:52:32 -05:00
gdkmedialib.h
gdkoffscreenwindow.c Revert "Deprecate the GdkRegion API" 2010-05-26 09:25:35 +02:00
gdkpango.c Revert "Deprecate the GdkRegion API" 2010-05-26 09:25:35 +02:00
gdkpango.h
gdkpixbuf-drawable.c Make GTK+ build against an external gdk-pixbuf 2010-06-26 02:29:29 -04:00
gdkpixbuf-render.c Do not return values from a function returning void 2010-07-26 11:58:23 +02:00
gdkpixbuf.h
gdkpixmap.c pixmap: Deprecate create_from_data() constructors 2010-08-12 03:02:38 +02:00
gdkpixmap.h pixmap: Deprecate create_from_data() constructors 2010-08-12 03:02:38 +02:00
gdkpoly-generic.h
gdkpolyreg-generic.c Deprecate GdkRegion symbols that have no Cairo equivalent 2010-06-30 16:25:03 +02:00
gdkprivate.h Make public GDK_WINDOW_TYPE and GDK_WINDOW_DESTROYED use functions calls 2009-09-04 17:59:17 +02:00
gdkproperty.h
gdkrectangle.c Annotate gdk_rectangle_intersect 2010-07-28 16:53:14 +02:00
gdkregion-generic.c gdk: Undeprecate gdk_region_xor() 2010-08-10 18:26:12 +02:00
gdkregion-generic.h
gdkregion.h gdk: Undeprecate gdk_region_xor() 2010-08-10 18:26:12 +02:00
gdkrgb.c gdk: Deprecate GdkRGB functions 2010-08-08 02:59:21 +02:00
gdkrgb.h gdk: Deprecate GdkRGB functions 2010-08-08 02:59:21 +02:00
gdkscreen.c [annotations] Add allow-none 2010-02-19 17:57:51 -02:00
gdkscreen.h Seal gdk 2010-05-27 16:25:54 +02:00
gdkselection.c [annotations] Add allow-none 2010-02-19 17:57:51 -02:00
gdkselection.h Fix the return type of gdk_selection_property_get 2009-09-02 22:50:05 -04:00
gdkspawn.h
gdktestutils.h
gdktypes.h Revert "Implement GdkRegion in terms of cairo_region_t" 2010-05-26 09:25:55 +02:00
gdkvisual.c Seal gdk 2010-05-27 16:25:54 +02:00
gdkvisual.h Seal gdk 2010-05-27 16:25:54 +02:00
gdkwindow.c API: Add gdk_window_get_background_pattern() 2010-08-16 20:01:49 +02:00
gdkwindow.h API: Add gdk_window_get_background_pattern() 2010-08-16 20:01:49 +02:00
gdkwindowimpl.c
gdkwindowimpl.h Add supports_native_bg to GdkWindowImpl 2009-11-05 12:52:12 +01:00
gen-keyname-table.pl
keyname-table.h
keynames.txt
makeenums.pl
Makefile.am Generate GdkX11-2.0.typelib (backported from HEAD) 2010-07-28 15:03:28 +02:00
makefile.msc Update mscv/win32 build 2010-08-27 20:34:23 +02:00
makegdkalias.pl
pltcheck.sh
testgdk.c Use G_STRLOC instead __LINE__ 2009-10-26 18:19:48 +01:00