An Output is a physical output on your graphics driver. More...
#include <data.h>
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. | |
Con * | con |
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 |
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 211 of file data.h.
xoutput::TAILQ_ENTRY | ( | xoutput | ) |
bool xoutput::active |
Whether the output is currently active (has a CRTC attached with a valid mode).
Definition at line 222 of file data.h.
Referenced by disable_randr(), get_first_output(), get_output_by_name(), get_output_containing(), get_output_most(), 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 226 of file data.h.
Referenced by randr_query_outputs().
Pointer to the Con which represents this output.
Definition at line 218 of file data.h.
Referenced by check_crossing_screen_boundary(), disable_randr(), floating_maybe_reassign_ws(), init_ws_for_output(), IPC_HANDLER(), manage_window(), output_change_mode(), output_init_con(), query_screens(), and randr_query_outputs().
xcb_randr_output_t xoutput::id |
Output id, so that we can requery the output directly later.
Definition at line 213 of file data.h.
Referenced by get_output_by_id().
char* xoutput::name |
Name of the output.
Definition at line 215 of file data.h.
Referenced by disable_randr(), get_output_by_name(), init_ws_for_output(), IPC_HANDLER(), manage_window(), output_init_con(), query_screens(), and randr_query_outputs().
bool xoutput::primary |
Definition at line 228 of file data.h.
Referenced by randr_query_outputs().
x, y, width, height
Definition at line 231 of file data.h.
Referenced by disable_randr(), get_output_containing(), get_output_most(), get_screen_at(), handle_signal(), init_ws_for_output(), IPC_HANDLER(), output_change_mode(), output_init_con(), query_screens(), and randr_query_outputs().
Definition at line 227 of file data.h.
Referenced by randr_query_outputs().