qnikst / kbdd

keyboard library for per-window keyboard layout
GNU General Public License v2.0
146 stars 17 forks source link

EWMH WM detection and set_layout fix #53

Closed shashurup closed 3 years ago

shashurup commented 3 years ago

kbdd doesn't detect EWMH WM with bspwm because _NET_ACTIVE_WINDOW is not set. To fix this _NET_SUPPORTING_WM_CHECK is used instead. set_layout dbus method also doesn't always work immidiately because XkbLockGroup is asynchronous and outgoing message are not flushed.

qnikst commented 3 years ago

Looks good! Thanks