diff options
| author | Uli Schlachter <psychon@znc.in> | 2012-01-28 22:47:30 +0100 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-31 04:55:50 +0100 |
| commit | 98d34beb03018f9a0dcc371f9acabc40d9fdacce (patch) | |
| tree | fa075afcf2b2a72d1ef4f3144505593b60dbacf1 /doc/src/snippets/code/doc_src_objecttrees.cpp | |
| parent | 64663146259c91038dffea325bd8287fb2a26fdb (diff) | |
xcb: Check for SYNC extension before using it
If we call any xcb_sync_*() function, libxcb will have to figure out
SYNC's major number. However, if that fails because the SYNC extension
is not available, xcb will disconnect from the server. Obviously,
that's not what we want and must be avoided.
Change-Id: I9a1032e1cfac074a52bafcb0772304bfd423e770
Signed-off-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_objecttrees.cpp')
0 files changed, 0 insertions, 0 deletions
