cherry-pick 25d0d1b from upstream
This commit is contained in:
parent
26714f172a
commit
23924022c9
1 changed files with 6 additions and 6 deletions
12
dwl.c
12
dwl.c
|
@ -260,13 +260,13 @@ createmon(struct wl_listener *listener, void *data)
|
||||||
/* Adds this to the output layout. The add_auto function arranges outputs
|
/* Adds this to the output layout. The add_auto function arranges outputs
|
||||||
* from left-to-right in the order they appear. A more sophisticated
|
* from left-to-right in the order they appear. A more sophisticated
|
||||||
* compositor would let the user configure the arrangement of outputs in the
|
* compositor would let the user configure the arrangement of outputs in the
|
||||||
* layout. */
|
* layout.
|
||||||
|
*
|
||||||
|
* The output layout utility automatically adds a wl_output global to the
|
||||||
|
* display, which Wayland clients can see to find out information about the
|
||||||
|
* output (such as DPI, scale factor, manufacturer, etc).
|
||||||
|
*/
|
||||||
wlr_output_layout_add_auto(output_layout, wlr_output);
|
wlr_output_layout_add_auto(output_layout, wlr_output);
|
||||||
|
|
||||||
/* Creating the global adds a wl_output global to the display, which Wayland
|
|
||||||
* clients can see to find out information about the output (such as
|
|
||||||
* DPI, scale factor, manufacturer, etc). */
|
|
||||||
wlr_output_create_global(wlr_output);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue