Merge branch 'work' into wip/mikabox
authorMikael Magnusson <mikachu@gmail.com>
Wed, 29 Oct 2008 12:50:50 +0000 (13:50 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Wed, 29 Oct 2008 12:50:50 +0000 (13:50 +0100)
Conflicts:
openbox/event.c

1  2 
data/rc.xml
obt/prop.c
obt/prop.h
openbox/actions/desktop.c
openbox/client.c
openbox/event.c

diff --cc data/rc.xml
Simple merge
diff --cc obt/prop.c
Simple merge
diff --cc obt/prop.h
Simple merge
Simple merge
index 658203132cd4e7049daf8129a962879f23cf5280,5686a93969b979f321b8f086b20f566fbf7979bb..fa5a979ddfef85e87ce3624cb337ad8c06f86e41
@@@ -281,10 -284,11 +285,12 @@@ void client_manage(Window window, ObPro
          /* this means focus=true for window is same as config_focus_new=true */
          ((config_focus_new || (settings && settings->focus == 1)) ||
           client_search_focus_tree_full(self)) &&
+         /* NET_WM_USER_TIME 0 when mapping means don't focus */
+         (user_time != 0) &&
          /* this checks for focus=false for the window */
          (!settings || settings->focus != 0) &&
 -        focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE))
 +        focus_valid_target(self, FALSE, FALSE, TRUE, FALSE, FALSE) &&
 +        (!focus_cycle_target || !config_focus_dontstop))
      {
          activate = TRUE;
      }
diff --cc openbox/event.c
Simple merge