mirror of
https://github.com/labwc/labwc.git
synced 2025-11-10 13:30:00 -05:00
Enable new outputs (before setting mode)
Fixes the following error with wlroots-git 0.14.0.r391.g585a908a-1:
[DEBUG] [types/output/output.c:603] Tried to modeset a disabled output
This commit is contained in:
parent
6f2f79b8d7
commit
687993370f
1 changed files with 3 additions and 0 deletions
|
|
@ -955,6 +955,9 @@ new_output_notify(struct wl_listener *listener, void *data)
|
|||
return;
|
||||
}
|
||||
|
||||
wlr_log(WLR_DEBUG, "enable output");
|
||||
wlr_output_enable(wlr_output, true);
|
||||
|
||||
/* The mode is a tuple of (width, height, refresh rate). */
|
||||
wlr_log(WLR_DEBUG, "set preferred mode");
|
||||
struct wlr_output_mode *preferred_mode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue