xcb: increase XCOORD_MAX to 32767

Align with int16_t in xcb_create_window() and xcb_get_geometry_reply_t.

Fixes: QTBUG-85275
Pick-to: 5.15
Change-Id: Ibbc0fab6b3d725a96ac4545857a4f04b026c4175
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Liang Qi 2020-06-29 13:51:24 +02:00
parent 16a5206c78
commit b92a41ea21

View File

@ -84,7 +84,7 @@
#undef register
#endif
#define XCOORD_MAX 16383
#define XCOORD_MAX 32767
enum {
defaultWindowWidth = 160,
defaultWindowHeight = 160