rofi 1.7.5
_workarea Struct Reference

#include <xcb.h>

Collaboration diagram for _workarea:
Collaboration graph

Data Fields

int monitor_id
 
int primary
 
int x
 
int y
 
int w
 
int h
 
int mw
 
int mh
 
char * name
 
struct _workareanext
 

Detailed Description

Structure describing a workarea/monitor.

Definition at line 94 of file xcb.h.

Field Documentation

◆ h

◆ mh

int _workarea::mh

Definition at line 107 of file xcb.h.

Referenced by x11_get_monitor_from_output(), and x11_workarea_fix_rotation().

◆ monitor_id

int _workarea::monitor_id

numeric monitor id.

Definition at line 96 of file xcb.h.

Referenced by monitor_get_dimension(), rofi_theme_parse_process_conditionals_int(), and x11_build_monitor_layout_xinerama().

◆ mw

int _workarea::mw

Definition at line 107 of file xcb.h.

Referenced by x11_get_monitor_from_output(), and x11_workarea_fix_rotation().

◆ name

char* _workarea::name

Output name of the monitor, e.g. eDP1 or VGA-1

Definition at line 109 of file xcb.h.

Referenced by x11_get_monitor_from_output(), and x11_monitor_free().

◆ next

struct _workarea* _workarea::next

Pointer to next monitor

Definition at line 111 of file xcb.h.

Referenced by monitor_get_dimension(), x11_build_monitor_layout(), x11_build_monitor_layout_xinerama(), and x11_monitors_free().

◆ primary

int _workarea::primary

if monitor is set as primary monitor.

Definition at line 98 of file xcb.h.

Referenced by x11_build_monitor_layout().

◆ w

◆ x

int _workarea::x

Horizontal location (in pixels) of the monitor.

Definition at line 100 of file xcb.h.

Referenced by monitor_active_from_id(), monitor_active_from_id_focused(), monitor_active_from_winid(), x11_build_monitor_layout_xinerama(), and x11_get_monitor_from_output().

◆ y

int _workarea::y

Vertical location (in pixels) of the monitor.

Definition at line 102 of file xcb.h.

Referenced by monitor_active_from_id(), monitor_active_from_id_focused(), monitor_active_from_winid(), x11_build_monitor_layout_xinerama(), and x11_get_monitor_from_output().


The documentation for this struct was generated from the following file: