User avatar
dvdrom thermos ndgt @thermia@sk.girlthi.ng
1y
why is window.screenX always returning zero in firefox on linux?
5
0
2
0
User avatar
charlotte @halva@mk.absturztau.be
1y
@thermia modern linux conceals the location of windows from apps
:thermia_heart@sk.girlthi.ng:1
1
0
1
1
User avatar
dvdrom thermos ndgt @thermia@sk.girlthi.ng
1y
@halva ah huh, i mean that's good but i don't want that right here xd

oh well it's for a personal project so ig i could expose window position through a websocket
🧡1
1
0
1
1
User avatar
charlotte @halva@mk.absturztau.be
1y
@thermia you'd need to interface with your desktop's API, assuming there even is a way to get that

it's an intentional design choice to not allow windows to control their placement or know where they are on the display canvas
:thermia_heart@sk.girlthi.ng:1
1
0
1
1
User avatar
Luna Dragofelis is moving to void.lgbt @LunaDragofelis@em.erge.to
1y
@halva @thermia huh, why did they make this choice? And why is it not a configurable setting?
1
0
0
0
User avatar
charlotte @halva@mk.absturztau.be
1y
@LunaDragofelis @thermia iirc it's considered that this stuff is an unrelated implementation detail and shouldn't be provided to apps

eg if you have a compositor that provides an infinite canvas to move windows around, larger than the display itself, how would you convey that to the app?

and this already exists, see niri
:thermia_heart@sk.girlthi.ng:1
1
0
1
1
User avatar
charlotte @halva@mk.absturztau.be
1y
@thermia @LunaDragofelis basically global coordinates dont play well with the idea of wayland giving developers full freedom to play around with how their compositors should work. if you want a 3d space to move your windows around like visionOS, it should be possible. if you want a looooong workspace like what niri does, it should be possible
:thermia_heart@sk.girlthi.ng:1
1
0
1
1
User avatar
dvdrom thermos ndgt @thermia@sk.girlthi.ng
1y
@halva @LunaDragofelis that's fair. gotta find another approach...

there isn't selective transparency for firefox under wayland, is there?
2
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender @jeder@miau.jeder.pl
1y
@thermia @LunaDragofelis @halva wdym
:thermia_heart@sk.girlthi.ng:1
1
0
1
1
User avatar
dvdrom thermos ndgt @thermia@sk.girlthi.ng
1y
@jeder @LunaDragofelis @halva can one make certain parts of the firefox ui transparent and have the compositor show whatever is underneath the transparent elements?
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender @jeder@miau.jeder.pl
1y
@thermia @LunaDragofelis @halva uuuuuuh
that sounds out of this world even with x tbh
:thermia_heart@sk.girlthi.ng:1
2
0
1
1
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender @jeder@miau.jeder.pl
1y
@thermia @LunaDragofelis @halva or do you mean like
aero
:thermia_heart@sk.girlthi.ng:1
0
0
1
1