blackboxwm icon indicating copy to clipboard operation
blackboxwm copied to clipboard

Multi-monitor support: only use active monitor with maximize and full-screen commands

Open rprichard opened this issue 7 years ago • 4 comments

I have two monitors. When I maximize a window or make it full-screen, it occupies both monitors (i.e. the entire virtual desktop/screen). This is way too big, so I'd prefer that the window only occupy one monitor. Other window managers get this right already, so I'm guessing there's some protocol/extension that isn't implemented in blackbox.

Perhaps this issue is a feature request.

I'm currenty using blackbox version 0.72, commit 8c9e2af7d34ea076f684ce47d8e4f0268b054c71.

rprichard avatar Apr 06 '17 19:04 rprichard

_NET_WM_FULLSCREEN_MONITORS is not currently supported by BB. Most of the other window managers that I have repos for do support it. BB doesn't really have an idea of monitors: it treats multi-head setups like one big screen. So, yes, I suppose it is a feature request.

bbidulock avatar Apr 06 '17 20:04 bbidulock

Wait! This is the main reason I chose blackbox as my WM!

lucamarogna avatar Oct 19 '18 11:10 lucamarogna

But it is always possible to compile without XINERAMA extension or even disable it in config (as in following patch). From my point of view using blackbox on two monitors with different resolutions is somewhat inconvenient.

Speaking of patch - it is not mine and I don't even tried it, but maybe it may be a starting point?

aniou avatar Feb 04 '20 18:02 aniou

Speaking of patch - it is not mine and I don't even tried it, but maybe it may be a starting point?

I used that patch a long long time ago and had moderate success with it. An earlier patch against 0.65 seemed to work better on my hardware at the time.

This is a feature I too would like to see added to Blackbox, even if a runtime or compile time switch were needed to enable it. There is at least one machine where I've switched to Fluxbox because of this feature. I still much prefer using Blackbox.

stainless81 avatar Apr 22 '20 22:04 stainless81