style fixes for the last commit

This commit is contained in:
Michael Stapelberg 2010-04-17 23:18:04 +02:00
parent a97c876d31
commit a99fff03c3

View File

@ -867,11 +867,11 @@ static void next_previous_workspace(xcb_connection_t *conn, int direction) {
} }
static void parse_move_command(xcb_connection_t *conn, Client *last_focused, const char *command) { static void parse_move_command(xcb_connection_t *conn, Client *last_focused, const char *command) {
int first, second; if (!client_is_floating(last_focused)) {
resize_orientation_t orientation = O_VERTICAL; LOG("You can only move floating clients with the \"move\" command\n");
Container *con = last_focused->container; return;
Workspace *ws = last_focused->workspace; }
if (client_is_floating(last_focused)) {
DLOG("Moving a floating client\n"); DLOG("Moving a floating client\n");
if (STARTS_WITH(command, "left")) { if (STARTS_WITH(command, "left")) {
command += strlen("left"); command += strlen("left");
@ -891,8 +891,6 @@ static void parse_move_command(xcb_connection_t *conn, Client *last_focused, con
} }
/* resize_client flushes */ /* resize_client flushes */
resize_client(conn, last_focused); resize_client(conn, last_focused);
return;
}
} }
static void parse_resize_command(xcb_connection_t *conn, Client *last_focused, const char *command) { static void parse_resize_command(xcb_connection_t *conn, Client *last_focused, const char *command) {