<novakane>
is the title of the focused view send by river-status is the same as the title send by the foreign-toplevel-management protocol?
<novakane>
because as far as I can tell you can't have the focused view with the toplevel protocol so I could compare the title of both to see which one is the focused toplevel in all toplevels
notzmv has joined #river
<leon-p>
novakane: it should be the same. The foreiggn toplevel protocol does show you which toplevel is focused, it's just called "activated". Careful: Technically mulitple toplevels can be activated at once, but not currently as river does not yet implement multiple seats. Just something to look out for in the future
ext0l has joined #river
<novakane>
leon-p: oh thanks I didn't understood activated was this, it's better then
<novakane>
leon-p: btw why you don't use display_roundtrip in river-tags-overlay? How is it possible?
<leon-p>
novakane: Instead of calling roundtrip, I use sync. I personally find it a bit nicer.
<leon-p>
nicer because it allows you to stay in the main event loop all the time and enter it faster during startup.
<leon-p>
that makes exiting on failure a bit cleaner
ext0l has quit [Ping timeout: 246 seconds]
<novakane>
leon-p: allright, thanks for the explanation!
<leon-p>
it's also worth considering if you have multiple event sources. If you send a Wayland request, there could be some other message coming in before the Wayland response. If you roundtrip, you first wait for the Wayland response and handle that before handling the other message. If you sync and fall back to the main event loop, it's first come first served, which can be faster.
<novakane>
hmm I see that's interesting, I need to look more at it, thanks
sjtio has quit [Quit: Bridge terminating on SIGTERM]
edrex[m] has quit [Quit: Bridge terminating on SIGTERM]
voroskoi[m] has quit [Quit: Bridge terminating on SIGTERM]
pedrohlc[m] has quit [Quit: Bridge terminating on SIGTERM]
msiedlaczek[m] has quit [Quit: Bridge terminating on SIGTERM]
anubhavkini has quit [Quit: Bridge terminating on SIGTERM]
entenel has quit [Quit: Bridge terminating on SIGTERM]
pipeweed[m] has quit [Quit: Bridge terminating on SIGTERM]
priner has quit [Quit: Bridge terminating on SIGTERM]
sjtio has joined #river
priner has joined #river
edrex[m] has joined #river
anubhavkini has joined #river
voroskoi[m] has joined #river
pedrohlc[m] has joined #river
entenel has joined #river
pipeweed[m] has joined #river
msiedlaczekelshi has joined #river
pkap has joined #river
pkap has quit [Client Quit]
pkap has joined #river
snakedye has joined #river
pkap has quit [Quit: Client closed]
pkap has joined #river
noopdecoder has joined #river
noopdecoder has quit [Quit: noopdecoder]
leon-p_ has joined #river
leon-p has quit [Ping timeout: 246 seconds]
leon-p_ is now known as leon-p
noopdecoder has joined #river
noopdecoder has quit [Client Quit]
<novakane>
does it makes more sense to use [2]Buffer or std.Tailqueue(Buffer) for current/pending buffers?
waleee has joined #river
noopdecoder has joined #river
noopdecoder has quit [Client Quit]
<leon-p>
novakane: depends on how many buffers should be able to exist simultaneously. In my projects I only allow two, because it is usually enough. More might be handy when you are rendering more often, like f.e. with animations and want better frame timing.
<novakane>
leon-p: hmm ok I'm trying to investigate why the square colors doesn't update, I use Tailqueue which looks like it works fine but maybe I'm rendering on the wrong buffer
<novakane>
although it could be totally not related to this lol
<snakedye>
Do you do double buffering?
<novakane>
yeah or at least it should if I didn't fucked up
<snakedye>
Can you show WAYLAND_DEBUG?
<snakedye>
Also kinda unrelated but how do you destroy or hide the surface on timeout? I spawn an os threads on each focused tag event but I imagine async would be better.
<snakedye>
novakane: the last 2 focus events cause a draw on the same buffer
<novakane>
oh right thanks, then I guess my function to chose the buffer is wrong
waleee has quit [Quit: WeeChat 3.3]
<dnkl>
Heads up (will post bug later); moving a fullscreened toplevel to another output (send-to-output) doesn't resize the window.
<ifreund>
indeed, that shouldn't be too hard to fix though
<dnkl>
ifreund: we're you able to reproduce? Or would you still like me to include debug logs in the bug report? (Will be a couple of hours before I can open it...)
<ifreund>
dnkl: I was able to reproduce yeah, so just an issue to track it is all we need
waleee has joined #river
Guest19 has joined #river
Guest19 has quit [Quit: Client closed]
Nulo has quit [Ping timeout: 265 seconds]
pkap has quit [Quit: Client closed]
novakane has quit [Quit: WeeChat 3.3]
novakane has joined #river
Nulo has joined #river
notzmv has quit [Ping timeout: 246 seconds]
leon-p has quit [Remote host closed the connection]