From bae41624874fa032c407f4888e7db9a07f8f1d0c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 5 Sep 2013 21:23:56 +0100 Subject: [PATCH] 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 --- tools/virtual.c | 1 - 1 file changed, 1 deletion(-) 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) {