don't assert when you window_find(0)/dockapp_find(0), just return 0
Dana Jansens danakj@orodu.net
2 files changed,
0 insertions(+),
2 deletions(-)
M
openbox/dock.c
→
openbox/dock.c
@@ -651,7 +651,6 @@ }
ObDockApp* dock_find_dockapp(Window xwin) { - g_assert(xwin != None); GList *it; /* there are never that many dock apps, so we can use a list here instead of a hash table */
M
openbox/window.c
→
openbox/window.c
@@ -76,7 +76,6 @@ }
ObWindow* window_find(Window xwin) { - g_assert(xwin != None); return g_hash_table_lookup(window_map, &xwin); }