From 2c51111b3ac75793d6a5379a938e7e165a2c269f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Nov 2008 16:43:50 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 8 +++++--- src/main.C | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 561bfda1..28a58288 100644 --- 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. diff --git a/src/main.C b/src/main.C index 0e70510d..3b29ba86 100644 --- a/src/main.C +++ b/src/main.C @@ -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); -- 2.34.1