ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
feaneron has joined #wayland
lsd|2 has joined #wayland
Calandracas has joined #wayland
Calandracas_ has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
feaneron has quit [Ping timeout: 480 seconds]
lsd|2 has quit [Quit: KVIrc 5.2.2 Quasar http://www.kvirc.net/]
fmuellner has quit [Ping timeout: 480 seconds]
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
kode54 has joined #wayland
garnacho has joined #wayland
garnacho has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
alarumbe has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
sally has quit [Quit: sally]
sally has joined #wayland
sima has joined #wayland
leon-anavi has joined #wayland
garnacho has joined #wayland
FreeFull_ has joined #wayland
FreeFull has quit [Ping timeout: 480 seconds]
funderscore is now known as f_
iomari891 has joined #wayland
glennk has joined #wayland
<wlb> weston Merge request !1502 merged \o/ (Implement the CM&HDR protocol mechanics to support clients that want to create cprof from params https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1502)
rasterman has joined #wayland
feaneron has joined #wayland
kts has joined #wayland
Moprius has joined #wayland
feaneron has quit [Quit: feaneron]
kts has quit [Quit: Leaving]
alarumbe has joined #wayland
Moprius has quit [Quit: bye]
fmuellner has joined #wayland
ybogdano has quit [Remote host closed the connection]
ybogdano has joined #wayland
<pq> emersion, I wonder if libdisplay-info should have a custom assert that cannot be disabled. I imagine many might have the idea of categorically disabling asserts when building for production.
<vyivel> NDEBUG was a mistake
<emersion> or just refuse to build with NDEBUG?
<pq> that might work, weston test suite does that
<emersion> libdisplay-info test suite also does that iirc
<pq> weston is slowly migrating to a custom assertion API as well, so that it can print actual values rather than just the expression.
<emersion> i see
<pq> evidently someone managed to try to build libdisplay-info with NDEBUG, and that particular assert was surprisingly harmless to skip, as long as developers don't test with NDEBUG.
kts has joined #wayland
garnacho has quit [Quit: garnacho]
garnacho has joined #wayland
lsd|2 has joined #wayland
nerdopolis has joined #wayland
<mceier> "assert that cannot be disabled" is just an error path. maybe libdisplay-info is misusing asserts.
mtj has quit [Quit: mtj]
<emersion> i dont think it depends on asserts being enabled
<emersion> still, I don't really like having them toggleable
kts has quit [Ping timeout: 480 seconds]
<pq> mceier, an error path from which there is no sensible recovery possible.
<MrCooper> abort()?
<pq> yeah
rgallaispou has joined #wayland
<emersion> i think i've used abort() in these places
<emersion> i never use assert(0)
<kchibisov> library should generally never abort.
<kchibisov> Unless you want to use abort instead of assert to guide how to use library, but it really sounds like you want to save on errors.
<kchibisov> but e.g. crashing compositor instead of error for something that won't really make a difference (likely) is probably a bit too much.
<emersion> abort() marks unreachable code
<kchibisov> though, if the code can not be reached then it won't be executed, so what you place there won't matter.
<pq> kchibisov, yes, I think we know the difference.
psykose has joined #wayland
<soreau> it's the code executed before the assert that matters.. I've found debugging is more difficult when hitting an assertation - usually have to modify the source
kts has joined #wayland
<narodnik> when i get wl_keyboard_leave, i clear all key repeats. should i also clear all modifier keys too?
<soreau> you can get modifiers down on keyboard enter, FWIW
<soreau> but it probably depends on your specific case what you want to do
<narodnik> well right now if i press super to leave the window, then when i come back, it thinks super is still pressed
<soreau> and if you clear on leave, there's a different problem?
<narodnik> no, i was just wondering if that's the correct thing to do
<soreau> I guess you might want to mark mods down if any are actually pressed on enter..
<any1> You always get the modifiers right after enter. It's in the spec. Just clear on leave
<soreau> I think wev might have the code to get the mods on enter
<pq> https://wayland.app/protocols/wayland#wl_keyboard:event:modifiers - sounds like the modifiers event *sets*, not updates, the state.
<pq> as in, it's the full new state, not a diff
<pq> that doc also covers modifiers for pointer events
<pq> just mentioning in case there was confusion on how to handle that
<zamundaaa[m]> pq: about the color management protocol, do we now accept the test app for the one feature?
<zamundaaa[m]> If so, I could just update a few v4 implementations against the current version of the protocol, and it would be ready for merging
kts has quit [Quit: Leaving]
<pq> zamundaaa[m], let's talk about that tomorrow. I've also one little break suggested for the protocol in the TF enum, waiting for comments.
<pq> ah, you reviewed exactly that, thanks.
<pq> anyway, tomorrow
leon-anavi has quit [Quit: Leaving]
mtj has joined #wayland
tzimmermann has quit [Quit: Leaving]
iomari891 has quit [Ping timeout: 480 seconds]
rgallaispou1 has joined #wayland
rgallaispou1 has quit [Read error: Connection reset by peer]
rgallaispou has quit [Ping timeout: 480 seconds]
rgallaispou has joined #wayland
rgallaispou has quit []
rgallaispou has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
nerdopolis has quit [Read error: Connection reset by peer]
nerdopolis has joined #wayland
riteo has quit [Remote host closed the connection]
Brainium has joined #wayland
grinja1 has quit [Remote host closed the connection]
grinja1 has joined #wayland
Hypfer has joined #wayland
sima has quit [Ping timeout: 480 seconds]
Fya has joined #wayland
garnacho_ has joined #wayland
garnacho has quit [Remote host closed the connection]
garnacho_ is now known as garnacho
glennk has quit [Ping timeout: 480 seconds]