diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-11 23:31:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-11 23:31:43 +0000 |
| commit | 7c7868f47d42796a236c9a1813bed5fe9f0d4f41 (patch) | |
| tree | 0b9d71986738ed2a4a13071fabe538f2f813c7df /openbox/stacking.c | |
| parent | fed4a9e70b516a404ebf93024a32d849f81a8e7d (diff) | |
add internal popups n shit to the stacking list.
some cleanups for the stacking order hint.
add non-opaque move/resize. cant toggle it yet.
Diffstat (limited to 'openbox/stacking.c')
| -rw-r--r-- | openbox/stacking.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c index 782a57dd..497450fe 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -26,14 +26,26 @@ void stacking_set_list() windows = g_new(Window, size); win_it = windows; for (it = g_list_last(stacking_list); it != NULL; - it = it->prev, ++win_it) - if (WINDOW_IS_CLIENT(it->data)) + it = it->prev) + if (WINDOW_IS_CLIENT(it->data)) { *win_it = window_top(it->data); + ++win_it; + } } else - windows = NULL; + windows = win_it = NULL; PROP_SETA32(ob_root, net_client_list_stacking, window, - (guint32*)windows, size); + (guint32*)windows, win_it - windows); + + g_print("Client list:"); + for (it = client_list; it; it = it->next) + g_print("0x%lx ", ((Client*)it->data)->window); + g_print("\n"); + g_print("Stacking order: "); + for (it = stacking_list; it; it = it->next) + if (WINDOW_IS_CLIENT(it->data)) + g_print("0x%lx ", ((Client*)it->data)->window); + g_print("\n"); if (windows) g_free(windows); |
