prevent crash if m_keylist is 0 again, i do not know yet, why this could happen.
Mathias Gumz akira at fluxbox dot org
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/Keys.cc
→
src/Keys.cc
@@ -527,6 +527,9 @@ // return true if bound to a command, else false
bool Keys::doAction(int type, unsigned int mods, unsigned int key, int context, WinClient *current, Time time) { + if (!m_keylist) + return false; + static Time last_button_time = 0; static unsigned int last_button = 0;