From 29637976e6aecf45bae84ba9ce3ecb26635012f7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 Jan 2008 02:56:12 -0500 Subject: make the window.h interface more consistent with the rest of openbox, hide the window_map behind some functions, and make obdockapps not obwindows anymore --- openbox/openbox.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index e2897e7d..ed646823 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -302,8 +302,7 @@ gint main(gint argc, gchar **argv) /* focus what was focused if a wm was already running */ if (OBT_PROP_GET32(RootWindow(obt_display, ob_screen), NET_ACTIVE_WINDOW, WINDOW, &xid) && - (w = g_hash_table_lookup(window_map, &xid)) && - WINDOW_IS_CLIENT(w)) + (w = window_find(xid)) && WINDOW_IS_CLIENT(w)) { client_focus(WINDOW_AS_CLIENT(w)); } -- cgit v1.2.3