summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xev.c b/xev.c
index 0a4cb01..9f9111a 100644
--- a/xev.c
+++ b/xev.c
@@ -1126,13 +1126,13 @@ main (int argc, char **argv)
int rr_major, rr_minor;
if (XRRQueryVersion (dpy, &rr_major, &rr_minor)) {
- int mask = RRScreenChangeNotifyMask;
+ int rr_mask = RRScreenChangeNotifyMask;
if (rr_major > 1
|| (rr_major == 1 && rr_minor >= 2))
- mask |= RRCrtcChangeNotifyMask | RROutputChangeNotifyMask |
- RROutputPropertyNotifyMask;
- XRRSelectInput (dpy, w, mask);
+ rr_mask |= RRCrtcChangeNotifyMask | RROutputChangeNotifyMask |
+ RROutputPropertyNotifyMask;
+ XRRSelectInput (dpy, w, rr_mask);
}
}