summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2015-09-12 22:43:31 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2015-09-12 22:43:31 +0200
commitf3c91bb7596a5ae59960f64da5b834fd6fcab083 (patch)
tree5556983fba6440bf25c328200d40ed3da25ba6e5
parent2b2f41df34fa71d5abc92284141e08d8d743f1e7 (diff)
downloadmcwm-f3c91bb7596a5ae59960f64da5b834fd6fcab083.zip
Indentation. There were some TABs.
-rw-r--r--mcwm.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/mcwm.c b/mcwm.c
index 6841a52..d0f943f 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -1277,11 +1277,11 @@ int setupkeys(void)
/* Now grab the rest of the keys with the MODKEY modifier. */
for (i = KEY_F; i < KEY_MAX; i ++)
{
- if (XK_VoidSymbol == keys[i].keysym)
- {
- keys[i].keycode = 0;
- continue;
- }
+ if (XK_VoidSymbol == keys[i].keysym)
+ {
+ keys[i].keycode = 0;
+ continue;
+ }
keys[i].keycode = keysymtokeycode(keys[i].keysym, keysyms);
if (0 == keys[i].keycode)
@@ -3333,20 +3333,20 @@ void handle_keypress(xcb_key_press_event_t *ev)
}
break;
- case KEY_PREVWS:
- if (curws > 0)
- {
- changeworkspace(curws - 1);
- }
- else
- {
- changeworkspace(WORKSPACES - 1);
- }
- break;
-
- case KEY_NEXTWS:
- changeworkspace((curws + 1) % WORKSPACES);
- break;
+ case KEY_PREVWS:
+ if (curws > 0)
+ {
+ changeworkspace(curws - 1);
+ }
+ else
+ {
+ changeworkspace(WORKSPACES - 1);
+ }
+ break;
+
+ case KEY_NEXTWS:
+ changeworkspace((curws + 1) % WORKSPACES);
+ break;
default:
/* Ignore other keys. */