summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-11 23:31:43 +0000
committerDana Jansens <danakj@orodu.net>2003-05-11 23:31:43 +0000
commit7c7868f47d42796a236c9a1813bed5fe9f0d4f41 (patch)
tree0b9d71986738ed2a4a13071fabe538f2f813c7df /openbox/window.c
parentfed4a9e70b516a404ebf93024a32d849f81a8e7d (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/window.c')
-rw-r--r--openbox/window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/window.c b/openbox/window.c
index 90de822f..11f5e46b 100644
--- a/openbox/window.c
+++ b/openbox/window.c
@@ -13,6 +13,8 @@ Window window_top(ObWindow *self)
return ((Slit*)self)->frame;
case Window_Client:
return ((Client*)self)->frame->window;
+ case Window_Internal:
+ return ((InternalWindow*)self)->win;
}
g_assert_not_reached();
return None;
@@ -27,6 +29,8 @@ Window window_layer(ObWindow *self)
return ((Slit*)self)->layer;
case Window_Client:
return ((Client*)self)->layer;
+ case Window_Internal:
+ return Layer_Internal;
}
g_assert_not_reached();
return None;