diff options
| author | Devin J. Pohly <djpohly@gmail.com> | |
|---|---|---|
| 2020-04-23 23:44:24 -0500 | ||
| committer | Devin J. Pohly <djpohly@gmail.com> | |
| 2020-04-23 23:44:54 -0500 | ||
| commit | ee2b3af1cacce8052e03a778316d06a8733ec5b9 (patch) | |
| tree | c7fd0d989ed31c8d570095e2bb8b11c449ff60ea /dwl.c | |
| parent | 47bbdc6034d934dcbe857edbc8495e979b3807c9 (diff) | |
| download | dwl-ee2b3af1cacce8052e03a778316d06a8733ec5b9.tar.gz dwl-ee2b3af1cacce8052e03a778316d06a8733ec5b9.tar.bz2 dwl-ee2b3af1cacce8052e03a778316d06a8733ec5b9.zip | |
configure monitor rotation/reflection
@@ -112,6 +112,7 @@ typedef struct { int nmaster; float scale; const Layout *lt; + enum wl_output_transform rr; } MonitorRule; /* Used to move all of the data necessary to render a surface from the top-level @@ -339,6 +340,7 @@ createmon(struct wl_listener *listener, void *data) wlr_output_set_scale(wlr_output, monrules[i].scale); wlr_xcursor_manager_load(cursor_mgr, monrules[i].scale); m->lt[0] = m->lt[1] = monrules[i].lt; + wlr_output_set_transform(wlr_output, monrules[i].rr); break; } /* Sets up a listener for the frame notify event. */ |