328035fb7e
We already claim _NET_WM_DESKTOP support in _NET_SUPPORTED since around 2009, but haven't actually done anything with it. However, especially pagers like gnome-panel rely on this property to be updated and many tools, like GTK, want to use the corresponding client messages to make a window sticky, move it around etc. This patch implements full support according to the EWMH spec. This means: * We set the property on all windows when managing it. * We keep the property updated on all windows at all times. * We read and respect the property upon managing a window if it was set before mapping the window. * We react to client messages for it. * We remove the property on withdrawn windows. Note that the special value 0xFFFFFFFF, according to the spec, means that the window shall be shown on all workspaces. We do this by making it sticky and float it. This shows it on all workspaces at least on the output it is on. Furthermore, the spec gives us the freedom to ignore _NET_WM_DESKTOP when managing a window if we have good reason to. In our case, we give window swallowing a higher priority since the user would likely expect that and we want to keep placeholder windows only around for as long as we have to. However, we do prioritize this property over, for example, startup notifications. fixes #2153 fixes #1507 fixes #938 |
||
---|---|---|
contrib | ||
debian | ||
docs | ||
i3-config-wizard | ||
i3-dump-log | ||
i3-input | ||
i3-msg | ||
i3-nagbar | ||
i3bar | ||
include | ||
libi3 | ||
man | ||
parser-specs | ||
src | ||
testcases | ||
.clang-format | ||
.gitignore | ||
.travis.yml | ||
common.mk | ||
CONTRIBUTING.md | ||
DEPENDS | ||
generate-command-parser.pl | ||
i3-dmenu-desktop | ||
i3-migrate-config-to-v4 | ||
i3-save-tree | ||
i3-sensible-editor | ||
i3-sensible-pager | ||
i3-sensible-terminal | ||
i3-with-shmlog.xsession.desktop | ||
i3.applications.desktop | ||
i3.config | ||
i3.config.keycodes | ||
i3.xsession.desktop | ||
LICENSE | ||
logo.svg | ||
Makefile | ||
PACKAGE-MAINTAINER | ||
pseudo-doc.doxygen | ||
RELEASE-NOTES-4.11 | ||
release.sh |