3 ms·
My favorite "weird" thing common in X11 window managers is how they can separate the focus and the raising operations. On windows(and I presume mac) these opera
by somat 3y ago
My favorite "weird" thing common in X11 window managers is how they can separate the focus and the raising operations. On windows(and I presume mac) these operations are tightly linked. Why would you want to separate them you might ask? It turns out to be really useful to look at the window on the top and be able to type/control the obscured window underneath.
On the one hand X11 sort of sucked with it's inconsistent window handling mechanisms. On the other hand because there was no central policy some very good novel productivity advancements were made in X11 space. select/single click paste, focus follows mouse, don't raise on focus. tiling window managers.
- kitsunesoba 3y agoIt won't let you type, but you can interact with most inactive windows on macOS by holding down Command and left/right clicking. Very useful for selecting text in an inactive window and copying it without first bringing the window forward.
- technofiend 3y agoThere's probably a way to force windows and macos to stop this, but I also miss that in X, default window manager behavior didn't allow a new window to forcibly yank focus. I'll chose to place and type in that new window on my schedule, thank you very much.
- vladvasiliu 3y agoIIRC, it's been possible for a long time to just scroll an inactive window on macOS, without it gaining focus. I was happy to learn that Windows also got that somewhat recently. Having an IDE up front and checking on docs or similar in a background browser with part of the website obscured is something I missed since I moved to Linux and a tiling window manager. Now I have to waste screen space showing the menu or other useless junk on the sides of the actual text. I can sometimes zoom in and scroll just right, but others the site insists on showing me all three columns at the same time. I also liked the macOS approach of not having the first click in a background window fire an action. Now I always have to watch where I click if I want to switch windows with the mouse. I think KDE might have a setting to work like this, though.
- somat 3y agoI use the tiling WM spectrwm. It lets me pull windows out of tiling mode and into window mode. I think a common operation on most tiling window managers. Most of the time I don't want overlapping windows(thus the tiling WM) but every once in a while I do, so the best of both worlds. It is a bit obscure but I quite like spectrwm, it fills this sweet spot where it is much simpler than I3 but more feature complete than DWM. https://github.com/conformal/spectrwm https://github.com/conformal/spectrwm
- vladvasiliu 3y agoI use i3, and I can set any window to "floating" mode. You can have all windows in floating mode, which makes the whole desktop behave like a regular stacking WM, though you can't "minimize" them, so it can quickly become a mess. You can even take a group of windows [0] and have the entire group be a floating window, with the individual windows inside the group continuing to follow the tiling model among themselves. But it's not something I find practical for some reason, even though I have a fairly simple keyboard shortcut to switch between tiling and floating. Maybe because this isn't really how you're supposed to use i3, so there's no "maximize", or "snap to edges" or similar. You have to move the windows around, adjust their size manually, etc. If you unplug your monitor, you're SoL if you need to retrieve some window that's now floating outside your viewport. I just gave it a try right now, and Firefox became so huge I needed a good 15 seconds to resize it so that it would fit my screen. --- [0] Windows in i3 are nodes in a tree, so you can detach one node and its children from the tiling tree. The new subtree is floating with respect to the root tree, but the nodes in the subtree are still tiled with respect to one another. This works well in "tabbed" mode, where only a window among its siblings is visible and takes up the full viewport; the others show up as tabs.
- seritools 3y ago> On windows(and I presume mac) these operations are tightly linked. That's the default on windows, but it _does_ support focus-without-raising. In fact, it's literally called `Xmouse`: https://en.wikipedia.org/wiki/Xmouse https://en.wikipedia.org/wiki/Xmouse An easy way to enable it is to use Winaero Tweaker, but it's builtin Windows functionality: https://winaero.com/turn-on-xmouse-active-window-tracking-focus-follows-mouse-pointer-feature-in-windows-8-1-windows-8-and-windows-7/ https://winaero.com/turn-on-xmouse-active-window-tracking-fo... (Just make sure "Enable window raising" is unticked).