summaryrefslogtreecommitdiff
path: root/openbox/prop.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-11 02:06:34 +0000
committerDana Jansens <danakj@orodu.net>2007-03-11 02:06:34 +0000
commit9d6e3907650f4bc05ebf147aeec92573d7b88758 (patch)
treef85f202345b1154a4a4f83a8d26570e10dda9eca /openbox/prop.c
parentbd19fd06db8905ef835109414314ef928370a7d7 (diff)
add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus new windows if the user is doing something in another window since it launched. If we can tell when it launched, either from the _NET_WM_USER_TIME or from startup notification.
Diffstat (limited to 'openbox/prop.c')
-rw-r--r--openbox/prop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/prop.c b/openbox/prop.c
index 977dbe95..686404d4 100644
--- a/openbox/prop.c
+++ b/openbox/prop.c
@@ -84,6 +84,7 @@ void prop_startup()
CREATE(net_wm_icon, "_NET_WM_ICON");
/* CREATE(net_wm_pid, "_NET_WM_PID"); */
CREATE(net_wm_allowed_actions, "_NET_WM_ALLOWED_ACTIONS");
+ CREATE(net_wm_user_time, "_NET_WM_USER_TIME");
CREATE(net_frame_extents, "_NET_FRAME_EXTENTS");
/* CREATE(net_wm_ping, "_NET_WM_PING"); */