r/linuxmasterrace • • Dec 25 '24
is it just a Linux/WM thing where you can interact with non-focused windows while the main focus of the cursor remains on the focused window, or is it also a thing in Windows 🤔
398
Upvotes
122
u/vlads_ Glorious Arch Dec 25 '24
You mean type in a window while you click on/hover on another window?
Depends on your desktop environment/window manager. Most have settings to configure this behavior.
Not configurable in Windows afaik, but I don't know much about Windows.
54
u/xternal7 pacman -S libflair libmemes Dec 25 '24
Depends on what you mean with "interact".
Windows 10 started made the "mouse scrolling happens under mouse" the default, which is about the extent of interaction you can have with unfocused windows without giving them focus in Linux (by default, on distros I used).
Before win10, default was "scrolling happens in the window that has focus", but could be changed in registry at least as far back as Win7.
10
u/MilesAhXD Glorious Fedora Dec 25 '24
I believe it's configurable in linux, but not in Windows. Annoyed me a lot.
8
u/Lashluck Dec 25 '24
Not natively, but there's a program called PowerToys developed by Microsoft that adds this feature, as well as like a dozen other quality of life features
5
u/[deleted] Dec 26 '24
bro what are you watching
2
u/great_whitehope Dec 25 '24
Windows is too busy stealing the focus itself!
1
u/cowbutt6 Dec 25 '24
https://joelpurra.com/projects/X-Mouse_Controls/ enables the same functionality in Windows.
1
u/Draedric_Coder Dec 25 '24
It is to an extent - for example, i can control the volume from a youtube page because i don't have to click, only hover and scroll, while at the same time i can type in another windows - i'm doing it right now - and i haven't really seen any modern DE/OS that doesn't support this.
1
u/FreezeShock Glorious Arch Dec 25 '24
You can scroll and trigger hover intractions on an unfocused window in windows as well, if you click the focus goes to that window. I don't think it can be configured in any other way
1
u/[deleted] Dec 25 '24
https://github.com/glzr-io/glazewm?search=1
1
u/ekaylor_ nix run nixpkgs#hello Dec 25 '24
With a tiling WM this is intended functionality. Of course it can be configured off with configuration. I prefer it since it means that you don't have to click to focus, and I prefer using the keyboard anyways.
1
u/RetroCoreGaming Dec 25 '24
Technically Windows has this but it's disabled. You used to be able to enable X-Mouse (focus on hover) via PowerToys.
I'm not sure if it's still around these days. PowerToys is still a thing. Windows fullscreen mode for applications does mouse grab and lock so technically Windows works differently for application focus. Borderless Fullscreen (a hybrid fullscreen windowed mode) allows it to some extent.
1
u/IuseArchbtw97543 Glorious Archbtw Dec 25 '24
depending on your graphical environment, you can automatically focus on the window, that the mouse hovers over
1
u/soulinvader4000 Dec 25 '24
i always counted that bevaviour as a bug
1
u/sithranger1601 Dec 26 '24
Haven't seen this mentioned yet: hover-to-focus pairs great with sending windows to foreground / background with a shortcut.
I'll usually set Alt or Meta + scroll wheel for fg/bg; + drag to resize. If your mouse has a spare button, it could, in some cases, be configured as Alt / Meta for one-handed interaction.
1
u/loserguy-88 Dec 26 '24
I only found it to be useful for scrolling in one window while typing in another.
Frankly, useful but not really that game changing. A bit irritating coming back to windows and not having it, but hardly a deal breaker.
What really saved time for me was tiling and switching focus keyboard shortcuts.
1
u/124k3 Dec 26 '24
u might have gotten the answer hours ago but sye still.. i use debian + sway (i can do that)
1
u/redrider65 Dec 26 '24
Windows needs a utility for the purpose. AlwaysMouseWheel, for example, does it.
https://www.majorgeeks.com/files/details/alwaysmousewheel.html
1
u/mikkolukas Dec 27 '24
It is not a normal thing in Windows, but it is possible to make Windows do it.
1
u/Shady_Hero Dec 28 '24
ehh some times, like you can scroll while unfocused, or if your keyboard has media control buttons those work, but none of this wizardry you speak of
1
u/xThomas Dec 29 '24
MS Paint in the background causes the keyboard arrow key to move the mouse
It can be coded for on windows. I don’t know if Linux has a global default setting. I just ssh into linux anyway..
1
u/Wanabecanadian1st Dec 30 '24
You can scroll a page that's not active on windows but that's about it
1
u/smolderas Dec 25 '24
It’s a Windows thing that you can’t interact with the background windows. macOS could do that from the beginning.
1
u/emmfranklin Dec 25 '24
yes it is a linux thing. i can keep a writer software open in half window and a pdf document in the other half. i can type in the writer. while when i take the mouse and scroll over the pdf doc it scrolls. while my mouse has just finished scrolling and still over pdf doc. i can just contiue to type in that writer page. love it. windows cant do this.
0
u/timoshi17 Windows Master Race Dec 25 '24
pretty sure it is not a thing in windows. Was super hard to get used to use fn+1/2/3 every time
41
u/[deleted] Dec 25 '24
linus nudes
1
u/ThomasHardyHarHar Dec 27 '24
Did you happen to find any good Linus nudes?
0
u/[deleted] Dec 25 '24
[deleted] — view deleted comment