chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #foot
orahcio has quit [Remote host closed the connection]
orahcio has joined #foot
renergy has joined #foot
<renergy>
hi, I was asking there about a possibility to start foot at specific position some time ago
<renergy>
got the reply by vyivel "xdg-shell clients have no control over window position"
<renergy>
but now I found firefox starts at "26,23" (using modified dwl compositor, with mode set to "float")
<renergy>
so firefox is not an xdg-shell client(?)
<vyivel>
probably incorrect handling of xdg_surface's window geometry; 26,23 sounds like an offset to account for titlebar/shadows or something
<vyivel>
and it is an xdg-shell client, the firefox window is an xdg_toplevel, there are no other widely available ways to create a normal window in wayland
<renergy>
I don't think so, there are no decorations in dwl
<vyivel>
client-side decorations
<vyivel>
try running weston-terminal, i bet it would have an offset as well
<vyivel>
32,32 iirc
<renergy>
just a sec
<renergy>
but btw I also wanted to remark: dosbox starts centered
<renergy>
(installing weston now)
<vyivel>
that's probably due to (modified?) dwl logic, i assume it automatically floats and centers windows which can't be resized due to min/max size constraints
<vyivel>
(useful for unresizable modal dialogs and stuff)
<renergy>
yeah weston-terminal is offset 32,32 - offset with decorations
<vyivel>
this is also pretty off-topic for this channel lol
<renergy>
in a sense though - I still would welcome the possibility to position foot at startup
<renergy>
I miss that
<renergy>
and firefox statrting at 26,23 (for whatever reason) was a glimmer of hope :)
<vyivel>
depending on your use case, maybe with (one-time?) window rules that's doable
<vyivel>
when i used bspwm i had a script which allowed me to draw a rectangle, added a rule for terminal windows to match that rectangle's position+size, and then opened a terminal
<vyivel>
the result was pretty nice
<renergy>
I'd prefer command line option - but again I've been using X for almost 30 years
<vyivel>
well, not much can be done on just the client side here
<renergy>
ok
<renergy>
still
<renergy>
(about to look into weston-terminal source)
<vyivel>
32,32 is to account for shadows
<renergy>
how come weston-terminal does start offset, and not at (0,0)
<renergy>
ah ok
<renergy>
thank you
<vyivel>
if you shift it by -32,-32 you'll notice that its corner exactly lines up with the output corner
<renergy>
no need to shift, I have a debug line which prints the position of the surface