ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.313 by root, Tue Nov 4 16:43:50 2008 UTC vs.
Revision 1.314 by root, Wed Nov 5 12:28:15 2008 UTC

969#else 969#else
970 XResizeWindow (dpy, parent[0], szHint.width, szHint.height); 970 XResizeWindow (dpy, parent[0], szHint.width, szHint.height);
971#endif 971#endif
972 } 972 }
973 973
974 if (set_hint)
975 XSetWMNormalHints (dpy, parent[0], &szHint);
976
974 fix_screen = ncol != prev_ncol || nrow != prev_nrow; 977 fix_screen = ncol != prev_ncol || nrow != prev_nrow;
975 978
976 if (fix_screen || newwidth != old_width || newheight != old_height) 979 if (fix_screen || newwidth != old_width || newheight != old_height)
977 { 980 {
978 if (scrollBar.state) 981 if (scrollBar.state)
984 987
985#ifdef HAVE_BG_PIXMAP 988#ifdef HAVE_BG_PIXMAP
986 if (bgPixmap.window_size_sensitive ()) 989 if (bgPixmap.window_size_sensitive ())
987 update_background (); 990 update_background ();
988#endif 991#endif
989
990 scr_clear ();
991 } 992 }
992
993 if (set_hint)
994 XSetWMNormalHints (dpy, parent[0], &szHint);
995 993
996 if (fix_screen || old_height == 0) 994 if (fix_screen || old_height == 0)
995 {
997 scr_reset (); 996 scr_reset ();
997 }
998 998
999 // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version 999 // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version
1000 //scr_touch (false); 1000 //scr_touch (false);
1001 1001
1002#ifdef HAVE_BG_PIXMAP 1002#ifdef HAVE_BG_PIXMAP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines