soc.2008.finch: 2d2916cb: Fixed small bug when splitting frames wh...

queueram at queueram at
Sat Sep 13 14:20:30 EDT 2008

Revision: 2d2916cbec31b0177809a251dbe2cc4d533556ca
Ancestor: 2cb7dcee39eb740c1bd9306f8f488c0d107951cb
Author: queueram at
Date: 2008-09-13T18:16:50
Branch: im.pidgin.soc.2008.finch

Modified files:


Fixed small bug when splitting frames where the window wouldn't be resized
or moved correctly.

-------------- next part --------------
--- finch/libgnt/wms/tiling.c	f2fc2aaf4aea56a9fec5834b69f72bf25b2039c7
+++ finch/libgnt/wms/tiling.c	5ced04751285c54cda74f803c6403cb7cbf49408
@@ -153,8 +153,13 @@ twm_move_window_to_frame(GntWidget *win,
 static void
 twm_move_window_to_frame(GntWidget *win, TilingFrame *frame)
+	/* TODO: figure out better way to handle this
+	 * the reason resize is called twice is that the resize might not
+	 * work correctly if the width/height increases and the current x/y
+	 * restricts the width/height */
 	gnt_screen_resize_widget(win, frame->width, frame->height);
 	gnt_screen_move_widget(win, frame->x, frame->y);
+	gnt_screen_resize_widget(win, frame->width, frame->height);
 static void

More information about the Commits mailing list