mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
71552fb08d
commit
30ff4540d0
@ -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.
|
||||
|
12
src/window.c
12
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;
|
||||
|
Loading…
Reference in New Issue
Block a user