mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
DPMS support
This commit is contained in:
parent
c436e76240
commit
599d1bcbdc
5 changed files with 80 additions and 1 deletions
|
|
@ -36,6 +36,10 @@ struct wlr_output_state {
|
|||
uint32_t connector;
|
||||
char name[16];
|
||||
|
||||
struct {
|
||||
uint32_t dpms;
|
||||
} props;
|
||||
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
|
||||
|
|
@ -51,6 +55,7 @@ struct wlr_output_state {
|
|||
};
|
||||
|
||||
void wlr_drm_output_cleanup(struct wlr_output_state *output, bool restore);
|
||||
void wlr_drm_output_dpms(int fd, struct wlr_output_state *output, bool screen_on);
|
||||
|
||||
void wlr_drm_scan_connectors(struct wlr_backend_state *state);
|
||||
int wlr_drm_event(int fd, uint32_t mask, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue