dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.22.3 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
jmcantrell has joined #foot
Abner has quit [Quit: Leaving.]
orahcio has quit [Ping timeout: 244 seconds]
orahcio has joined #foot
orahcio has quit [Ping timeout: 244 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Quit: WeeChat 4.6.3]
orahcio has joined #foot
boomboxnation has joined #foot
jmcantrell has quit [Ping timeout: 248 seconds]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
xenrox has quit [Remote host closed the connection]
xenrox has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
boomboxnation has joined #foot
orahcio has quit [Ping timeout: 245 seconds]
orahcio has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
boomboxnation-1 has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
strom has quit [Remote host closed the connection]
strom has joined #foot
fitrh has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
fitrh has quit [Ping timeout: 272 seconds]
boomboxnation has joined #foot
fitrh has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
fitrh has quit [Ping timeout: 272 seconds]
boomboxnation has joined #foot
andyrtr has quit [Quit: ZNC 1.10.0 - https://znc.in]
andyrtr has joined #foot
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
<vyivel> yeah https://wayland.app/protocols/xdg-shell#xdg_surface:request:set_window_geometry is responsible for this and it's not to control global window position
<renergy> ok I know - thanks for your replies!
<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
<renergy> *geom = c->surface.xdg->geometry;
<renergy> print geom.x, geom.y, geom.width, geom.height
<renergy> but ok I get it's the shadow size
boomboxnation has quit [Read error: Connection reset by peer]
fitrh has joined #foot
boomboxnation has joined #foot
orahcio has quit [Remote host closed the connection]
fitrh has quit [Remote host closed the connection]
fitrh has joined #foot
fitrh has quit [Remote host closed the connection]
fitrh has joined #foot
jmcantrell has joined #foot
renergy has quit [Quit: Leaving]
boomboxnation has quit [Read error: Connection reset by peer]
boomboxnation has joined #foot
fitrh has quit [Remote host closed the connection]
cbb has joined #foot
boomboxnation-1 has quit [Ping timeout: 252 seconds]
boomboxnation has quit [Quit: WeeChat 4.6.3]
jmcantrell has quit [Quit: WeeChat 4.6.3]
jmcantrell has joined #foot
boomboxnation has joined #foot
Abner has joined #foot
boomboxnation has quit [Ping timeout: 245 seconds]
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]
jmcantrell has quit [Ping timeout: 276 seconds]
orahcio has joined #foot
orahcio has quit [Remote host closed the connection]
orahcio has joined #foot
jmcantrell has joined #foot
cbb has quit [Quit: cbb]