Code Monkey home page Code Monkey logo

Comments (10)

CorneliusCornbread avatar CorneliusCornbread commented on August 24, 2024 1

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.

comp500 avatar comp500 commented on August 24, 2024

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.

vlad2305m avatar vlad2305m commented on August 24, 2024

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.

comp500 avatar comp500 commented on August 24, 2024

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.

vlad2305m avatar vlad2305m commented on August 24, 2024

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.

comp500 avatar comp500 commented on August 24, 2024

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.

vlad2305m avatar vlad2305m commented on August 24, 2024

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.

dolphin-cat avatar dolphin-cat commented on August 24, 2024

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.

vlad2305m avatar vlad2305m commented on August 24, 2024

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.

Lamdarer avatar Lamdarer commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.