Commit graph

6 commits

Author SHA1 Message Date
szos 9e84984f43 Compact conditional, removing unneeded clause 2022-12-07 06:18:16 +01:00
szos fa254af403 Move invoke-expose method to fix build error
move the invoke-expose method for dynamic groups to dynamic-groups.lisp to avoid
a build error as stumpwm doesnt know about the dynamic group class when
compiling dynamic-window.lisp
2022-12-07 05:52:06 +01:00
szos 6f0608c68f add floating group support to expose
This commit moves the logic of expose into a generic function called
invoke-expose which takes a group to call expose in. A method is provided for
tile groups, dynamic groups, and float groups. The expose command now simply
calls invoke-expose.
2022-12-07 05:46:30 +01:00
Spenser Truex de42ae79da Don't expose with only one application or only one frame
expose made two unconditional calls to the "only" command, which results in
spurious messages "There's only one frame." Also, it called "fselect" on only
one frame, forcing the user to select the only frame.

The new function only-one-frame-p is defined and wraps these to ensure the user
is only shown "fselect" or the error messages from "only" when it makes sense.

Fixes the bug in issue #687
2019-12-19 17:01:06 -08:00
Florian Margaine 255a2d41bc
Fix style-warning.
The argument is defined so that user-provided hooks can play with it,
but the default function does not use it, so we can declare it as
ignored to remove the style-warning during compilation.
2018-09-26 18:00:36 +02:00
David Bjergaard 48d5148a39 Added expose command and dynamic-windows.lisp
Added expose and variables to manual, added stubs for further dynamic window managing experiments.
2018-04-28 22:15:39 -04:00