From d81c4be6001a711e9f0dea247f43d8de670bc27f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 Jan 2008 10:18:35 -0500 Subject: don't assert when you window_find(0)/dockapp_find(0), just return 0 --- openbox/window.c | 1 - 1 file changed, 1 deletion(-) (limited to 'openbox/window.c') 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); } -- cgit v1.2.3