awful.placement.no_overlap: Ignore desktop clients
commitd56a5abd9936dbda82ed72620064d0300549e346
authorUli Schlachter <psychon@znc.in>
Fri, 3 Sep 2010 15:43:36 +0000 (3 17:43 +0200)
committerUli Schlachter <psychon@znc.in>
Fri, 3 Sep 2010 15:47:12 +0000 (3 17:47 +0200)
treedac0ff39c4c145feb8053547bb86baf286672e7b
parent92183caad07d59987993e24f5335d5ceb5b4f7f5
awful.placement.no_overlap: Ignore desktop clients

EWMH describes desktop windows like this:

"_NET_WM_WINDOW_TYPE_DESKTOP indicates a desktop feature. This can include a
single window containing desktop icons with the same dimensions as the screen,
allowing the desktop environment to have full control of the desktop, without
the need for proxying root window clicks."

An example for such a window is nautilus' virtual root window. Naturally, such a
window would always overlap with any given client, so awful.placement.no_overlap
just didn't do anything at all. The fix is to ignore such clients for placement
calculations.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/awful/placement.lua.in