aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/x11.c b/src/x11.c
index 2de7d1c..d9a8773 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -881,7 +881,8 @@ translateKey(PuglView* const view, XEvent* const xevent, PuglEvent* const event)
event->key.keycode = xevent->xkey.keycode;
// Mask off the control and shift bits to get the lowercase "main" symbol
- xevent->xkey.state = xevent->xkey.state & ~(unsigned)(ControlMask|ShiftMask);
+ xevent->xkey.state =
+ xevent->xkey.state & ~(unsigned)(ControlMask | ShiftMask);
// Lookup unshifted key
char ustr[8] = PUGL_INIT_STRUCT;