From: <sa...@us...> - 2006-09-26 20:07:07
|
Revision: 17361 http://svn.sourceforge.net/gaim/?rev=17361&view=rev Author: sadrul Date: 2006-09-26 13:07:02 -0700 (Tue, 26 Sep 2006) Log Message: ----------- Fix the highlighting for move/resize of windows when shadows are turned on. Modified Paths: -------------- trunk/console/libgnt/gntmain.c Modified: trunk/console/libgnt/gntmain.c =================================================================== --- trunk/console/libgnt/gntmain.c 2006-09-26 20:01:29 UTC (rev 17360) +++ trunk/console/libgnt/gntmain.c 2006-09-26 20:07:02 UTC (rev 17361) @@ -744,6 +744,11 @@ d = win->window; gnt_widget_get_size(win, &w, &h); + if (gnt_widget_has_shadow(win)) { + --w; + --h; + } + /* the top and bottom */ for (i = 0; i < w; i += reverse_char(d, 0, i, set)); for (i = 0; i < w; i += reverse_char(d, h-1, i, set)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |