Re: [i3] EWMH for panels

  • From: Axel Wagner <mail@xxxxxxxxxxx>
  • To: Alexander Corvinus <acrvns@xxxxxxxxx>
  • Date: Tue, 20 Mar 2012 15:49:17 +0100

Hi,

Excerpts from Alexander Corvinus's message of 2012-03-20 15:21:17 +0100:

Can you please elaborate, which hints need to be set?

You need to set the window-type to _NET_WM_WINDOW_TYPE_DOCK and set the
_NET_WM_STRUT_PARTIAL property, which basically says how much space you
want and where you want to be placed.
You can find an example of both in i3bar/src/xcb.c:1241 resp.
i3bar/src/xcb.c:1283.
Furthor information about _NET_WM_STRUT_PARTIAL is provided in the EWMH-spec [1]

Can they be set in something like devilspie?

I looked at [2] and there does not seem to exist an action to set STRUT
or STRUT_PARTIAL, but you can set the window-type. Oddly there appears
to be no way to set arbitrary EWMH-properties, which I find pretty
unflexible…
I don't know from the top of my head, what i3 does, when you request to be
docking but don't set STRUT_PARTIAL. Iirc it used to put the window at the
top of the screen.

Even dzen2's stable release currently can't set
them on its own, so panel overlaps windows or other content.

This is only because the developer of dzen2 hasn't done a stable release
in years. The code exists in the svn-repository for quite some time ;)

Regards,

Axel

[1] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2578550
[2] http://www.foosel.org/linux/devilspie#actions

Attachment: signature.asc
Description: PGP signature

Other related posts:

  • » Re: [i3] EWMH for panels - Axel Wagner