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:
Havoc Pennington
2002-06-09 18:17:02 +00:00
committed by Havoc Pennington
parent 9bad861649
commit 8057a2f68a
3 changed files with 36 additions and 29 deletions

View File

@@ -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