modify to ignore PPosition and USPosition once the window has been placed

2002-05-24  Havoc Pennington  <hp@pobox.com>

	* src/window.c (meta_window_configure_request): modify to ignore
	PPosition and USPosition once the window has been placed
This commit is contained in:
Havoc Pennington 2002-05-25 02:03:09 +00:00 committed by Havoc Pennington
parent 71552fb08d
commit 30ff4540d0
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-05-24 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_configure_request): modify to ignore
PPosition and USPosition once the window has been placed
2002-05-24 Anders Carlsson <andersca@gnu.org>
* src/window.c: Redraw the window frame when the icon changes.

View File

@ -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;