#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdlib.h>
#include <glib.h>
|
| static void | calc_rects (XRectangle *rects, int width, int height) |
| |
| static Bool | all_events (Display *display, XEvent *event, XPointer arg) |
| |
| static void | get_size (Display *d, Drawable draw, int *xp, int *yp, int *widthp, int *heightp) |
| |
| int | main (int argc, char **argv) |
| |
◆ all_events()
| static Bool all_events |
( |
Display * |
display, |
|
|
XEvent * |
event, |
|
|
XPointer |
arg |
|
) |
| |
|
static |
◆ calc_rects()
| static void calc_rects |
( |
XRectangle * |
rects, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ get_size()
| static void get_size |
( |
Display * |
d, |
|
|
Drawable |
draw, |
|
|
int * |
xp, |
|
|
int * |
yp, |
|
|
int * |
widthp, |
|
|
int * |
heightp |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |