Don't apply onscreen constraints to full screen windows. Fix for #110048

2003-05-01  Rob Adams  <robadams@ucla.edu>

	* src/constraints.c (constraint_onscreen_applies_func): Don't
	apply onscreen constraints to full screen windows.  Fix for
	#110048
This commit is contained in:
Rob Adams 2003-05-02 07:32:02 +00:00 committed by Rob Adams
parent 9569096991
commit a8f9e2e919
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-05-01 Rob Adams <robadams@ucla.edu>
* src/constraints.c (constraint_onscreen_applies_func): Don't
apply onscreen constraints to full screen windows. Fix for
#110048
2003-04-29 Havoc Pennington <hp@redhat.com> 2003-04-29 Havoc Pennington <hp@redhat.com>
* src/bell.h: include Xlib.h before XKBlib.h which is required on * src/bell.h: include Xlib.h before XKBlib.h which is required on

View File

@ -338,6 +338,7 @@ static gboolean
constraint_onscreen_applies_func (MetaWindow *window) constraint_onscreen_applies_func (MetaWindow *window)
{ {
return return
!window->fullscreen &&
window->type != META_WINDOW_DESKTOP && window->type != META_WINDOW_DESKTOP &&
window->type != META_WINDOW_DOCK; window->type != META_WINDOW_DOCK;
} }