No focus on map hint



Applications such as IM clients may wish to indicate that they should
not be focused on initial map.  Here is an attempt to express this as a
WM hint:

--- wm-spec.sgml	2003-03-02 23:16:40.000000000 -0800
+++ wm-spec.sgml.no_focus	2003-03-13 18:15:49.000000000 -0800
@@ -926,6 +926,7 @@ _NET_WM_STATE_MAXIMIZED_HORZ, ATOM
 _NET_WM_STATE_SHADED, ATOM
 _NET_WM_STATE_SKIP_TASKBAR, ATOM
 _NET_WM_STATE_SKIP_PAGER, ATOM
+_NET_WM_STATE_NO_FOCUS_ON_MAP, ATOM
 _NET_WM_STATE_HIDDEN, ATOM
 _NET_WM_STATE_FULLSCREEN, ATOM
 _NET_WM_STATE_ABOVE, ATOM
@@ -969,6 +970,12 @@ i.e. it indicates that the window by nat
 Pager. Applications should not set this hint if _NET_WM_WINDOW_TYPE
 already conveys the exact nature of the window.
 	</para>
+	<para>
+_NET_WM_STATE_NO_FOCUS_ON_MAP indicates that when the window is first
+mapped, the window manager SHOULD NOT take focus from another window
+in order to focus the new window.  Note that the window manager MAY
+still focus the new window, if no window was previously focused.
+	</para>
         <para>
 _NET_WM_STATE_HIDDEN should be set by the Window Manager to indicate
 that a window would not be visible on the screen if its






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]