Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Commit

Permalink
Fix LemonBoy#154 and #18
Browse files Browse the repository at this point in the history
Widening the bitfield by 1 would be a solution aswell.
Problem was that an int:3 has a range of -4 to 3, buttons 4 and 5 did not
fit into it
  • Loading branch information
krypt-n committed Nov 15, 2015
1 parent 2c0f57c commit da26209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemonbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ typedef struct area_t {
unsigned int end:16;
bool active:1;
int align:3;
int button:3;
int button;
xcb_window_t window;
char *cmd;
} area_t;
Expand Down

0 comments on commit da26209

Please sign in to comment.