qnikst / kbdd

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

Stops working when spawning terminal is closed #45

Open scorpp opened 7 years ago

scorpp commented 7 years ago

I experience this issue for quite a long time, but only now I managed to understand how to reproduce it.

Open terminal emulator (mine is urxvt), start kbdd (as a daemon). Everything works. Once you exit the shell in terminal emulator kbdd stops switching layouts.

Environment: archlinux, awesome wm

$ kbdd --v
kbdd 0.7, see -h/--help for brief info
$ kbdd -n
:main Connecting to the Session D-Bus.
:main Regiresting the well-known name (ru.gentoo.KbddService)
:main RequestName returned (null).
:main Creating one MKbddService Object
:main Registering project to D-Bus.
Ready to serve requests
EWMH is supported
Initializing EWHM event listeners
scorpp commented 7 years ago

just grabbed v0.7, removed all fprintf, printf and g_print calls, built it without dbus and now even after closing the term it works.

scorpp commented 7 years ago

after some time hanging around daemon stops working (few days on laptop)