aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-07-31 13:53:33 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-07-31 13:53:33 -0500
commit90d80c0de900b03d36c081423855b18c5fa02f56 (patch)
tree07367a783313d3b1754f64f447a59f29c408d6dc /config.def.h
parent0a59f47c18a0fd033f62640f5b94a78fc9b3e929 (diff)
simplify focusclient
This arranges the function into some logical tasks: deactivate the old client, update wlroots' keyboard focus, update our data structures, and activate the new client. The last two only need to be done when focusing something new, so an early return saves some horizontal space.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions