xutil.h: Add defines for valid coordinates and sizes
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
3e75e800ad
commit
2cf4ea5cd4
|
@ -28,6 +28,11 @@
|
||||||
#include "common/atoms.h"
|
#include "common/atoms.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
|
|
||||||
|
#define MAX_X11_COORDINATE INT16_MAX
|
||||||
|
#define MIN_X11_COORDINATE INT16_MIN
|
||||||
|
#define MAX_X11_SIZE UINT16_MAX
|
||||||
|
#define MIN_X11_SIZE 1
|
||||||
|
|
||||||
static inline char *
|
static inline char *
|
||||||
xutil_get_text_property_from_reply(xcb_get_property_reply_t *reply)
|
xutil_get_text_property_from_reply(xcb_get_property_reply_t *reply)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue