marco 1.29.1
Window manager
Loading...
Searching...
No Matches
test-resizing.c File Reference
View source
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdlib.h>
#include <glib.h>
Include dependency graph for test-resizing.c:

Functions

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)
 

Function Documentation

◆ all_events()

static Bool all_events ( Display *  display,
XEvent *  event,
XPointer  arg 
)
static

Referenced by main().

◆ calc_rects()

static void calc_rects ( XRectangle *  rects,
int  width,
int  height 
)
static

Referenced by main().

◆ get_size()

static void get_size ( Display *  d,
Drawable  draw,
int *  xp,
int *  yp,
int *  widthp,
int *  heightp 
)
static

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

References all_events(), calc_rects(), changes, FALSE, get_size(), NULL, screen, and TRUE.

Here is the call graph for this function: