CTWM
Loading...
Searching...
No Matches
Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/xparsegeometry.h File Reference
#include "r_structs.h"
Include dependency graph for xparsegeometry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int RLayoutXParseGeometry (RLayout *layout, const char *geometry, int *x, int *y, unsigned int *width, unsigned int *height)
 Parse an X Geometry out to get the positions and sizes.
 

Function Documentation

◆ RLayoutXParseGeometry()

int RLayoutXParseGeometry ( RLayout * layout,
const char * geometry,
int * x,
int * y,
unsigned int * width,
unsigned int * height )

Parse an X Geometry out to get the positions and sizes.

This generally wraps and replaces our uses of XParseGeometry in order to allow positioning relative to a XRANDR output name. This allows specifying a geometry relative to a particular monitor, rather than on the whole composite multi-screen output meta-display.

Definition at line 25 of file xparsegeometry.c.

References PlaceX, RAreaIsValid(), RLayoutBigArea(), RLayoutGetAreaByName(), x, and y.

Referenced by AddIconRegion(), AddWindow(), AddWindowRegion(), CreateIconManagers(), createWindowBoxes(), CreateWorkSpaceManagerWindow(), f_moveresize_impl(), and PackIconManager().