Skip to content

Commit

Permalink
Testing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
natemaia committed Jul 14, 2024
1 parent ed38891 commit f936555
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/dk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1744,19 +1744,9 @@ void refresh(void)
Panel *p;
Client *c;
Monitor *m;
Layout *l = NULL;
int x, y, w, h;

for (m = monitors; m; m = m->next) {

for (uint32_t i = 0; layouts[i].name; i++) {
if (&layouts[i] == m->ws->layout) {
l = &layouts[i];
break;
}
}
m->ws->layout = l ? l : layouts;

DBG("refresh: workspace: %d, monitor: %s layout: %s", m->ws->num + 1, m->name, m->ws->layout->name)
if (m->ws->layout->func && m->ws->layout->func(m->ws) < 0) {
m->ws->layout->func(m->ws);
Expand Down

0 comments on commit f936555

Please sign in to comment.