From d54f0fa16ddb3985ace02544fc2a58926aed7115 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 2 Sep 2013 22:56:03 +0100 Subject: [PATCH] intel-virtual-output: Remove the stray 1 The 'output-is-changed' flags was accidentally initialised to 01 rather than 0, causing all attached outputs to be considered to have changed everytime. Signed-off-by: Chris Wilson --- tools/virtual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virtual.c b/tools/virtual.c index 14386696..c30d9a6f 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -812,7 +812,7 @@ static void context_update(struct context *ctx) XRROutputInfo *o; XRRCrtcInfo *c; RRMode mode = 0; - int changed = 0l; + int changed = 0; o = XRRGetOutputInfo(dpy, res, output->rr_output); if (o == NULL)