mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05: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>
|
||||
|
||||
* src/window.c (meta_window_configure_request): Honor USPosition
|
||||
|
@ -1616,7 +1616,9 @@ meta_window_get_gravity_position (MetaWindow *window,
|
||||
w = window->rect.width;
|
||||
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;
|
||||
else
|
||||
frame_extents = window->frame->rect;
|
||||
|
Loading…
Reference in New Issue
Block a user