gri3-wm/src
Tony Crisci dee6264d57 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
2014-01-18 16:25:37 +01:00
..
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
assignments.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
click.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
commands.c return parse errors via IPC for append_layout 2014-01-04 21:39:13 +01:00
commands_parser.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
con.c Fix 'gcc -Wextra -Wno-unused-parameter'. 2014-01-04 20:43:30 +01:00
config.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
config_directives.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
config_parser.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
debug.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
display_version.c use designated initializers for yajl_callbacks struct 2014-01-06 22:12:14 +01:00
ewmh.c actively delete _NET_WORKAREA on startup 2013-07-13 12:24:15 +02:00
fake_outputs.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
floating.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
handlers.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
i3.mk Merge branch 'master' into next 2014-01-04 12:23:06 +01:00
ipc.c Merge branch 'master' into next 2014-01-13 23:36:47 +01:00
key_press.c use designated initializers for yajl_callbacks struct 2014-01-06 22:12:14 +01:00
load_layout.c use designated initializers for yajl_callbacks struct 2014-01-06 22:12:14 +01:00
log.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
main.c Merge branch 'master' into next 2014-01-04 12:20:12 +01:00
manage.c Respect Motif hint for window decorations 2014-01-18 16:25:37 +01:00
match.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
move.c Merge branch 'master' into next 2014-01-13 23:36:47 +01:00
output.c fix two more crashes when disabling an empty output 2013-01-25 14:53:15 +01:00
randr.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00
regex.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
render.c Revert "raise fullscreen windows on top of all other X11 windows" 2013-08-27 20:21:11 +02:00
resize.c Size resizebar according to container size. 2014-01-01 15:21:33 +01:00
restore_layout.c dragging: instead of using a custom event loop, use libev 2013-12-22 21:52:49 +01:00
scratchpad.c Do not resize/reposition floating containers when moving them to scratchpad 2013-09-30 22:54:35 +02:00
sd-daemon.c implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
sighandler.c spelling fix: s/succesfully/successfully/ 2012-09-20 10:55:03 +02:00
startup.c Use _PATH_BSHELL to ensure using a bourne shell 2013-11-09 10:11:32 +01:00
tree.c return parse errors via IPC for append_layout 2014-01-04 21:39:13 +01:00
util.c Fix 'gcc -Wextra -Wno-unused-parameter'. 2014-01-04 20:43:30 +01:00
window.c Respect Motif hint for window decorations 2014-01-18 16:25:37 +01:00
workspace.c Bugfix: `move <direction>` sends workspace focus 2014-01-13 23:36:31 +01:00
x.c Disable render-time pointer warps if asked 2014-01-04 20:52:12 +01:00
xcb.c libi3: Rework font to support multiple backends 2012-08-13 11:39:29 +02:00
xcursor.c switch from libXcursor to xcb-util-cursor 2013-08-17 09:44:20 +02:00
xinerama.c Fix clang -Wextra except -Wunused-parameter. 2014-01-02 22:15:33 +01:00