ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
bookworm has joined #wayland
Guest6566 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6635
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #wayland
bookworm_ has joined #wayland
bookworm has quit [Read error: Connection reset by peer]
cool110 has joined #wayland
cool110 is now known as Guest6645
Guest6645 has quit [Remote host closed the connection]
Guest6635 has quit [Ping timeout: 480 seconds]
bookworm_ has quit [Ping timeout: 480 seconds]
bookworm has joined #wayland
cool110_ has joined #wayland
cool110_ is now known as Guest6646
Brainium has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
garnacho has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
mclasen has quit [Ping timeout: 480 seconds]
Guest6646 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest6651
mxz__ has joined #wayland
mxz___ has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz___ is now known as mxz
mxz_ has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
sally has quit [Remote host closed the connection]
any1 has quit [Read error: Connection reset by peer]
Guest6651 has quit [Ping timeout: 480 seconds]
sally has joined #wayland
Company has quit [Quit: Leaving]
lbia has quit [Ping timeout: 480 seconds]
any1 has joined #wayland
lbia has joined #wayland
rv1sr has joined #wayland
lbia has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
cool110 is now known as Guest6658
cool110_ has joined #wayland
cool110_ is now known as Guest6660
Guest6658 has quit [Remote host closed the connection]
<zzag>
we can't change this anymore, but why do wl_client_create and wl_display_add_socket_fd have such an api? I personally would expect the both to take the ownership of the file descriptors in either case, whether they succeed or whether they fail
mclasen has quit [Ping timeout: 480 seconds]
<emersion>
i woul;dn't expect that personally
<emersion>
maybe the user wants to do something with the FD on error
<emersion>
in general that's how APIs behave: on error, leave args untouched
<jadahl>
I would assume it didn't take ownership on failure, too
coldfeet has quit [Remote host closed the connection]
<zzag>
well in rust concepts, you'd likely move the file descriptor to the factory function
<zzag>
of course, it's not rust
<zzag>
but the concept is pretty neat and makes the api less error prone
bodiccea_ has quit [Remote host closed the connection]
Hypfer has quit [Quit: Ping timeout (120 seconds)]
bodiccea_ has joined #wayland
|__ has joined #wayland
Hypfer has joined #wayland
m5zs7k_ has joined #wayland
cyrinux30 has joined #wayland
chamlis_ has joined #wayland
chamlis has quit [Read error: Connection reset by peer]
mainiomano_ has joined #wayland
c7s_ has joined #wayland
abcdw_ has joined #wayland
ogromny_ has joined #wayland
cat has joined #wayland
pitust_ has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
qyliss has quit [Remote host closed the connection]
crazybyte has quit [Quit: Ping timeout (120 seconds)]
mtretter_ has joined #wayland
mainiomano has quit [Read error: Connection reset by peer]
ifreund has quit [Read error: Connection reset by peer]
fabiancodes has quit [Read error: Connection reset by peer]
c7s has quit [Read error: Connection reset by peer]
tommybomb has quit [Read error: Connection reset by peer]
abcdw has quit [Read error: Connection reset by peer]
elibrokeit_ has quit [Write error: connection closed]
novakane has quit [Write error: connection closed]
leon-p has quit [Write error: connection closed]
rpigott has quit [Write error: connection closed]
pitust has quit [Write error: connection closed]
ogromny has quit [Write error: connection closed]
tsujp has quit [Write error: connection closed]
alarumbe has quit [Remote host closed the connection]
zubzub has quit [Remote host closed the connection]
romangg has quit []
cat_ has quit [Write error: connection closed]
tzafrir has quit [Remote host closed the connection]
mtretter is now known as Guest6722
nowrep has quit [Remote host closed the connection]
mtretter_ is now known as mtretter
mort_ has quit [Quit: Ping timeout (120 seconds)]
yang3_ has joined #wayland
alarumbe has joined #wayland
crazybyte has joined #wayland
qyliss has joined #wayland
Hypfer has quit []
abcdw_ is now known as abcdw
garnacho has quit [Remote host closed the connection]
mort_ has joined #wayland
ogromny_ is now known as ogromny
ifreund has joined #wayland
m5zs7k has quit [Ping timeout: 480 seconds]
rpigott has joined #wayland
leon-p has joined #wayland
tzafrir has joined #wayland
tsujp has joined #wayland
dos1 has joined #wayland
elibrokeit_ has joined #wayland
fabiancodes has joined #wayland
| has quit [Ping timeout: 480 seconds]
Guest6722 has quit [Ping timeout: 480 seconds]
novakane has joined #wayland
dos11 has quit [Read error: Connection reset by peer]
cyrinux3 has quit [Ping timeout: 480 seconds]
pedrocr has quit [Remote host closed the connection]
pedrocr has joined #wayland
yang3 has quit [Ping timeout: 600 seconds]
coldfeet has quit [Remote host closed the connection]
nowrep has joined #wayland
Hypfer has joined #wayland
zubzub has joined #wayland
tommybomb has joined #wayland
romangg has joined #wayland
coldfeet has joined #wayland
c7s_ has quit [Remote host closed the connection]
c7s has joined #wayland
chamlis_ has quit [Remote host closed the connection]
chamlis has joined #wayland
Brainium_ has joined #wayland
Brainium_ has quit []
Brainium has quit [Ping timeout: 480 seconds]
ShapeShifter499 has quit [Quit: Leaving]
tombl has quit [Remote host closed the connection]
tombl has joined #wayland
sima has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
privacy has joined #wayland
<KarenTheDorf>
Why would wl_closure_send fail with EAGAIN? It causes wl_display_get_error to return non-zero, so it's fatal to my application, but EAGAIN feels like something that should either be handled inside wayland client, or bubbled up to the application in a non-fatal manner?
rv1sr has quit []
<KarenTheDorf>
This is *very* intermittent so I don't know exactly what operation is causing this.
coldfeet has quit [Remote host closed the connection]
<Arnavion>
Sending lots of messages such that the socket becomes temporarily unready for write, presumably
<KarenTheDorf>
I'm looking at the source and it eventually goes down to wl_connection_queue, which calls wl_connection_flush, and *correctly handles EAGAIN* there, so this just gets weirder.
<KarenTheDorf>
I mean, not that my version of wayland-client is actually built from the current main branch so...
<KarenTheDorf>
Okay, looks like the fix was in a commit only a month ago, shucks.