Fix LemonBoy/bar#154 and krypt-n/bar#18
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
This commit is contained in:
parent
2c0f57c584
commit
da26209013
|
@ -40,7 +40,7 @@ typedef struct area_t {
|
||||||
unsigned int end:16;
|
unsigned int end:16;
|
||||||
bool active:1;
|
bool active:1;
|
||||||
int align:3;
|
int align:3;
|
||||||
int button:3;
|
int button;
|
||||||
xcb_window_t window;
|
xcb_window_t window;
|
||||||
char *cmd;
|
char *cmd;
|
||||||
} area_t;
|
} area_t;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user