mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-11-11 13:50:52 -05:00
dc2b6e5f39
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.
17 lines
265 B
C
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
|