EventCrossing.focus

bool focus() @property nothrow

Get focus field.

Returns

true if @window is the focus window or an inferior.
void focus(bool propval) @property nothrow

Set focus field.

Parameters

propvaltrue if @window is the focus window or an inferior.