When passing frame geometry to meta_window_constrain, send null if no

2003-03-30  Rob Adams  <robadams@ucla.edu>

	* src/window.c (meta_window_move_resize_internal): When passing
	frame geometry to meta_window_constrain, send null if no frame.
	Possible fix for #109039.
This commit is contained in:
Rob Adams 2003-03-30 10:52:07 +00:00 committed by Rob Adams
parent 0fee2ac499
commit 72a7f57e5d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-03-30 Rob Adams <robadams@ucla.edu>
* src/window.c (meta_window_move_resize_internal): When passing
frame geometry to meta_window_constrain, send null if no frame.
Possible fix for #109039.
2003-03-29 Havoc Pennington <hp@pobox.com>
* src/wm-tester/test-gravity.c (main): add --noframes option for

View File

@ -2253,7 +2253,7 @@ meta_window_move_resize_internal (MetaWindow *window,
&x_delta, &y_delta);
meta_window_constrain (window,
&fgeom,
window->frame ? &fgeom : NULL,
&old_rect,
root_x_nw - old_rect.x,
root_y_nw - old_rect.y,