mirror of
https://github.com/swaywm/sway.git
synced 2026-03-27 07:58:40 -04:00
Implement output positioning
🎉
This commit is contained in:
parent
eac0920f49
commit
07229edfe6
2 changed files with 68 additions and 9 deletions
|
|
@ -86,6 +86,7 @@ swayc_t *new_output(wlc_handle handle) {
|
|||
|
||||
// Find position for it
|
||||
if (oc && oc->x != -1 && oc->y != -1) {
|
||||
sway_log(L_DEBUG, "Set %s position to %d, %d", name, oc->x, oc->y);
|
||||
output->x = oc->x;
|
||||
output->y = oc->y;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue