summaryrefslogtreecommitdiff
path: root/openbox/window.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-31 10:18:35 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:25:31 -0500
commitd81c4be6001a711e9f0dea247f43d8de670bc27f (patch)
treebd5773436a057e99605e33a26a00597725faa3ec /openbox/window.c
parent90ca468efa678428f655765ffb0190da2a41b23c (diff)
don't assert when you window_find(0)/dockapp_find(0), just return 0
Diffstat (limited to 'openbox/window.c')
-rw-r--r--openbox/window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbox/window.c b/openbox/window.c
index f094602c..e13638e0 100644
--- a/openbox/window.c
+++ b/openbox/window.c
@@ -76,7 +76,6 @@ ObStackingLayer window_layer(ObWindow *self)
ObWindow* window_find(Window xwin)
{
- g_assert(xwin != None);
return g_hash_table_lookup(window_map, &xwin);
}