<plumeus>
Hashimoto, the "Package Contents" sections say it should come with `wayland-util.h`.
<Hashimoto>
It is there (in `/usr/include/`) . I figured it out. I was using `nix-shell` to give me `scdoc` it messed up with something. Building without `nix-shell` just works. Thanks!
<plumeus>
nix-shell creates a shell which prevents regular lib and include dirs from being accessed
<plumeus>
You probably had to add libwayland and all other dependencies with nix-shell too.
<Hashimoto>
The nix-shell was without `--pure`, I had access to zig and other stuff. I'll try adding wayland and stuff
<plumeus>
well then, idk. Maybe it's Zig's behaviour when it detects nix-shell? I know it has some special logic for that but I don't think it should cause much issues
<Hashimoto>
I `unset NIX_COMPILE_FLAGS NIX_LDFLAGS` and it worked, thanks
<leon-p>
I think we have a minor focusing bug with XWayland. I am using GIMP right now and when a pop-up dialog opens and the cursor auto-warps ontop of it, mouse clicks still affect the main window and not the pop-up
<leon-p>
not sure if this is a GIMP issue or a river issue; I don't use any other programs through XWayland
leopoldek has joined #river
hewxle has quit [Remote host closed the connection]
hewxle has joined #river
<chipps>
leon-p: what do you mean by "if you do (...) while passing a token"?
<chipps>
ifreund: Maybe I'm missing something, but I remember while using dwm or such, tags with activities happening would usually be applied with an 'urgent' flag, or you could make it so that any urgent tag gets focused.
<chipps>
s/or you could/and you could
angry_vincent has joined #river
angry_vincent has joined #river
<leon-p>
chipps: xdg-activation tokens are magic strings you (as an application, not as a user) can request from the compositor and you yourself or other applications can use it to "activate" your window. This in turn tells the compositor (river) two things: 1) The activated window seems to be important and might need to be set to urgent, and 2) which application startet that other application (which in this case is less relevant)
<leon-p>
Also yes, dwm may set tags to urgent, but that's irrelevant to what river does
<leon-p>
the problem here is how does river know when something happens in an application
<leon-p>
it can't just know, so a mechanism like xdg-activation needs to be used
hewxle has quit [Ping timeout: 248 seconds]
tiosgz has joined #river
tiosgz has quit [Client Quit]
hewxle has joined #river
angry_vincent has quit [Remote host closed the connection]
jao has joined #river
waleee has joined #river
hewxle has quit [Remote host closed the connection]
hewxle has joined #river
leopoldek has quit [Ping timeout: 256 seconds]
hewxle has quit [Ping timeout: 240 seconds]
<ifreund>
leon-p: that sounds like an x11 stack ordering issue. there is (of course) a stack separate from rivers in the x server and we need to keep it in sync with what river renders
<ifreund>
feel free to open an issue with steps to repoman
<ifreund>
*reproduce, and I'll take a look when I find time
<ifreund>
pretty busy with life recently unfortunately :/