mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 16:14:51 +00:00
don't run constrain_placement on windows we allow to go anywhere (docks,
2002-06-09 Havoc Pennington <hp@pobox.com> * src/place.c (meta_window_place): don't run constrain_placement on windows we allow to go anywhere (docks, etc.). Fixes positioning of panel windows in certain cases.
This commit is contained in:

committed by
Havoc Pennington

parent
9bad861649
commit
8057a2f68a
10
src/window.c
10
src/window.c
@@ -5108,12 +5108,12 @@ constrain_size (MetaWindow *window,
|
||||
}
|
||||
|
||||
static void
|
||||
constrain_position (MetaWindow *window,
|
||||
constrain_position (MetaWindow *window,
|
||||
MetaFrameGeometry *fgeom,
|
||||
int x,
|
||||
int y,
|
||||
int *new_x,
|
||||
int *new_y)
|
||||
int x,
|
||||
int y,
|
||||
int *new_x,
|
||||
int *new_y)
|
||||
{
|
||||
/* frame member variables should NEVER be used in here, only
|
||||
* MetaFrameGeometry
|
||||
|
Reference in New Issue
Block a user