*** empty log message ***
authorroot <root>
Tue, 4 Nov 2008 16:43:50 +0000 (16:43 +0000)
committerroot <root>
Tue, 4 Nov 2008 16:43:50 +0000 (16:43 +0000)
Changes
src/main.C

diff --git a/Changes b/Changes
index 561bfda..28a5828 100644 (file)
--- a/Changes
+++ b/Changes
@@ -21,9 +21,8 @@ DUMB: support tex fonts
 
 TODO:   /*TODO: the xlceararea/xfillrectangle below don't take scroll offste into account, ask mikachu for details */
 
-TODO: investgate wm resize race: while sleep 0.001; do printf "\033[?30l";sleep 0.001;printf "\033[?30h";done
-TODO: investigate miroslav patches
 TODO: cursor over overlays, when focus change?
+TODO: tput reset, reset more stuff/mouse reporting
        - the aterm code now frees the as visual and image manager objects
           when a window was closed.
         - do not (wrongly) adjust the virtual line length inside
@@ -46,7 +45,10 @@ TODO: cursor over overlays, when focus change?
         - try to work around linux first breaking sched_yield and now breaking
           the only known workaround.
         - new option -icon to set _NET_WM_ICON (based on patch by Frank Schmitt).
-        - intiialise the as visual only on demand, instead of unconditionally.
+        - initialise the as visual only on demand, instead of unconditionally,
+          to save memory in the common case of not using visual gimmicks.
+        - try to work around a race between urxvt and wm's on programmatic
+          resizes by temporarily disabling size hints.
 
 9.05 Sun Jun 15 20:09:20 CEST 2008
        - new option --cd/chdir to set the starting working directory.
index 0e70510..3b29ba8 100644 (file)
@@ -915,6 +915,7 @@ rxvt_term::resize_all_windows (unsigned int newwidth, unsigned int newheight, in
 
   bool set_hint = !HOOK_INVOKE ((this, HOOK_RESIZE_ALL_WINDOWS, DT_INT, newwidth, DT_INT, newheight, DT_END));
 
+  // to avoid races between us and the wm, we clear the incremental size hints around the xresizewindow
   if (set_hint)
     {
       szHint.flags &= ~(PBaseSize | PResizeInc);