summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-03 03:53:10 +0000
committerDana Jansens <danakj@orodu.net>2007-03-03 03:53:10 +0000
commit65f0c708516d9db24d4d4517a9ecfc8882c1f337 (patch)
tree010baa5b0d5ea8810179b75b9bc3622d0fef822b /openbox
parent9d1949f0b168650e38dcb9adf1ad93e8b90a9b44 (diff)
pretty brackets
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c
index e89f2d46..bb0772d7 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -246,7 +246,8 @@ void client_manage(Window window)
/* check if it has already been unmapped by the time we started mapping
the grab does a sync so we don't have to here */
if (XCheckTypedWindowEvent(ob_display, window, DestroyNotify, &e) ||
- XCheckTypedWindowEvent(ob_display, window, UnmapNotify, &e)) {
+ XCheckTypedWindowEvent(ob_display, window, UnmapNotify, &e))
+ {
XPutBackEvent(ob_display, &e);
grab_server(FALSE);
@@ -255,7 +256,8 @@ void client_manage(Window window)
/* make sure it isn't an override-redirect window */
if (!XGetWindowAttributes(ob_display, window, &attrib) ||
- attrib.override_redirect) {
+ attrib.override_redirect)
+ {
grab_server(FALSE);
return; /* don't manage it */
}
@@ -263,7 +265,8 @@ void client_manage(Window window)
/* is the window a docking app */
if ((wmhint = XGetWMHints(ob_display, window))) {
if ((wmhint->flags & StateHint) &&
- wmhint->initial_state == WithdrawnState) {
+ wmhint->initial_state == WithdrawnState)
+ {
dock_add(window, wmhint);
grab_server(FALSE);
XFree(wmhint);