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:
krypt-n 2015-11-15 13:24:36 +01:00
parent 2c0f57c584
commit da26209013

View File

@ -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;