all repos — fluxbox @ b8f9ac6d69aa38afeca4d07d0bd8daa5333c02cb

custom fork of the fluxbox windowmanager

prevent crash if m_keylist is 0

again, i do not know yet, why this could happen.
Mathias Gumz akira at fluxbox dot org
commit

b8f9ac6d69aa38afeca4d07d0bd8daa5333c02cb

parent

24cfd54eae6f34e3596ca154be72f922d66e6c77

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/Keys.ccsrc/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;