ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
nerdopolis has quit [Ping timeout: 480 seconds]
kenny has quit [Quit: WeeChat 3.8]
kenny has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
Company has quit [Remote host closed the connection]
nerdopolis has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
eroc1990 has quit [Ping timeout: 480 seconds]
eroc1990 has joined #wayland
nerdopolis has quit [Remote host closed the connection]
nerdopolis has joined #wayland
kts has joined #wayland
rv1sr has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
riteo has joined #wayland
<riteo> hi!
<riteo> kchibisov: btw the approach worked well enough!
<riteo> I've pretty much implemented what you proposed (along with Mailbox) but in the end we've scheduled a whole redraw instead of just buffer swapping for simplicity. There's a bit of inconsistency in frame times but stuff looks more than usable for a nice isolated, "compliant" workaround
<riteo> But now I'm getting issues with xdg_popup dismissal :(
<riteo> I'm a bit tired but I can't stop thinking about this. Apparently, when a popup gets hidden by the compositor (xdg_popup::popup_done) _while_ its surface gets "drawn" over (buffer attach, surface damage and all of that), the whole client crashes with errno 32
<riteo> I could replicate this with weston and sway, which isn't ecouraging. This seriously feels like a bug but it isn't https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2543 because I'm getting straight up a display error
<riteo> I have no idea how to continue... Do I (re?)report this? Do I give up on multiwindowing (which otherwise works) for now? Try on other compositors? This feels really bad considering the asynchronous nature of the protocol.
sima has joined #wayland
<riteo> uh right, sorry, the context is that I'm working on a Wayland port of the Godot game engine. Because godot is extremely main loop bound we also use a separate thread for even handling.
<riteo> *event
kts has quit [Ping timeout: 480 seconds]
heapify has joined #wayland
sargoe has joined #wayland
sargoe1 has joined #wayland
sargoe has left #wayland [#wayland]
<riteo> oh well, I have to go. I'll keep an eye in the logs if anyone wants to tell me anything. Cya!
riteo has quit [Quit: epic xdg_popup moment]
<kennylevinsen> riteo: (for the log) you need to share the Wayland debug log (WAYLAND_DEBUG=1), so the protocol violation can be diagnosed.
rasterman has joined #wayland
Company has joined #wayland
sargoe1 has left #wayland [#wayland]
<MrCooper> zamundaaa: looks like simply logging into a KDE Plasma session creates/changes persistent dconf & GTK configuration such that later logging into GNOME results in KDE's cursor & icon themes being used; that's a bit... surprising, to put it diplomatically :)
Lucretia has quit []
Lucretia has joined #wayland
Lucretia has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
Lucretia has joined #wayland
junaid has joined #wayland
junaid has quit []
heapify has quit [Quit: heapify]
heapify has joined #wayland
junaid has joined #wayland
kts has joined #wayland
fmuellner has joined #wayland
bodiccea_ has quit [Quit: Leaving]
kts has quit [Ping timeout: 480 seconds]
heapify has quit [Quit: heapify]
kts has joined #wayland
kts has quit []
neonking_ has quit [Remote host closed the connection]
nerdopolis has joined #wayland
bodiccea has joined #wayland
kts has joined #wayland
Moprius has joined #wayland
kts has quit [Quit: Konversation terminated!]
Moprius has quit [Quit: bye]
noord has quit [Quit: bye]
rasterman has quit [Quit: Gettin' stinky!]
noord has joined #wayland
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
Net147 has quit [Ping timeout: 480 seconds]
sargoe has joined #wayland
Net147 has joined #wayland
junaid has quit [Remote host closed the connection]
iomari892 has joined #wayland
iomari891 has quit [Read error: Connection reset by peer]
narodnik has joined #wayland
<narodnik> greets
<narodnik> i'm trying to add wayland support to a library, and currently doing the keyboard input
<narodnik> i'm trying to make a minimal example: https://agorism.dev/uploads/main.c.txt
<narodnik> but when i run this it doesnt show any capabilities for the seat https://agorism.dev/uploads/output.txt
<narodnik> any ideas?
<kennylevinsen> narodnik: you are not servicing the display enough
<ifreund> narodnik: you won't get any events on the seat in the first roundtrip
<kennylevinsen> ^
<ifreund> if you add a second wl_display_roundtrip() your print should fire
<kennylevinsen> alternatively, loop on wl_display_dispatch to continously service the connection
raghavgururajan has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
natewrench has joined #wayland
<narodnik> aha tyvm
<narodnik> great that works!
natewrench has left #wayland [#wayland]
<kchibisov> Hm, recently more compositors became angry when the buffer size / scale doesn't get divided. Which is a good practise, but what should we do with multiwindow clients and latching of EGL back buffers here? Clients have no clue whether the buffer is latched or not and they can latch the buffer just by making some other context current.
<kchibisov> While some latching is explicit, there're bugs with it, like eglMakeCurrent and eglCreateNewContext could do so.
<kchibisov> Maybe it should be relaxed for dma-buf clients?
nerdopolis has quit [Ping timeout: 480 seconds]
Narrat has joined #wayland
fmuellner has joined #wayland
nerdopolis has joined #wayland
heapify has joined #wayland
rasterman has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
iomari892 has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
nerdopolis has joined #wayland
natewrench has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
natewrench has quit []
Narrat has quit []
rv1sr has quit []
nerdopolis has quit [Ping timeout: 480 seconds]
natewrench has joined #wayland
rasterman has quit [Remote host closed the connection]
heapify has quit [Quit: heapify]
<emersion> i'm not sure I'm following
<emersion> the commit happens iff swapbuffers is called
<emersion> that only can cause the protocol error
Lyude has quit [Quit: Bouncer restarting]
Lyude has joined #wayland
sima has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
natewrench has quit [Quit: natewrench]
natewrench has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
Brainium has joined #wayland
Nosrep has joined #wayland
<Nosrep> what's the point of zwlr_data_control_device? it just looks like wl_data_whatever but without the drag and drop and with a primary selection
nerdopolis has quit [Ping timeout: 480 seconds]
<kennylevinsen> Nosrep: https://wayland.app/protocols/wlr-data-control-unstable-v1 - see the top description. This protocol is for e.g. clipboard managers.
<Nosrep> what's stopping a clipboard manager from using wl_data_*? is it the primary selection part?
<Nosrep> i don't really use them so i wouldn't know
nerdopolis has joined #wayland
<danieldg> Nosrep: getting access to the clipboard while your window is *not* focused requires the privileged one
<Nosrep> i see
<danieldg> also a window manager might require a user action to be tied to a paste
<danieldg> (that's the purpose of the "serial" field in the accept action)
<Nosrep> ok, thanks
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]