diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-11 02:06:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-11 02:06:34 +0000 |
| commit | 9d6e3907650f4bc05ebf147aeec92573d7b88758 (patch) | |
| tree | f85f202345b1154a4a4f83a8d26570e10dda9eca /openbox/screen.c | |
| parent | bd19fd06db8905ef835109414314ef928370a7d7 (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/screen.c')
| -rw-r--r-- | openbox/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index c1c61ed5..a4dfb76e 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -204,7 +204,7 @@ gboolean screen_annex() window, screen_support_win); /* set the _NET_SUPPORTED_ATOMS hint */ - num_support = 53; + num_support = 54; i = 0; supported = g_new(gulong, num_support); supported[i++] = prop_atoms.net_current_desktop; @@ -258,6 +258,7 @@ gboolean screen_annex() supported[i++] = prop_atoms.net_wm_state_demands_attention; supported[i++] = prop_atoms.net_moveresize_window; supported[i++] = prop_atoms.net_wm_moveresize; + supported[i++] = prop_atoms.net_wm_user_time; supported[i++] = prop_atoms.net_frame_extents; supported[i++] = prop_atoms.ob_wm_state_undecorated; g_assert(i == num_support); |
