feat(xkeyboard): Switch layout group on click

When serveral layout groups are defined for the keyboard
they can be cycled when clicking on the module.

   For example:

   $ setxkbmap -layout us,sv,fr

Ref 
This commit is contained in:
Michael Carlberg 2016-12-16 11:26:28 +01:00
parent f50f43af02
commit 519172b6ec
6 changed files with 50 additions and 2 deletions
src/components

View file

@ -478,7 +478,6 @@ void bar::handle(const evt::button_press& evt) {
}
std::lock_guard<std::mutex> guard(m_mutex, std::adopt_lock);
if (m_buttonpress.deny(evt->time)) {
return m_log.trace_x("bar: Ignoring button press (throttled)...");
}