i3
Public Member Functions | 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]

Public Member Functions

 TAILQ_ENTRY (xoutput) outputs

Data Fields

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

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 242 of file data.h.


Member Function Documentation

xoutput::TAILQ_ENTRY ( xoutput  )

Field Documentation

bool xoutput::active

Whether the output is currently active (has a CRTC attached with a valid mode)

Definition at line 253 of file data.h.

Referenced by disable_randr(), fake_outputs_init(), get_first_output(), get_output_by_name(), get_output_containing(), get_output_most(), get_output_next(), handle_signal(), IPC_HANDLER(), query_screens(), and randr_query_outputs().

bool xoutput::changed

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

Definition at line 257 of file data.h.

Referenced by randr_query_outputs().

Con* xoutput::con
xcb_randr_output_t xoutput::id

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

Definition at line 244 of file data.h.

Referenced by get_output_by_id().

char* xoutput::name
bool xoutput::primary

Definition at line 259 of file data.h.

Referenced by IPC_HANDLER(), and randr_query_outputs().

Rect xoutput::rect
bool xoutput::to_be_disabled

Definition at line 258 of file data.h.

Referenced by randr_query_outputs().


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