Implement output positioning

🎉
This commit is contained in:
Drew DeVault 2015-08-22 15:19:02 -04:00
parent eac0920f49
commit 07229edfe6
2 changed files with 68 additions and 9 deletions

View file

@ -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 {