summaryrefslogtreecommitdiffstats
path: root/source/x11-helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-05-08 11:13:11 +0200
committerDave Davenport <qball@gmpclient.org>2016-05-08 11:13:11 +0200
commit8f6c9ee070b60af7f93ca3a44fc0a58df4623272 (patch)
tree42c48f990fc543e07a515ed8eca5e20d2ecc5db2 /source/x11-helper.c
parent8af7f014cdc06f6b6ac9d6c6796a143e6307e7dd (diff)
Fix indenting
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r--source/x11-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c
index a0ab25d7..1ed84c95 100644
--- a/source/x11-helper.c
+++ b/source/x11-helper.c
@@ -440,7 +440,7 @@ unsigned int x11_canonalize_mask ( unsigned int mask )
unsigned int x11_get_current_mask ( xkb_stuff *xkb )
{
unsigned int mask = 0;
- for ( gsize i = 0 ; i < xkb_keymap_num_mods(xkb->keymap) ; ++i ) {
+ for ( gsize i = 0; i < xkb_keymap_num_mods ( xkb->keymap ); ++i ) {
if ( xkb_state_mod_index_is_active ( xkb->state, i, XKB_STATE_MODS_EFFECTIVE ) ) {
mask |= ( 1 << i );
}
@@ -454,7 +454,7 @@ gboolean x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key, gboo
GString *str = g_string_new ( "" );
unsigned int modmask = 0;
- if ( g_str_has_prefix(combo, "!") ) {
+ if ( g_str_has_prefix ( combo, "!" ) ) {
++combo;
*release = TRUE;
}
@@ -508,7 +508,7 @@ gboolean x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key, gboo
}
// if there's no "-" or "+", we might be binding directly to a modifier key - no modmask
- if( i == 0 ) {
+ if ( i == 0 ) {
*mod = 0;
}
else {