diff options
author | Marvin Borner | 2020-11-01 00:02:33 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-01 00:02:33 +0100 |
commit | e0d3b1671b3f94657d70223b51285ed287c882df (patch) | |
tree | 53bbe85c5504b869bc118a14eff468b647ae2d7b /apps/wm.c | |
parent | c35a83655707c9aae8f728eb850255ad0f115d11 (diff) |
New binary directory structure
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -43,10 +43,11 @@ static struct context *new_context(struct context *ctx, u32 pid, int x, int y, u ctx->fb = malloc(height * ctx->pitch); memset(ctx->fb, 0, height * ctx->pitch); ctx->flags = flags; - if (!(flags & WF_RELATIVE)) + if (!(flags & WF_RELATIVE)) { context_count++; - if (context_count % 2 == 1) - MOUSE_SKIP++; + if (context_count % 2 == 1) + MOUSE_SKIP++; + } return ctx; } |