summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-02 22:56:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-02 22:56:03 +0100
commitd54f0fa16ddb3985ace02544fc2a58926aed7115 (patch)
tree1aa36da1003cb3a10285a0e3b33730abc774fc0f /tools
parent84b66849fc005365e71a40517c192e0cd178a82b (diff)
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c2
1 files changed, 1 insertions, 1 deletions
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)