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>
This commit is contained in:
parent
d9a48bd0a3
commit
bae4162487
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue