-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: b611523923f08c3012bf6ba37fd71a274c705aa6:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit b611523923f08c3012bf6ba37fd71a274c705aa6
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Nov 4 16:43:50 2008 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index 561bfda1be48986cfef9dc1a63eb44a7b06f6355..

index ..28a58288b48ee47a41ae27830c44504814c22130 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 0e70510d746a423b0dbbb2883573a3e9ace771da..

index ..3b29ba8671dd254827d2f5d74225a8f2439a1e66 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);

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:06:05 2024