mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: introduce wlr_output_preferred_mode
This commit is contained in:
parent
95b22619e0
commit
8acbf449cc
2 changed files with 21 additions and 0 deletions
|
|
@ -157,6 +157,11 @@ struct wlr_surface;
|
|||
bool wlr_output_enable(struct wlr_output *output, bool enable);
|
||||
void wlr_output_create_global(struct wlr_output *output);
|
||||
void wlr_output_destroy_global(struct wlr_output *output);
|
||||
/**
|
||||
* Returns the preferred mode for this output. If the output doesn't support
|
||||
* modes, returns NULL.
|
||||
*/
|
||||
struct wlr_output_mode *wlr_output_preferred_mode(struct wlr_output *output);
|
||||
/**
|
||||
* Sets the output mode. Enables the output if it's currently disabled.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue