1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00
i3lock-color/xinerama.h
Michael Stapelberg dc2b6e5f39 Use (void) instead of () for functions without args (Thanks fernandotcl)
See also:
http://article.gmane.org/gmane.linux.kernel/1268792

The C compiler will handle (void) as "no arguments" and () as "variadic
function" (equivalent to (...)) which might lead to subtle errors, such
as the one which was fixed with commit 0ea64ae4.
2012-04-01 12:28:28 +02:00

17 lines
265 B
C

#ifndef _XINERAMA_H
#define _XINERAMA_H
typedef struct Rect {
int16_t x;
int16_t y;
uint16_t width;
uint16_t height;
} Rect;
extern int xr_screens;
extern Rect *xr_resolutions;
void xinerama_init(void);
void xinerama_query_screens(void);
#endif