all repos — openbox @ 8db3dc33e8f66cfccfb2ebd98708cb7caaf50c24

openbox fork - make it a bit more like ryudo

close windows with netwm messages
Dana Jansens danakj@orodu.net
commit

8db3dc33e8f66cfccfb2ebd98708cb7caaf50c24

parent

0441661365bcd6f43fecfe4e8dda282846645ca9

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

jump to
M scripts/builtins.pyscripts/builtins.py

@@ -38,7 +38,10 @@

def close(data): """Closes the window on which the event occured""" client = Openbox_findClient(openbox, data.window()) - if client: OBClient_close(client) + if not client: return + root = ScreenInfo_rootWindow(OBDisplay_screenInfo(data.screen())) + window = OBClient_window(client) + send_client_msg(root, OBProperty_net_close_window, window) def focus(data): """Focuses the window on which the event occured"""