hancin / Fullscreen-Windowed-Minecraft

Allows you to make your game run in borderless windowed instead of the default fullscreen. Compatible with all MC 1.7.10 and up.
https://minecraft.curseforge.com/projects/fullscreen-windowed-borderless-for-minecraft
BSD 2-Clause "Simplified" License
18 stars 12 forks source link

Window not fullscreened on Linux with cinnamon. #19

Open alextpedro opened 7 years ago

alextpedro commented 7 years ago

I use Linux mint 18.1 with cinnamon. Pressing f11 does make the window grow bigger but it keeps a border and stays under the taskbar (as mine is on the top) while the bottom of the window goes offscreen.

hancin commented 7 years ago

Hi there,

I'll try to spin up a cinnamon instance and see if I can reproduce & fix this.

Cheers

C0rn3j commented 7 years ago

Same on Arch Linux with Cinnamon and Nvidia proprietary drivers.

I'd like to point out this is also an issue with Dota 2 where choosing "desktop friendly fullscreen" fixes the issue. (not sure if the dota 2 info is exact, I'm going off memory).

Though there's no border, it's just that the taskbar is over the top of the window.

hancin commented 7 years ago

I installed linux mint with cinnamon to test and there is definitely an issue on cinnamon environments with my mod.

At this time the only fixes I find are to use native libraries to get info about the panels but this would be an absolute nightmare to support. I am still looking to see what can be done to fix this, at the minimum find out what the available space is and just leave the panels visible while the game is maximized.

As a workaround for now. it is possible to dive into the config file (config/fw.cfg) and set custom width and height dimensions (eg. B:customFullscreenDimensions=true, I: I:customFullscreenDimensionsW=1920, I:customFullscreenDimensionsH=1060 ) to get the window just right so it doesn't cut off at the bottom.