conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.34k stars 97 forks source link

Implement _NET_WM_WINDOW_TYPE_DOCK #151

Closed hkkmori closed 1 year ago

hkkmori commented 8 years ago

Hi,

I would like to use a gtk panel like lxpanel for instance, instead of the default bar . Maybe we need to reserve space for the panel for this , but i don't know the complete method.

Thanks.

seschwar commented 8 years ago

I also would like to use an EWMH compliant third-party panel. However the current handling of docks leaves much to be desired.

Docks are treated as floating windows. However this means that you can accidentally focus, move or resize them. Additional NOFOCUS* hints are not enough since they don't fully prevent the dock from being focused. For example the dock still can be focused, moved and resized with the mouse.

seschwar commented 8 years ago

147 seems to address this.

marcopeereboom commented 7 years ago

You can reserve an area that remains untouched by spectrum. Plop your dock app there and life is good. It is documented in the man page.

seschwar commented 7 years ago

I don't find region and quirk[...] = FLOAT + ANYWHERE + MINIMALBORDER + NOFOCUSCYCLE + NOFOCUSONMAP satisfactory. The quirk is not enough because you still can focus and move the dock with the mouse. It can be quite annoying when that happens by accident. And manually setting the region gets tedious if you dynamically change your screen configuration in order to give presentations for example.

It would be nice if spectrwm would be smarter about _NET_WM_WINDOW_TYPE_DOCK windows out of the box.

marcopeereboom commented 7 years ago

That's a fair request. I'll reopen issue and see if someone sends in a PR.

Please rename the issue to say something like: "Implement _NET_WM_WINDOW_TYPE_DOCK"