changeset 15978:2a82bc8d57f7

More fixes for resizing when shadow is turned on.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 01 Apr 2007 08:05:59 +0000
parents 499ed587543a
children 2c81ebc7bf0b f61113b26032
files finch/libgnt/gntwm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Sun Apr 01 03:47:50 2007 +0000
+++ b/finch/libgnt/gntwm.c	Sun Apr 01 08:05:59 2007 +0000
@@ -1359,7 +1359,7 @@
 	maxy = getmaxy(stdscr) - 1 - shadow;
 	height = MIN(height, maxy);
 	width = MIN(width, maxx);
-	wresize(node->window, height + shadow, width + shadow);
+	wresize(node->window, height, width);
 	replace_panel(node->panel, node->window);
 
 	g_signal_emit(wm, signals[SIG_RESIZED], 0, node);