CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/xrandr.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/extensions/Xrandr.h>
#include "r_area_list.h"
#include "r_area.h"
#include "r_layout.h"
#include "xrandr.h"
Include dependency graph for xrandr.c:

Go to the source code of this file.

Functions

RLayoutXrandrNewLayout (Display *disp, Window rootw)
 Use XRANDR to figure out how our monitors are laid out.

Function Documentation

◆ XrandrNewLayout()

RLayout * XrandrNewLayout ( Display * disp,
Window rootw )

Use XRANDR to figure out how our monitors are laid out.

Definition at line 22 of file xrandr.c.

References RAreaListAdd(), RAreaListNew(), RAreaNew(), RAreaPrint(), RLayoutNew(), RLayoutSetMonitorsNames(), and XrandrNewLayout().

Referenced by ctwm_main(), and XrandrNewLayout().