summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index dd938a0e..e522264a 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -931,7 +931,8 @@ static int context_update(struct context *ctx)
return 0;
DBG(("%s timestamp %ld (last %ld)\n", DisplayString(dpy), res->timestamp, ctx->display->timestamp));
- if (res->timestamp == ctx->display->timestamp) {
+ if (res->timestamp == ctx->display->timestamp &&
+ res->timestamp != res->configTimestamp) { /* mutter be damned */
XRRFreeScreenResources(res);
return 0;
}