The following:
bspc control --float-upcoming
can now be expressed as:
bspc rule -a \* --floating --one-shot
last_motion_time = last_motion_x = last_motion_y = 0;
randr_base = 0;
visible = auto_raise = true;
- float_upcoming = false;
exit_status = 0;
}
bool visible;
bool auto_raise;
-bool float_upcoming;
bool running;
bool randr;
.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
*--toggle-visibility*::
Toggle the visibility of all the windows.
-*--float-upcoming*::
- Toggle the floating state of the upcoming window.
-
Pointer
~~~~~~~
put_status();
} else if (streq("--toggle-visibility", *args)) {
toggle_visibility();
- } else if (streq("--float-upcoming", *args)) {
- float_upcoming = !float_upcoming;
} else {
return false;
}
return;
}
- if (float_upcoming) {
- floating = true;
- float_upcoming = false;
- }
-
client_t *c = make_client(win);
update_floating_rectangle(c);