all repos — openbox @ 0a15728be441cf687ef93fd2ab8c38266adacd94

openbox fork - make it a bit more like ryudo

simple change in initialization
Dana Jansens danakj@orodu.net
commit

0a15728be441cf687ef93fd2ab8c38266adacd94

parent

56d7b547ae156e17c8e03ada3b80468f5a0b2605

1 files changed, 2 insertions(+), 2 deletions(-)

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

@@ -15,8 +15,8 @@

OBActions::OBActions() : _button(0), _enter_win(0) { - _presses[0] = new MousePressAction(); - _presses[1] = new MousePressAction(); + for (int i = 0; i < 2; ++i) + _presses[i] = new MousePressAction(); // XXX: load a configuration out of somewhere