Skip to content

Commit

Permalink
idk why i did this should fix something
Browse files Browse the repository at this point in the history
  • Loading branch information
tudurom committed Jun 25, 2018
1 parent d617411 commit 44c713a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.1
0.4.2
6 changes: 4 additions & 2 deletions wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,6 @@ group_activate(uint32_t group) {
group_in_use[group] = true;
last_group = group;
update_group_list();
update_current_desktop(focused_win);
}

static void
Expand Down Expand Up @@ -2483,6 +2482,7 @@ event_map_request(xcb_generic_event_t *ev)

if (!client->maxed)
set_borders(client, conf.focus_color, conf.internal_focus_color);
update_current_desktop(client);
}

static void
Expand Down Expand Up @@ -2550,8 +2550,10 @@ event_configure_notify(xcb_generic_event_t *ev)
}
} else {
client = find_client(&e->window);
if (client != NULL)
if (client != NULL) {
client->monitor = find_monitor_by_coord(client->geom.x, client->geom.y);
update_current_desktop(client);
}
}
}

Expand Down

0 comments on commit 44c713a

Please sign in to comment.