Browse Source

cleanup indention left-overs

master
Michael Stapelberg 14 years ago
parent
commit
6b0ce0d5aa
  1. 6
      i3lock.c

6
i3lock.c

@ -182,15 +182,15 @@ static void handle_key_press(xcb_key_press_event_t *event) {
#endif #endif
if (xcb_is_modifier_key(sym) || xcb_is_cursor_key(sym)) if (xcb_is_modifier_key(sym) || xcb_is_cursor_key(sym))
return; return;
//printf("sym = %c (%d)\n", sym, sym); //printf("sym = %c (%d)\n", sym, sym);
/* convert the keysym to UCS */ /* convert the keysym to UCS */
uint16_t ucs = keysym2ucs(sym); uint16_t ucs = keysym2ucs(sym);
if ((int16_t)ucs == -1) { if ((int16_t)ucs == -1) {
fprintf(stderr, "Keysym could not be converted to UCS, skipping\n"); fprintf(stderr, "Keysym could not be converted to UCS, skipping\n");
return; return;
} }
/* store the UCS in a string to convert it */ /* store the UCS in a string to convert it */

Loading…
Cancel
Save