comparison console/libgnt/gntmain.c @ 14627:134f4d999ff0

[gaim-migrate @ 17361] Fix the highlighting for move/resize of windows when shadows are turned on. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 26 Sep 2006 20:07:02 +0000
parents d1935057d82c
children fa285d018c71
comparison
equal deleted inserted replaced
14626:d1935057d82c 14627:134f4d999ff0
742 return; 742 return;
743 743
744 d = win->window; 744 d = win->window;
745 gnt_widget_get_size(win, &w, &h); 745 gnt_widget_get_size(win, &w, &h);
746 746
747 if (gnt_widget_has_shadow(win)) {
748 --w;
749 --h;
750 }
751
747 /* the top and bottom */ 752 /* the top and bottom */
748 for (i = 0; i < w; i += reverse_char(d, 0, i, set)); 753 for (i = 0; i < w; i += reverse_char(d, 0, i, set));
749 for (i = 0; i < w; i += reverse_char(d, h-1, i, set)); 754 for (i = 0; i < w; i += reverse_char(d, h-1, i, set));
750 755
751 /* the left and right */ 756 /* the left and right */