worm icon indicating copy to clipboard operation
worm copied to clipboard

Respect dock windows better

Open codic12 opened this issue 4 years ago • 7 comments

We can treat them as special status clients and keep them raised.

Or the least we can do is at least respect their boundaries for maximization etc

codic12 avatar Oct 21 '21 05:10 codic12

This was fixed when I did the rewrite in Nim way back in November, I think..

codic12 avatar Apr 10 '22 05:04 codic12

We can treat them as special status clients and keep them raised.

This was fixed when I did the rewrite in Nim way back in November, I think..

I've noticed that _NET_WM_WINDOW_TYPE_DOCK windows are not being raised. Instead they're just not being managed.

Is there any way of having them be raised?

is0n avatar Jul 14 '22 05:07 is0n

Yes, I just keep them unmanaged. Should they be raised? Probably, I can't think currently how to do it though. Perhaps when any window is moved / resized, at the end iterate through all the dock windows and call XRaiseWindow on all.

codic12 avatar Aug 03 '22 22:08 codic12

Yes, I just keep them unmanaged. Should they be raised?

Dock windows (in my experience) are kept:

  1. Floating
  2. Raised above other windows

is0n avatar Aug 06 '22 16:08 is0n

Perhaps when any window is moved / resized, at the end iterate through all the dock windows and call XRaiseWindow on all.

But this sounds kind of hacky, not sure how well it will work. but I guess I will try to implement this.

codic12 avatar Aug 09 '22 23:08 codic12

I don't know much about window managers but the simplest solution to me is to just prevent any dock windows from being unraised/lowered.

Or maybe when a normal window is being raised, you could raise them above other normal windows but below dock windows. 🤔

is0n avatar Aug 10 '22 00:08 is0n

I don't know much about window managers but the simplest solution to me is to just prevent any dock windows from being unraised/lowered.

That would be true, but I don't think there's any X call to do that.

Or maybe when a normal window is being raised, you could raise them above other normal windows but below dock windows.

Yes, but that doesn't solve the issue if you drag a window over the panel to obscure it. I think that raising dock windows on move/resize is the only trivial way to solve this but I'll look at what other WMs do.

codic12 avatar Aug 10 '22 01:08 codic12