summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS5
-rw-r--r--src/compositor.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e8063b319..9e77453e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-13 olivier
+
+ * src/compositor.c: Reduce repaint timeout in the compositor
+ (Bug #5080)
+
2009-02-24 olivier
* settings-dialogs/xfwm4-settings.c,
diff --git a/NEWS b/NEWS
index a4c5d57d4..47939def8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+4.6.1
+=====
+
+- Reduce repaint timeout in the compositor (Bug #5080)
+
4.6.0
=====
diff --git a/src/compositor.c b/src/compositor.c
index 1e148d1fa..4c30916fa 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -86,7 +86,7 @@
#define WIN_IS_REDIRECTED(cw) (cw->redirected)
/* Set TIMEOUT_REPAINT to 0 to disable timeout repaint */
-#define TIMEOUT_REPAINT 20 /* (1/50 sec.) */
+#define TIMEOUT_REPAINT 10 /* msec.) */
typedef struct _CWindow CWindow;
struct _CWindow
@@ -1464,7 +1464,7 @@ repair_display (DisplayInfo *display_info)
for (screens = display_info->screens; screens; screens = g_slist_next (screens))
{
- add_repair ((ScreenInfo *) screens->data);
+ repair_screen ((ScreenInfo *) screens->data);
}
}
#endif