Bug 574794 - Can not resize shaped windows on Windows
2009-03-11 Tor Lillqvist <tml@iki.fi> Bug 574794 - Can not resize shaped windows on Windows * gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling WM_WINDOWPOSCHANGED, don't do anything if the position and size hasn't changed. I am not exactly sure I understand why this helps this particular bug. svn path=/trunk/; revision=22511
This commit is contained in:
committed by
Tor Lillqvist
parent
8556432e16
commit
703a18c25f
@ -1,3 +1,12 @@
|
|||||||
|
2009-03-11 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
Bug 574794 - Can not resize shaped windows on Windows
|
||||||
|
|
||||||
|
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
|
||||||
|
WM_WINDOWPOSCHANGED, don't do anything if the position and size
|
||||||
|
hasn't changed. I am not exactly sure I understand why this helps
|
||||||
|
this particular bug.
|
||||||
|
|
||||||
2009-03-10 Matthias Clasen <mclasen@redhat.com>
|
2009-03-10 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 574561 – gtk_style_get "shadows" g_object_get
|
Bug 574561 – gtk_style_get "shadows" g_object_get
|
||||||
|
|||||||
@ -3262,6 +3262,12 @@ gdk_event_translate (MSG *msg,
|
|||||||
buf))))),
|
buf))))),
|
||||||
windowpos->cx, windowpos->cy, windowpos->x, windowpos->y)));
|
windowpos->cx, windowpos->cy, windowpos->x, windowpos->y)));
|
||||||
|
|
||||||
|
/* If position and size haven't changed, don't do anything */
|
||||||
|
if (_sizemove_in_progress &&
|
||||||
|
(windowpos->flags & SWP_NOMOVE) &&
|
||||||
|
(windowpos->flags & SWP_NOSIZE))
|
||||||
|
break;
|
||||||
|
|
||||||
/* Once we've entered the moving or sizing modal loop, we won't
|
/* Once we've entered the moving or sizing modal loop, we won't
|
||||||
* return to the main loop until we're done sizing or moving.
|
* return to the main loop until we're done sizing or moving.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user