Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect dock windows better #16

Open
codic12 opened this issue Oct 21, 2021 · 7 comments
Open

Respect dock windows better #16

codic12 opened this issue Oct 21, 2021 · 7 comments

Comments

@codic12
Copy link
Owner

codic12 commented Oct 21, 2021

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
Copy link
Owner Author

codic12 commented Apr 10, 2022

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

@codic12 codic12 closed this as completed Apr 10, 2022
@is0n
Copy link

is0n commented Jul 14, 2022

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?

@codic12
Copy link
Owner Author

codic12 commented Aug 3, 2022

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 codic12 reopened this Aug 3, 2022
@is0n
Copy link

is0n commented Aug 6, 2022

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

Dock windows (in my experience) are kept:

  1. Floating
  2. Raised above other windows

@codic12
Copy link
Owner Author

codic12 commented Aug 9, 2022

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.

@is0n
Copy link

is0n commented Aug 10, 2022

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. 🤔

@codic12
Copy link
Owner Author

codic12 commented Aug 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants