Macro gabelstaplerwm::focus [] [src]

macro_rules! focus {
    ($func:expr;; $print:expr) => { ... };
    ($func:expr $(; $print:expr)*) => { ... };
}

Focus a client using a closure.

Returns a closure for use with bind!.

Usage

The focus! macro expects a closure determining the client to focus.

As always, the last parameter(s) specify objects to be printed after completion of the action.