]> icculus.org git repositories - dana/openbox.git/commit
Make NET_ACTIVE messages always treated as from the user. Loosen up focus stealing...
authorDana Jansens <danakj@orodu.net>
Sat, 16 Oct 2010 21:19:24 +0000 (17:19 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:23 +0000 (14:19 -0500)
commit385967b55290105f074080890d55b50d9622b89d
tree93004d6c72d4bf2b0d5c787ad4304f5553eeafe5
parentd291a9c7aa685b6d8bd6aa70cdc543926702c301
Make NET_ACTIVE messages always treated as from the user.  Loosen up focus stealing for user-requested focusing.

Seems panels such as xfce's and gnome's still treat their activation requests
  as being from an application when a user has requested it.

Make the focus stealing code more lenient for user-requested focusings
  (_NET_ACTIVE).  But treat new windows as not user-requested unless they
  gave a launch time.

When activating a window, if another window would be the one to actually get
  focused, then activate that instead (avoid clicking a window in the panel and
  nothing happens).
openbox/client.c
openbox/event.c