From: Mikael Magnusson Date: Wed, 5 Nov 2008 18:36:16 +0000 (+0100) Subject: Merge branch 'work' into wip/mikabox X-Git-Tag: mikabox-3.4.7.2~21 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=50de54cbf206c299252409e7fd50810ccaff8337;p=mikachu%2Fopenbox.git Merge branch 'work' into wip/mikabox Conflicts: openbox/event.c --- 50de54cbf206c299252409e7fd50810ccaff8337 diff --cc openbox/event.c index e047608f,30bc656f..dc610d51 --- a/openbox/event.c +++ b/openbox/event.c @@@ -1362,13 -1344,10 +1362,13 @@@ static void event_handle_client(ObClien } else ob_debug_type(OB_DEBUG_APP_BUGS, "_NET_ACTIVE_WINDOW message for window %s is " - "missing source indication"); + "missing source indication", client->title); - client_activate(client, TRUE, TRUE, TRUE, - (e->xclient.data.l[0] == 0 || - e->xclient.data.l[0] == 2)); + if (!client->locked) + client_activate(client, TRUE, TRUE, TRUE, + (e->xclient.data.l[0] == 0 || + e->xclient.data.l[0] == 2)); + } else if (msgtype == OBT_PROP_ATOM(OB_FOCUS)) { + client_focus(client); } else if (msgtype == OBT_PROP_ATOM(NET_WM_MOVERESIZE)) { ob_debug("net_wm_moveresize for 0x%lx direction %d", client->window, e->xclient.data.l[2]);