]> git.lizzy.rs Git - bspwm.git/commitdiff
Remove `--float-upcoming` from `control`
authorBastien Dejean <nihilhill@gmail.com>
Tue, 17 Sep 2013 09:40:18 +0000 (11:40 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Tue, 17 Sep 2013 09:40:18 +0000 (11:40 +0200)
The following:
    bspc control --float-upcoming
can now be expressed as:
    bspc rule -a \* --floating --one-shot

bspwm.c
bspwm.h
doc/bspwm.1
doc/bspwm.1.txt
messages.c
window.c

diff --git a/bspwm.c b/bspwm.c
index 1e3f0ce16f578f1279aa80d9196feda8b79161eb..7771e69b9e9a27ad41d2fed3a27b9ae2553029d2 100644 (file)
--- a/bspwm.c
+++ b/bspwm.c
@@ -173,7 +173,6 @@ void init(void)
     last_motion_time = last_motion_x = last_motion_y = 0;
     randr_base = 0;
     visible = auto_raise = true;
-    float_upcoming = false;
     exit_status = 0;
 }
 
diff --git a/bspwm.h b/bspwm.h
index b75775a6b6197849ca94821b2e8be99db1fe3283..51b664e61affcf63bff8446a5f5c48928a079899 100644 (file)
--- a/bspwm.h
+++ b/bspwm.h
@@ -39,7 +39,6 @@ int exit_status;
 
 bool visible;
 bool auto_raise;
-bool float_upcoming;
 bool running;
 bool randr;
 
index 34ad722be96b89c06a300817d7ac6f576e125f8f..e8fa7c738d448a2f248ea7bb91251279f8f8dca8 100644 (file)
@@ -747,11 +747,6 @@ Write the current internal state to the panel FIFO\&.
 .RS 4
 Toggle the visibility of all the windows\&.
 .RE
-.PP
-\fB\-\-float\-upcoming\fR
-.RS 4
-Toggle the floating state of the upcoming window\&.
-.RE
 .RE
 .SS "Pointer"
 .sp
index 677cbc6753a51ae5c90f39aa2b000b18d760d26d..31dab20c558ecf2e0b9722c316a657b5e276eb84 100644 (file)
@@ -461,9 +461,6 @@ Options
 *--toggle-visibility*::
     Toggle the visibility of all the windows.
 
-*--float-upcoming*::
-    Toggle the floating state of the upcoming window.
-
 Pointer
 ~~~~~~~
 
index cf876e124d1111285e676ea9bdaade5c7b10deec..27a286db2f16d7477e611ce6964eff59d93438dc 100644 (file)
@@ -599,8 +599,6 @@ bool cmd_control(char **args, int num) {
             put_status();
         } else if (streq("--toggle-visibility", *args)) {
             toggle_visibility();
-        } else if (streq("--float-upcoming", *args)) {
-            float_upcoming = !float_upcoming;
         } else {
             return false;
         }
index f58cfb3b05915568254feff83557d28fd64c6dff..0fc4476c8cd72b49711ebed9caa5a2f8cc9d5df7 100644 (file)
--- a/window.c
+++ b/window.c
@@ -104,11 +104,6 @@ void manage_window(monitor_t *m, desktop_t *d, xcb_window_t win)
         return;
     }
 
-    if (float_upcoming) {
-        floating = true;
-        float_upcoming = false;
-    }
-
     client_t *c = make_client(win);
     update_floating_rectangle(c);