i3
Data Fields
xoutput Struct Reference

An Output is a physical output on your graphics driver. More...

#include <data.h>

Collaboration diagram for xoutput:
Collaboration graph
[legend]

Data Fields

xcb_randr_output_t id
 Output id, so that we can requery the output directly later. More...
 
bool active
 Whether the output is currently active (has a CRTC attached with a valid mode) More...
 
bool changed
 Internal flags, necessary for querying RandR screens (happens in two stages) More...
 
bool to_be_disabled
 
bool primary
 
 names_head
 List of names for the output. More...
 
Con * con
 Pointer to the Con which represents this output. More...
 
Rect rect
 x, y, width, height More...
 
 outputs
 

Detailed Description

An Output is a physical output on your graphics driver.

Outputs which are currently in use have (output->active == true). Each output has a position and a mode. An output usually corresponds to one connected screen (except if you are running multiple screens in clone mode).

Definition at line 366 of file data.h.

Field Documentation

◆ active

bool xoutput::active

◆ changed

bool xoutput::changed

Internal flags, necessary for querying RandR screens (happens in two stages)

Definition at line 376 of file data.h.

Referenced by main(), randr_disable_output(), and randr_query_outputs().

◆ con

Con* xoutput::con

◆ id

xcb_randr_output_t xoutput::id

Output id, so that we can requery the output directly later.

Definition at line 368 of file data.h.

Referenced by get_output_by_id().

◆ names_head

xoutput::names_head

List of names for the output.

An output always has at least one name; the first name is considered the primary one.

Definition at line 384 of file data.h.

Referenced by create_root_output(), fake_outputs_init(), get_output_by_name(), output_primary_name(), and query_screens().

◆ outputs

xoutput::outputs

Definition at line 393 of file data.h.

◆ primary

bool xoutput::primary

Definition at line 378 of file data.h.

Referenced by fake_outputs_init(), get_output_by_name(), IPC_HANDLER(), and randr_query_outputs().

◆ rect

Rect xoutput::rect

◆ to_be_disabled

bool xoutput::to_be_disabled

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