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>
|
2002-05-24 Anders Carlsson <andersca@gnu.org>
|
||||||
|
|
||||||
* src/window.c: Redraw the window frame when the icon changes.
|
* 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
|
else
|
||||||
{
|
{
|
||||||
allow_position_change =
|
allow_position_change = TRUE;
|
||||||
(window->size_hints.flags & PPosition) ||
|
|
||||||
(window->size_hints.flags & USPosition);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (allow_position_change)
|
if (allow_position_change)
|
||||||
@ -2919,6 +2917,14 @@ meta_window_configure_request (MetaWindow *window,
|
|||||||
window->placed = TRUE;
|
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;
|
width = window->rect.width;
|
||||||
height = window->rect.height;
|
height = window->rect.height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user