Generalize DPMS, remove DRM refs from example

This commit is contained in:
Drew DeVault 2017-05-31 15:38:26 -04:00
parent 03c9b46034
commit fee409bd0a
10 changed files with 65 additions and 50 deletions

View file

@ -29,3 +29,7 @@ void wlr_output_free(struct wlr_output *output) {
bool wlr_output_set_mode(struct wlr_output *output, struct wlr_output_mode *mode) {
return output->impl->set_mode(output->state, mode);
}
void wlr_output_enable(struct wlr_output *output, bool enable) {
output->impl->enable(output->state, enable);
}