mirror of
https://github.com/brl/mutter.git
synced 2025-04-27 12:19:38 +00:00
fix for StaticGravity
2001-08-17 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_get_gravity_position): fix for StaticGravity
This commit is contained in:
parent
6768aefb9d
commit
505282697a
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-17 Havoc Pennington <hp@redhat.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_get_gravity_position): fix for
|
||||||
|
StaticGravity
|
||||||
|
|
||||||
2001-08-09 Havoc Pennington <hp@pobox.com>
|
2001-08-09 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/window.c (meta_window_configure_request): Honor USPosition
|
* src/window.c (meta_window_configure_request): Honor USPosition
|
||||||
|
@ -1616,7 +1616,9 @@ meta_window_get_gravity_position (MetaWindow *window,
|
|||||||
w = window->rect.width;
|
w = window->rect.width;
|
||||||
h = window->rect.height;
|
h = window->rect.height;
|
||||||
|
|
||||||
if (window->frame == NULL)
|
if (window->frame == NULL ||
|
||||||
|
/* ignore frame for static gravity */
|
||||||
|
window->size_hints.win_gravity == StaticGravity)
|
||||||
frame_extents = window->rect;
|
frame_extents = window->rect;
|
||||||
else
|
else
|
||||||
frame_extents = window->frame->rect;
|
frame_extents = window->frame->rect;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user