all repos — openbox @ 506b5dbf6f2624df57f09b5c7ba15098b1590cd5

openbox fork - make it a bit more like ryudo

segfault no more on root clicks
Dana Jansens danakj@orodu.net
commit

506b5dbf6f2624df57f09b5c7ba15098b1590cd5

parent

700984bd150d98a6876c117c2e1b1b3c72cffce1

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

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

@@ -45,7 +45,9 @@ a->button = e.button;

a->pos.setPoint(e.x_root, e.y_root); OBClient *c = Openbox::instance->findClient(e.window); - a->clientarea = c->area(); + // if it's not defined, they should have clicked on the root window, so this + // area would be meaningless anyways + if (c) a->clientarea = c->area(); } void OBActions::removePress(const XButtonEvent &e)