aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-10 14:18:56 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-10 14:18:56 -0400
commitf5343adae4d631e4cdade7869b4d73fc97b4ac5f (patch)
tree7c12a435bf56e4ebfcae689ce46280eeeb330346 /sway/handlers.c
parent6388241abb7e2e66e716fc128e658d3d3419442a (diff)
parentaaa0923bc4fe4ffda114482a9b8023c90c26c8dc (diff)
Merge pull request #177 from taiyu-len/master
cmd status + workspace ws output op
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index c0472817..096df53c 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -478,12 +478,12 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w
static void handle_wlc_ready(void) {
sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue");
// Execute commands until there are none left
+ config->active = true;
while (config->cmd_queue->length) {
handle_command(config->cmd_queue->items[0]);
free(config->cmd_queue->items[0]);
list_del(config->cmd_queue, 0);
}
- config->active = true;
}
struct wlc_interface interface = {