Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 150822 Details for
Bug 233735
Xinerama: XineramaQueryScreens() returns only the first screen
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
The test program mentioned in the report
xinerama.c (text/plain), 910 bytes, created by
Jan Andres
on 2007-03-24 10:37:55 UTC
(
hide
)
Description:
The test program mentioned in the report
Filename:
MIME Type:
Creator:
Jan Andres
Created:
2007-03-24 10:37:55 UTC
Size:
910 bytes
patch
obsolete
>#include <stdio.h> >#include <X11/Xlib.h> >#include <X11/extensions/Xinerama.h> > >int >main (int argc, char **argv) >{ > Display *d; > int i, n; > > d = XOpenDisplay (NULL); > if (!d) { > printf ("display is null!\n"); > return 1; > } > > n = ScreenCount (d); > printf ("screen count: %d; default screen: %d\n", n, DefaultScreen (d)); > for (i = 0; i < n; i++) > printf ("[screen %d] width=%d height=%d\n", i, DisplayWidth (d, i), DisplayHeight (d, i)); > > if (XineramaIsActive (d)) { > printf ("Xinerama is active.\n"); > XineramaScreenInfo *screens; > int num_screens; > > screens = XineramaQueryScreens (d, &num_screens); > printf ("Xinerama: found %d screens\n", num_screens); > > for (i = 0; i < num_screens; i++) > printf ("[screen %d] x_org=%hd y_org=%hd width=%hd height=%hd\n", i, screens[i].x_org, screens[i].y_org, screens[i].width, screens[i].height); > > } else > printf ("Xinerama is NOT active.\n"); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 233735
: 150822 |
150823