summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-05 21:23:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-05 21:23:56 +0100
commitbae41624874fa032c407f4888e7db9a07f8f1d0c (patch)
treebef00e3bf87037fc2ca6efb27582f58469e759c5
parentd9a48bd0a3cd3ca99b29a4038ea16a87771bfe31 (diff)
intel-virtual-output: We don't need to enable the timer for reconfigure
The timer will be enabled if a reconfiguration actually takes place and we mark the damaged region to be redrawn. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--tools/virtual.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 23157d56..b5959e1e 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -2579,7 +2579,6 @@ int main(int argc, char **argv)
DBG(("%s screen changed (reconfigure pending? %d)\n",
DisplayString(ctx.display->dpy), reconfigure));
reconfigure = 1;
- context_enable_timer(&ctx);
} else if (e.type == PropertyNotify) {
XPropertyEvent *pe = (XPropertyEvent *)&e;
if (pe->atom == ctx.singleton) {