summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2009-08-08 17:59:01 +0100
committerThomas Thurman <tthurman@gnome.org>2010-05-02 11:46:51 -0400
commitb272c4ca7f3a784d011eea5c3fd348011f8558b3 (patch)
treeb21ac4a89db7e9c6d854d2ace1554d34ed797bd7 /src/ui
parentf7e4514b76f7204bf86c545995ce0cfb2a461e87 (diff)
downloadmetacity-b272c4ca7f3a784d011eea5c3fd348011f8558b3.tar.gz
metacity-b272c4ca7f3a784d011eea5c3fd348011f8558b3.tar.bz2
Use correct timestamp for focus stealing prevention
When window initially maps, use the more recent of NET_WM_USER_TIME and startup notification timestamps to compare against last known user action to decide whether to focus the window or not. Once we show the window, clear the initial_timestamp_set flag, so the startup notification timestamp is not taken into account again. Based on patch for metacity by Alexander Larsson http://bugzilla.gnome.org/show_bug.cgi?id=573922
Diffstat (limited to 'src/ui')
0 files changed, 0 insertions, 0 deletions