diff options
-rw-r--r-- | src/XrrOutput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c index 0c39a31..18863bd 100644 --- a/src/XrrOutput.c +++ b/src/XrrOutput.c @@ -176,7 +176,7 @@ XRRGetOutputPrimary(Display *dpy, Window window) LockDisplay(dpy); GetReq (RRGetOutputPrimary, req); req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRGetOutputProperty; + req->randrReqType = X_RRGetOutputPrimary; req->window = window; if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) |