Respect Motif hint for window decorations
When the _MOTIF_WM_HINTS property of a window specifies it should have no title bar, or no decorations at all, respond by setting the border style of that container to BS_PIXEL or BS_NONE respectively. This comes from the old Motif window manager. It was originally intended to specify exactly what sort of decorations a window should have, and exactly what sort of user input it should respond to. The EWMH spec intended to replace Motif hints with _NET_WM_WINDOW_TYPE, but it is still in use by popular widget toolkits such as GTK+ and Java AWT. i3's implementation simply mirrors Gnome's Metacity. Official documentation of this hint is nowhere to be found. For more information see: https://people.gnome.org/~tthurman/docs/metacity/xprops_8h-source.html http://stackoverflow.com/questions/13787553/detect-if-a-x11-window-has-decorations fixes #832
This commit is contained in:
committed by
Michael Stapelberg
parent
10d7c1a993
commit
dee6264d57
@ -31,3 +31,4 @@ xmacro(I3_SHMLOG_PATH)
|
||||
xmacro(I3_PID)
|
||||
xmacro(_NET_REQUEST_FRAME_EXTENTS)
|
||||
xmacro(_NET_FRAME_EXTENTS)
|
||||
xmacro(_MOTIF_WM_HINTS)
|
||||
|
Reference in New Issue
Block a user