all repos — fluxbox @ 07da360b2be4a96e82de80d25b0506d58ea8124e

custom fork of the fluxbox windowmanager

more fixes for fluxconf mangling the keys file
Mark Tiefenbruck mark@fluxbox.org
commit

07da360b2be4a96e82de80d25b0506d58ea8124e

parent

9dcbff31b492ca4277471accc95696e0f9a0dd20

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

jump to
M src/Keys.ccsrc/Keys.cc

@@ -404,8 +404,15 @@ val[argc].length() > 5) {

type = ButtonPress; key = atoi(val[argc].substr(5, val[argc].length()-5).c_str()); + // fluxconf mangles things like OnWindow Mouse# to Mouse#ow if (strstr(val[argc].c_str(), "top")) context = ON_DESKTOP; + else if (strstr(val[argc].c_str(), "ebar")) + context = ON_TITLEBAR; + else if (strstr(val[argc].c_str(), "bar")) + context = ON_TOOLBAR; + else if (strstr(val[argc].c_str(), "ow")) + context = ON_WINDOW; // keycode covers the following three two-byte cases: // 0x - hex // +[1-9] - number between +1 and +9