diff options
author | Keith Packard <keithp@keithp.com> | 2009-01-30 20:12:43 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-01-30 20:12:43 -0800 |
commit | 70d641c6d170cda44856579dfdcb42d3bb1f8221 (patch) | |
tree | bdd7345f5f7d729ec8c47493f49b675c07ca527a /src | |
parent | bf284b043d4c5688da2207647126b095f8c2b0cd (diff) |
Send X_RRGetOutputPrimary when making an X_RRGetOutputPrimary request
Using X_RRGetOutputProperty does not yield success here.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-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)) |