Comments (10)
That's... interesting. Without Borderless Mining, GLFW should always minimise on lost focus if GLFW_AUTO_ICONIFY is set (it's set by default, and not disabled by Minecraft), so unless KWin is lying to it or there's some Xwayland shenanigans I don't know why it wouldn't minimise.
@OffsetMonkey538 @CorneliusCornbread how well does vanilla fullscreen work on your setups?
Vanilla fullscreen works perfectly fine, it just won't stay open when selecting other windows on other monitors.
from borderlessmining.
Does it work with multiple monitors on KDE? I was under the impression that clicking out of the Minecraft window in vanilla causes it to minimise on both Windows and Linux, so this mod is still useful for multiple-monitor setups even when the compositor doesn't give exclusive display access.
from borderlessmining.
I have 2 monitors and I can click outside minecraft without it minimising. Actually, when this mod is enabled, it "fullscreens" without covering the action bar, and if I fullscreen the window in the compositor, F11 just does nothing. I am using kwin on wayland if that helps. (Osu!lazer minimizes on lost focus, so I think Minecraft never intended to in the first place)
from borderlessmining.
That's... interesting. Without Borderless Mining, GLFW should always minimise on lost focus if GLFW_AUTO_ICONIFY is set (it's set by default, and not disabled by Minecraft), so unless KWin is lying to it or there's some Xwayland shenanigans I don't know why it wouldn't minimise.
@OffsetMonkey538 @CorneliusCornbread how well does vanilla fullscreen work on your setups?
from borderlessmining.
Oh. I see what you mean. Indeed, if I make minecraft fullscreen from within minecraft, it will minimize. But I have a system-wide shortcut for making apps fullscreen, which I use instead because it works on any app. Granted, it tells everybody but minecraft that it's fullscreen.
from borderlessmining.
I wonder if a good strategy then would just be to disable GLFW_AUTO_ICONIFY
on Linux, rather than using the technique Borderless Mining currently uses on Windows. Should solve #54 as well!
from borderlessmining.
It would be wonderful, because afaik only Windows has composting problems with fullscreen apps like not showing second monitor, and that default setting looks like a bad solution made specifically for Windows.
from borderlessmining.
Oh. I see what you mean. Indeed, if I make minecraft fullscreen from within minecraft, it will minimize. But I have a system-wide shortcut for making apps fullscreen, which I use instead because it works on any app. Granted, it tells everybody but minecraft that it's fullscreen.
can you share the code pls?
from borderlessmining.
There is no code. It is Settings -> Shortcuts -> KWin -> Make Window Fullscreen
(on KDE Plasma Wayland v 5.27.2)
I have no intention to read KDE's repository. If you want any debug info, I can run your debug jar.
from borderlessmining.
Thanks, alternatively it is possible to set a Windowrule to automatically make Minecraft fullscreen 'Settings'-> Workspace>Windowmanagement->Windowrules->New and than catch the window, set Windowclass to apply if "minecraft*" is included and Fullscreen to "Yes".
Now it should always do the trick.
I also set Windowtitel to unimportant "Minecraft*" (Note I used the ATlauncher so the naming could differ if you use something else, but the windowrules are mostly intuitive via the GUI)
from borderlessmining.
Related Issues (20)
- [Linux] Proper Wayland Support HOT 1
- Update to 1.20.4 HOT 1
- Game crashing
- Update to 1.20.6 HOT 3
- borderless mining doesn't work with pip on google chrome
- HELP ALT TAB DOES NOT WORK AT ALL HOT 1
- Game crashing when opening other HOT 2
- IDK why it still not working for me.
- Suggestion - No Render Reloading On Borderless
- OBS screen recording doesn't work if I use the mod.
- Update to 1.21
- Does not work on 1.20.2 HOT 2
- Cant hide the taskbar on Linux HOT 1
- [Feature Request] 1.20.3/4 Menu Support HOT 4
- Crash trying to access mod's settings in 1.20.4 HOT 1
- keeps resetting hdr for minecraft 1.20.1 sodium with the borderless window on HOT 1
- 1.20.4 support when? HOT 1
- [Request] Add mod to modrinth HOT 1
- ModMenu config crash HOT 3
- Can't overlay anything, game thinks it's still in exclusive fullscreen mode. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borderlessmining.