support xcb-icccm 3.8
this is a rather crude hack, but whatever. Change-Id: I3fa363572842b207202d4aac8526951c0e16bf5b Reviewed-on: http://codereview.qt.nokia.com/2602 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>bb10
parent
4334d07f52
commit
7ce8491280
|
|
@ -49,7 +49,17 @@
|
|||
#include "qdri2context.h"
|
||||
#endif
|
||||
|
||||
#define class class_name // Yeah, in 2011 ...
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#undef class
|
||||
|
||||
// xcb-icccm 3.8 support
|
||||
#ifdef XCB_ICCCM_NUM_WM_SIZE_HINTS_ELEMENTS
|
||||
#define xcb_wm_hints_t xcb_icccm_wm_hints_t
|
||||
#define xcb_wm_hints_set_iconic xcb_icccm_wm_hints_set_iconic
|
||||
#define xcb_wm_hints_set_normal xcb_icccm_wm_hints_set_normal
|
||||
#define xcb_set_wm_hints xcb_icccm_set_wm_hints
|
||||
#endif
|
||||
|
||||
#include <private/qapplication_p.h>
|
||||
#include <private/qwindowsurface_p.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue