diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-02-15 15:30:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-02-15 15:30:59 -0800 |
commit | 42299b08106445e938e47392da5b3c26f650413a (patch) | |
tree | 2034ca5ae9d142a57300571a73cfe6513579dc41 | |
parent | 5006597a1e440bde27b652bb1754f8ad8e4f39f8 (diff) |
Rename "mask" variable to "rr_mask" in randr setup code.
Fixes gcc warning:
xev.c: In function `main':
xev.c:1129: warning: declaration of 'mask' shadows a previous local
xev.c:923: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xev.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } } |