ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
Leopold has quit [Remote host closed the connection]
sav10 has quit []
ybogdano has joined #wayland
<bwidawsk>
bl4ckb0ne: I don't want to deal with having more than 1 layer for instance
<bwidawsk>
I suppose I can just implement it that way
co1umbarius has joined #wayland
columbarius has quit [Ping timeout: 480 seconds]
<bl4ckb0ne>
yeah, a layer is just a wl_surface role
Dami_Lu has quit [Ping timeout: 480 seconds]
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
Dami_Lu has joined #wayland
ybogdano has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest1019
floof58 has joined #wayland
Guest1019 has quit [Ping timeout: 480 seconds]
dreda has quit [Ping timeout: 480 seconds]
dreda has joined #wayland
dreda is now known as Guest1030
nerdopolis has quit [Ping timeout: 480 seconds]
sav10 has joined #wayland
kts has joined #wayland
hardening has joined #wayland
kts has quit [Quit: Leaving]
andyrtr_ has joined #wayland
andyrtr has quit [Read error: Connection reset by peer]
andyrtr_ is now known as andyrtr
kts has joined #wayland
rv1sr has joined #wayland
dcz_ has joined #wayland
danvet has joined #wayland
gschwind has joined #wayland
tzimmermann has joined #wayland
rasterman has joined #wayland
MajorBiscuit has joined #wayland
rgallaispou has joined #wayland
MajorBiscuit has quit [Quit: WeeChat 3.6]
MajorBiscuit has joined #wayland
mvlad has joined #wayland
<pq>
bwidawsk, it all depends on which DEs you want your tray/bar to work on.
<pq>
bwidawsk, some DEs (I suppose GNOME?) have a policy to not support external DE components.
Lucretia has quit [Remote host closed the connection]
<wlb>
weston/main: Marius Vlad * libweston/desktop, desktop-shell: Add getters for pending state https://gitlab.freedesktop.org/wayland/weston/commit/bf0c99f51986 desktop-shell/shell.c include/libweston/desktop.h libweston/desktop/internal.h libweston/desktop/surface.c libweston/desktop/xdg-shell-v6.c libweston/desktop/xdg-shell.c
caveman has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
MrCooper has quit [Quit: Leaving]
Leopold___ has joined #wayland
MrCooper has joined #wayland
<wlb>
weston Issue #690 opened by bartuyesilbag (bartuyesilbag) rdp-backend and vnc-backend does not work proper under screen-share option with drm-backend and desktop-shell https://gitlab.freedesktop.org/wayland/weston/-/issues/690
<bl4ckb0ne>
why is wl_registry_bind not returning NULL when trying to bind a version higher than what was send to the listener?
<emersion>
wl_registry_bind doesn't know that, it's just a generated function
<ManMower>
wl_registry_bind() is a wire request. it's dumb
<emersion>
from the protocol XML
<ManMower>
(dumb as in has no logic, not as in badly written)
<emersion>
returning an error there wouldn't change much: the compositor will disconnect the client anyways right after receiving the request
<ManMower>
got me wondering what's supposed to happen in that case - an error and a disconnect?
<bl4ckb0ne>
so i have to manually check it
<bl4ckb0ne>
not an error but maybe just NULL
<ManMower>
you have to ask for a valid version
<ManMower>
the return is always... valid :)
<emersion>
what problem are you trying to solve?
<emersion>
on the server side, libwayland already takes care of checking the version
<daniels>
in general, NULL returns are only for ENOMEM; asking for something which doesn't make sense won't return you NULL, but your connection will just get shot with an error
<bl4ckb0ne>
emersion: im just binding a specific version and want to make my program reliable
<emersion>
reliable how?
<bl4ckb0ne>
i added an if around the version so that's fixed
<bl4ckb0ne>
but i was curious to see why registry bind was accepting any value
<daniels>
correct :)
<bl4ckb0ne>
maybe NULL + EINVAL could help
<ManMower>
it's just the way wayland makes everything asynchronous. the client side stuff just marshals your request and maybe gives you "valid" pointers to make more requests. the server shoots you down if it doesn't like it.
<bl4ckb0ne>
makes sense
ybogdano has joined #wayland
<gschwind>
bl4ckb0ne, following the protocol spec bind has no version parameters
<daniels>
gschwind: it has one on the wire, just not on the XML
<gschwind>
daniels, thanks for the clarification :)
<bl4ckb0ne>
what's new in wl_compositor since v1? i see its at v5 now
<ManMower>
that's all clearly shown int he protocol xml actually
<bl4ckb0ne>
lists only the 2 requests present since 1
<bl4ckb0ne>
in wayland.xml
<ManMower>
that's all supposed to be clearly shown int he protocol xml actually
<ManMower>
;)
* bl4ckb0ne
binds version 1 and leave it for later
<emersion>
changes can be in child objects
<emersion>
e.g. wl_surface
<bl4ckb0ne>
ah thats what i thought, surface is at 5 too
<bwidawsk>
pq: yeah, I think I don't want flexibiilty in the tray, but I'm not sure I want to implement it in the compositor either
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
<ManMower>
maybe goes without saying, but It's also possible (for rare and gross situations) that a version bump changes behaviour of existing requests instead of just adding new ones, so clients shouldn't just be blindly updated to ask for the latest version
rgallaispou has quit [Read error: Connection reset by peer]
cool110 has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
Lopiben has joined #wayland
kts has joined #wayland
Lopiben has quit [Remote host closed the connection]
MajorBiscuit has quit [Ping timeout: 480 seconds]
ids1024 has quit [Quit: WeeChat 3.2.1]
<bl4ckb0ne>
ManMower: theres nothing about version in the 2 requests descriptions though, so it might be like emersion said
mvlad has quit [Remote host closed the connection]
<ManMower>
oh yeah, he's definitely correct, that one's due to child objects. just saying in general be careful.
rv1sr has quit []
<bl4ckb0ne>
yeah, hence my question
rv1sr has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
swick[m] has joined #wayland
kts has quit [Quit: Leaving]
markbolhuis has joined #wayland
markbolhuis has quit []
markbolhuis has joined #wayland
markbolhuis has quit []
___nick___ has quit [Ping timeout: 480 seconds]
gschwind has quit [Quit: Leaving]
dcz_ has quit [Ping timeout: 480 seconds]
jmdaemon has quit [Remote host closed the connection]