Rewrite X11 event mask

A literal like this is much more understandable.
This commit is contained in:
Robbert van der Helm
2020-12-26 01:42:55 +01:00
parent 86aaf2fa3a
commit 57e23ee392
+1 -1
View File
@@ -22,7 +22,7 @@
* The most significant bit in an X11 event's response type is used to indicate
* the event source.
*/
constexpr uint16_t event_type_mask = ((1 << 7) - 1);
constexpr uint16_t event_type_mask = 0b0111'1111;
/**
* The name of the X11 property on the root window used to denote the active