diff options
author | Sven Gothel <[email protected]> | 2012-09-29 04:41:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-09-29 04:41:47 +0200 |
commit | 43891be36e8485353ac74f329fd2f7438303a846 (patch) | |
tree | bd85f1bfdf2b31f21e03a5f052371aa25c540111 /src/test/com | |
parent | e0904a65bcf87ea0fd41d76cc1af7ad29daaefb5 (diff) |
Cache XineramaIsEnabled(dpy) per display-name in X11Util minimize triggering ATI driver bug of sporadic XCB errors and to reduce server roundtrips.
Enhances commit: e4176f4e76f519b3599ad557210def3d35266e7b
X11Util.XineramaIsEnabled(dpy) hash maps the Xinerama enable result to the dpy-name.
Minimize triggering ATI driver bug of sporadic XCB errors:
Our multithreading code somehow triggers an _XReply in XQueryExtension beside other functions,
which fails the XCB assertion:
../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
This only appears w/ ATI driver and is probably due to a race condition in the driver (?).
This change also reduces server roundtrips / querying time for the cost of 1 hash-map.
Diffstat (limited to 'src/test/com')
0 files changed, 0 insertions, 0 deletions