summaryrefslogtreecommitdiff
path: root/src/core/keybindings.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 15:53:16 +0200
committerraveit65 <[email protected]>2020-08-04 16:39:25 +0200
commit37e4d38ca3a61eb843d80732a26f29668352433d (patch)
tree3ecc36df72fcaccc73a56c6713b47afd592d54d8 /src/core/keybindings.c
parent85a22e754cd1f43e178e4a81c182643d4319bc5b (diff)
downloadmarco-37e4d38ca3a61eb843d80732a26f29668352433d.tar.bz2
marco-37e4d38ca3a61eb843d80732a26f29668352433d.tar.xz
Remove multiple empty lines
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
Diffstat (limited to 'src/core/keybindings.c')
-rw-r--r--src/core/keybindings.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index d37ec2cf..1ee36b5e 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -307,7 +307,6 @@ reload_modifiers (MetaDisplay *display)
}
}
-
static int
count_bindings (const MetaKeyPref *prefs,
int n_prefs)
@@ -553,7 +552,6 @@ meta_display_process_mapping_event (MetaDisplay *display,
* even when only the keymap changes */
reload_modmap (display);
-
if (keymap_changed)
reload_keycodes (display);
@@ -584,7 +582,6 @@ bindings_changed_callback (MetaPreference pref,
}
}
-
void
meta_display_init_keys (MetaDisplay *display)
{
@@ -2460,7 +2457,6 @@ meta_spawn_command_line_async_on_screen (const gchar *command_line,
return retval;
}
-
static void
handle_run_command (MetaDisplay *display,
MetaScreen *screen,
@@ -2499,7 +2495,6 @@ handle_run_command (MetaDisplay *display,
}
}
-
static void
handle_maximize_vertically (MetaDisplay *display,
MetaScreen *screen,
@@ -2698,7 +2693,6 @@ handle_move_to_center (MetaDisplay *display,
window->rect.height);
}
-
static void
handle_move_to_monitor (MetaDisplay *display,
MetaScreen *screen,
@@ -2754,7 +2748,6 @@ process_workspace_switch_grab (MetaDisplay *display,
"Ending grab so we can focus on the target workspace\n");
meta_display_end_grab_op (display, event->xkey.time);
-
if(display->grab_op == META_GRAB_OP_KEYBOARD_WORKSPACE_SWITCHING)
{
meta_topic (META_DEBUG_KEYBINDINGS,
@@ -2847,8 +2840,6 @@ process_workspace_switch_grab (MetaDisplay *display,
event->xkey.time);
}
-
-
return TRUE; /* we already ended the grab */
}
}
@@ -3126,7 +3117,6 @@ handle_cycle (MetaDisplay *display,
backwards, FALSE);
}
-
static void
handle_toggle_fullscreen (MetaDisplay *display,
MetaScreen *screen,
@@ -3632,7 +3622,6 @@ handle_rename_workspace_callback(GIOChannel *ioc, GIOCondition cond, gpointer da
return FALSE;
}
-
if (cond & G_IO_ERR )
{
meta_warning ("handle_rename_workspace_callback: error. G_IO_ERR.\n");
@@ -3649,7 +3638,6 @@ handle_rename_workspace_callback(GIOChannel *ioc, GIOCondition cond, gpointer da
return FALSE;
}
-
meta_topic (META_DEBUG_KEYBINDINGS, "handle_rename_workspace_callback: workspace_index=%d\n", *workspace_index);
if (*workspace_index < 0 || *workspace_index > 36)
{
@@ -3659,7 +3647,6 @@ handle_rename_workspace_callback(GIOChannel *ioc, GIOCondition cond, gpointer da
return FALSE;
}
-
if (cond & (!G_IO_IN & !G_IO_PRI))
{
meta_warning ("handle_rename_workspace_callback: unknown error\n");