*** empty log message ***
authorroot <root>
Fri, 4 Jan 2008 19:12:20 +0000 (19:12 +0000)
committerroot <root>
Fri, 4 Jan 2008 19:12:20 +0000 (19:12 +0000)
Changes
src/main.C

diff --git a/Changes b/Changes
index bb07eb1752da904bafd4fd3140a53307189661cf..7fdc4eece08c2b68cc4d54ebebef3b97e7f34519 100644 (file)
--- a/Changes
+++ b/Changes
@@ -17,6 +17,9 @@ WISH: load system-wide config file even if we don't have one
 WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts
 
+       - continuously update transparency while moving/resizing now.
+       - scrollbar code cleanups.
+
 8.9  Mon Dec 24 07:51:40 CET 2007
        - fix the issue where urxvtd would not immediately close a window
           when the command exited but only on the next X event.
index 160129280c6d633534bc11b96695c7784bf56d5f..d47eee13ca8af0c30605540f4ae98ee0e3299c88 100644 (file)
@@ -1713,34 +1713,30 @@ rxvt_term::trace_update_background (const char *file, int line)
 void
 rxvt_term::update_background ()
 {
+  if (update_background_ev.is_active ())
+    return;
+
   bgPixmap.invalidate ();
 
-  /* no chance of real time refresh if we are blurring! */
-  if (bgPixmap.invalid_since + 0.50 < ev::now ()
-      && !(bgPixmap.flags & bgPixmap_t::blurNeeded))
-    {
-      update_background_ev.stop ();
-      bgPixmap.render ();
-    }
-  else
-    {
-      ev_tstamp refresh;
+  ev_tstamp refresh;
 
-      if (!bgPixmap.need_client_side_rendering ())
-        refresh = .05;
-      else if (bgPixmap.flags & bgPixmap_t::blurNeeded)
-        refresh = .20; /* very slow !!! */
-      else
-        refresh = .07;
+  if (!bgPixmap.need_client_side_rendering ())
+    refresh = .05;
+  else if (bgPixmap.flags & bgPixmap_t::blurNeeded)
+    /* no chance of real time refresh if we are blurring! */
+    refresh = .50;
+  else
+    refresh = .07;
 
-      update_background_ev.start (refresh);
-    }
+  update_background_ev.start (refresh);
 }
 
 void
 rxvt_term::update_background_cb (ev::timer &w, int revents)
 {
   make_current ();
+
+  update_background_ev.stop ();
   bgPixmap.render ();
   refresh_check ();
 }