diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-10 20:52:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-10 20:52:32 +0000 |
| commit | c4a5149016c98346bae4ce594d37065bd8f3dcf0 (patch) | |
| tree | 15f8b7c2bcfa7bead77014a0ff11645c307c72fc /openbox/client.c | |
| parent | 37169289844646c60985f9a77c0bb8935ac98515 (diff) | |
add a slit to the kernel
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c index dd25e4d2..29a20ad9 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1,4 +1,5 @@ #include "client.h" +#include "slit.h" #include "startup.h" #include "screen.h" #include "moveresize.h" @@ -176,7 +177,7 @@ void client_manage(Window window) XEvent e; XWindowAttributes attrib; XSetWindowAttributes attrib_set; -/* XWMHints *wmhint; */ + XWMHints *wmhint; grab_server(TRUE); @@ -197,18 +198,18 @@ void client_manage(Window window) return; /* don't manage it */ } -/* /\* is the window a docking app *\/ + /* is the window a docking app */ if ((wmhint = XGetWMHints(ob_display, window))) { if ((wmhint->flags & StateHint) && wmhint->initial_state == WithdrawnState) { - /\* XXX: make dock apps work! *\/ + slit_add(window, wmhint, &attrib); grab_server(FALSE); XFree(wmhint); return; } XFree(wmhint); } -*/ + g_message("Managing window: %lx", window); /* choose the events we want to receive on the CLIENT window */ |
