Skip to content

focuswin

bakkeby edited this page Jul 2, 2021 · 4 revisions
Function Expected argument Default keybinding
focuswin client pointer N/A

The focuswin function allows a user to left-click on a window title on the bar to give focus to that window.

This is only used for handling button clicks on the bar, refer to the following configuration in config.h:

static Button buttons[] = {
	/* click                 event mask           button      function      argument */
	...
	{ ClkWinTitle,           0,                   Button1,    focuswin,     {0} }, // focus on the given client
	...
}

There are no default keybindings for this function.

There are no external commands for this function.

Back to Functions > Bar.

Clone this wiki locally