t.window.borderless

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
AntonyOakenfull
Prole
Posts: 6
Joined: Thu Mar 02, 2023 6:10 pm

t.window.borderless

Post by AntonyOakenfull »

Hello,

I am working on a Macbook ( MacOS ). I have gave my project a borderless window ( t.window.borderless = true ) which works great, I want to make my own controls to minimise the window, I have made a button which runs this code " love.window.minimize() ", but on MacOS with a borderless window the minimise code dose not work. I am not sure if this works on Windows.

Has any one done this before? can anyone help please?

Thank you
User avatar
GVovkiv
Party member
Posts: 670
Joined: Fri Jan 15, 2021 7:29 am

Re: t.window.borderless

Post by GVovkiv »

Can you provide more info? Working code example? Maybe your code is simple fails before minimize() function.


Offtopic, but I find this incredible annoying, when game or program developer trying to hide window decorations and implement their own. Which never will look good and native to system where this game/program is run.
User avatar
Azzla
Prole
Posts: 38
Joined: Sun Mar 29, 2020 2:23 am

Re: t.window.borderless

Post by Azzla »

Please provide either a .love or a sample of the code that isn't working. Also, you should post requests for help under "Support & Development" in the future.
libraries: Stalkpile
electronic music stuff: https://soundcloud.com/azzlamusic
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 63 guests