Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
[TEMP] rootston: offer VGA-1 for lease
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevault committed Jul 2, 2019
1 parent 07f3323 commit e6a886c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rootston/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,13 @@ void handle_new_output(struct wl_listener *listener, void *data) {
wlr_output->model, wlr_output->serial, wlr_output->phys_width,
wlr_output->phys_height);

// <TEMPORARY>
if (strcmp(wlr_output->name, "VGA-1") == 0) {
wlr_drm_lease_manager_v1_offer_output(
desktop->drm_lease_manager, wlr_output);
}
// </TEMPORARY>

struct roots_output *output = calloc(1, sizeof(struct roots_output));
clock_gettime(CLOCK_MONOTONIC, &output->last_frame);
output->desktop = desktop;
Expand Down

0 comments on commit e6a886c

Please sign in to comment.