From 30ff4540d09ed08b38223ba6d9a702dcf79e49d4 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 25 May 2002 02:03:09 +0000 Subject: [PATCH] modify to ignore PPosition and USPosition once the window has been placed 2002-05-24 Havoc Pennington * src/window.c (meta_window_configure_request): modify to ignore PPosition and USPosition once the window has been placed --- ChangeLog | 5 +++++ src/window.c | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1960a0a68..824aebddd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-24 Havoc Pennington + + * src/window.c (meta_window_configure_request): modify to ignore + PPosition and USPosition once the window has been placed + 2002-05-24 Anders Carlsson * src/window.c: Redraw the window frame when the icon changes. diff --git a/src/window.c b/src/window.c index 0b23dcace..2319def98 100644 --- a/src/window.c +++ b/src/window.c @@ -2896,9 +2896,7 @@ meta_window_configure_request (MetaWindow *window, } else { - allow_position_change = - (window->size_hints.flags & PPosition) || - (window->size_hints.flags & USPosition); + allow_position_change = TRUE; } if (allow_position_change) @@ -2919,6 +2917,14 @@ meta_window_configure_request (MetaWindow *window, window->placed = TRUE; } } + else + { + meta_topic (META_DEBUG_GEOMETRY, + "Not allowing position change for window %s PPosition 0x%lx USPosition 0x%lx type %d\n", + window->desc, window->size_hints.flags & PPosition, + window->size_hints.flags & USPosition, + window->type); + } width = window->rect.width; height = window->rect.height;