Macro gabelstaplerwm::swap
[−]
[src]
macro_rules! swap { ($func:expr;; $print:expr) => { ... }; ($func:expr $(; $print:expr)*) => { ... }; }
Swap a client using a closure.
Returns a closure for use with bind!
.
Usage
The swap!
macro expects a closure determnining the client to swap the
current client with.
As always, the last parameter(s) specify objects to be printed after completion of the action.