diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2020-04-21 17:26:52 -0500 | 
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2020-04-21 17:45:44 -0500 | 
| commit | 23924022c9cf84ad11f2bec25d1bd2604f3a53a3 (patch) | |
| tree | 37de3fb2378bdd99b2a3d1175815fa7bbf318fa8 /dwl.c | |
| parent | 26714f172aed01aa7fcfeb1cd5370d168f7d4d1f (diff) | |
cherry-pick 25d0d1b from upstream
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| @@ -260,13 +260,13 @@ createmon(struct wl_listener *listener, void *data)  	/* Adds this to the output layout. The add_auto function arranges outputs  	 * from left-to-right in the order they appear. A more sophisticated  	 * 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); - -	/* 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 | 
