screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #45321] Visible content get messed up after window r


From: Sudaraka Wijesinghe
Subject: [screen-devel] [bug #45321] Visible content get messed up after window resize
Date: Mon, 15 Jun 2015 07:48:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #1, bug #45321 (project screen):

For whats it worth, adding the following line removed in the commit
9dc8d7c2008c3c698c2e018c3ec123e6dd622f5e to current HEAD seem to fix the
problem I have. But I don't know what other consequences ir might have as I
don't know ins and outs of the code.

diff --git a/src/resize.c b/src/resize.c
index d48be5f..f8e771a 100644
--- a/src/resize.c
+++ b/src/resize.c
@@ -534,6 +534,7 @@ int wi;
   int i;
   struct mline *ml;
 
+  wi = ((wi + 1) + 255) & ~255;
   if (wi > MAXWIDTH)
          wi = MAXWIDTH;
   if (wi <= maxwidth)



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]