i3
|
An Output is a physical output on your graphics driver. More...
#include <data.h>
Public Member Functions | |
SLIST_HEAD (names_head, output_name) names_head | |
List of names for the output. | |
TAILQ_ENTRY (xoutput) outputs | |
Data Fields | |
xcb_randr_output_t | id |
Output id, so that we can requery the output directly later. | |
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 |
Con * | con |
Pointer to the Con which represents this output. | |
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).
xoutput::SLIST_HEAD | ( | names_head | , |
output_name | ) |
List of names for the output.
An output always has at least one name; the first name is considered the primary one.
xoutput::TAILQ_ENTRY | ( | xoutput | ) |
bool xoutput::active |
Whether the output is currently active (has a CRTC attached with a valid mode)
Definition at line 397 of file data.h.
Referenced by any_randr_output_active(), create_root_output(), fake_outputs_init(), fallback_to_root_output(), get_first_output(), get_output_by_name(), get_output_containing(), get_output_next(), get_output_with_dimensions(), main(), output_containing_rect(), query_screens(), randr_disable_output(), randr_query_outputs(), sighandler_create_dialogs(), and use_root_output().
bool xoutput::changed |
Internal flags, necessary for querying RandR screens (happens in two stages)
Definition at line 401 of file data.h.
Referenced by main(), randr_disable_output(), and randr_query_outputs().
Con* xoutput::con |
Pointer to the Con which represents this output.
Definition at line 411 of file data.h.
Referenced by check_crossing_screen_boundary(), cmd_focus_output(), con_move_to_output(), find_drop_target(), floating_enable(), floating_maybe_reassign_ws(), get_assigned_output(), get_tree_next_workspace(), handle_configure_request(), init_ws_for_output(), main(), manage_window(), move_content(), move_to_output_directed(), output_init_con(), randr_disable_output(), and randr_query_outputs().
xcb_randr_output_t xoutput::id |
Output id, so that we can requery the output directly later.
Definition at line 393 of file data.h.
Referenced by get_output_by_id().
bool xoutput::primary |
Definition at line 403 of file data.h.
Referenced by fake_outputs_init(), get_first_output(), get_output_by_name(), randr_query_outputs(), and TAILQ_HEAD().
Rect xoutput::rect |
x, y, width, height
Definition at line 414 of file data.h.
Referenced by create_root_output(), fake_outputs_init(), floating_move_to_pointer(), get_output_containing(), get_output_next(), get_output_with_dimensions(), get_screen_at(), get_screen_at(), output_containing_rect(), output_init_con(), query_screens(), randr_query_outputs(), sighandler_create_dialogs(), and total_outputs_dimensions().
bool xoutput::to_be_disabled |
Definition at line 402 of file data.h.
Referenced by any_randr_output_active(), main(), randr_disable_output(), and randr_query_outputs().