Mercurial > pidgin
comparison finch/libgnt/gntwidget.c @ 21304:add12afc3140
Fix size calculation when shadow is enabled.
Also, when the terminal is resized, the SIGWINCH callback needs to refresh
after endwin to get the correct new size of the terminal.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 10 Nov 2007 23:48:57 +0000 |
parents | 6de09629f091 |
children | d270b6aebabc |
comparison
equal
deleted
inserted
replaced
21303:a9482e431e43 | 21304:add12afc3140 |
---|---|
464 | 464 |
465 if (width) | 465 if (width) |
466 *width = wid->priv.width + shadow; | 466 *width = wid->priv.width + shadow; |
467 if (height) | 467 if (height) |
468 *height = wid->priv.height + shadow; | 468 *height = wid->priv.height + shadow; |
469 | |
470 } | 469 } |
471 | 470 |
472 static void | 471 static void |
473 init_widget(GntWidget *widget) | 472 init_widget(GntWidget *widget) |
474 { | 473 { |