Remove various unused parameters

This commit is contained in:
Orestis Floros
2019-10-20 16:14:20 +03:00
parent 428cb94e29
commit 17d0cd7034
5 changed files with 9 additions and 9 deletions

View File

@ -421,7 +421,7 @@ void floating_enable(Con *con, bool automatic) {
ipc_send_window_event("floating", con);
}
void floating_disable(Con *con, bool automatic) {
void floating_disable(Con *con) {
if (!con_is_floating(con)) {
LOG("Container isn't floating, not doing anything.\n");
return;
@ -469,7 +469,7 @@ void toggle_floating_mode(Con *con, bool automatic) {
if (con_is_floating(con)) {
LOG("already floating, re-setting to tiling\n");
floating_disable(con, automatic);
floating_disable(con);
return;
}