From: Mikael Magnusson Date: Sun, 9 Mar 2008 17:53:11 +0000 (+0100) Subject: Merge branch 'work' into wip/mikabox X-Git-Tag: mikabox-3.4.7.2~52 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8843a2311891a9fd9accb4be47f610606ca9e477;p=mikachu%2Fopenbox.git Merge branch 'work' into wip/mikabox Conflicts: openbox/client.c --- 8843a2311891a9fd9accb4be47f610606ca9e477 diff --cc openbox/client.c index 5188851e,0ccb343b..cb1d6160 --- a/openbox/client.c +++ b/openbox/client.c @@@ -427,9 -428,24 +430,15 @@@ void client_manage(Window window, ObPro "launched at %u (last user interaction time %u)", self->window, map_time, launch_time, event_last_user_time); + ob_debug_type(OB_DEBUG_FOCUS, + "Current focus_client: %s", + (focus_client ? focus_client->title : "(none)")); + ob_debug_type(OB_DEBUG_FOCUS, + "parent focuesed: %d relative focused: %d", + parent_focused, relative_focused); - if (menu_frame_visible || moveresize_in_progress) { - activate = FALSE; - raise = TRUE; - ob_debug_type(OB_DEBUG_FOCUS, - "Not focusing the window because the user is inside " - "an Openbox menu or is move/resizing a window and " - "we don't want to interrupt them"); - } - /* if it's on another desktop */ - else if (!(self->desktop == screen_desktop || + if (!(self->desktop == screen_desktop || self->desktop == DESKTOP_ALL) && /* the timestamp is from before you changed desktops */ launch_time && screen_desktop_user_time &&