ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
glennk has quit [Ping timeout: 480 seconds]
<Elias0419>
Hello. I'm developing a point of sale application for Linux and facing an issue with my touchscreen monitor, a ViewSonic TD2223. Xinput recognizes it as two devices: "iSolution multitouch mouse" (single-touch) and "iSolution multitouch" (multi-touch), which causes each tap to register as two. Disabling the single-touch device solves this but causes another problem: interactions no longer reset the system idle timer at org.f
<Elias0419>
...interactions no longer reset the system idle timer at org.freedesktop.ScreenSaver /org/freedesktop/ScreenSaver GetSessionIdleTime(). This affects screen locking/unlocking and monitor events in my application. Any guidance or direction to solve this or escalate appropriately would be appreciated. Thanks!
<orowith2os[m]>
What does this have to do with Wayland? Isn't Xinput for X11?
kts has joined #wayland
rolf1 has joined #wayland
rolf has quit [Ping timeout: 480 seconds]
kts_ has joined #wayland
kts_ has quit []
kts has quit [Ping timeout: 480 seconds]
RAOF has quit [Read error: Connection reset by peer]
RAOF has joined #wayland
kts has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Leopold___ has joined #wayland
Leopold has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit []
PopLamina has joined #wayland
kts has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
Elias0419 has quit [Remote host closed the connection]
kts_ has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts_ has quit [Ping timeout: 480 seconds]
kts_ has joined #wayland
eroc1990 has joined #wayland
glennk has joined #wayland
sima has joined #wayland
kts_ has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
mxz has joined #wayland
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
garnacho has joined #wayland
rasterman has joined #wayland
rolf1 has quit []
junaid has joined #wayland
rgallaispou has joined #wayland
mart has joined #wayland
fossdd has quit [Ping timeout: 480 seconds]
leon-anavi has joined #wayland
fossdd has joined #wayland
junaid has quit [Remote host closed the connection]
mvlad has joined #wayland
Company has joined #wayland
Leopold___ has quit [Ping timeout: 480 seconds]
shankaru has joined #wayland
mripard_ is now known as mripard
glennk has quit [Ping timeout: 480 seconds]
Leopold has joined #wayland
d42 has joined #wayland
<pq>
Consolatis, IIRC there have been proposals to print array contents, but none landed so far. Yes, the object type inside an array is completely arbitrary. It's essentially an untyped binary blob at libwayland level. XML has no markup to indicate the type, it's all just doc.
<emersion>
i am not in love with inventing a new type system for array contents specifically
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #wayland
fmuellner has joined #wayland
jmes has joined #wayland
<jmes>
Hi, what type of Unix socket should I use for the wire protocol messages? SOCK_STREAM, SOCK_DGRAM, or what?
<emersion>
SOCK_STREAM
<jmes>
emersion: thanks!
<jmes>
Also, when reading the message length and opcode from the 2nd word of a message, I can't just read 2 bytes for the length then 2 bytes for the opcode sequentially because of endianness, right?
<jmes>
I would have to read the whole word, then split it into the most significant 2 bytes and least significant 2, correct?
<emersion>
you could, but then you need to take host endianness into account when piecing the bytes back together
<jmes>
Right, what I mean is that I can't assume the first 2 bytes are actually the message length and not the opcode
<emersion>
yeah, you need to read the full uint32, and then use bit operations
<jmes>
Okay, thanks for confirmation :)
<jmes>
What happens if you use Wayland over TCP or something and 2 systems with different byte order are communicating?
<pq>
you simply cannot
<pq>
only unix sockets can carry the ancillary messages that are needed to transmit fds
<emersion>
there are tools which do conversion: see waypipe
<emersion>
waypipe doesn't support connecting two hosts with different endianness iirc, it just refuses to connect in that case
<jmes>
pq, emersion: okay interesting, I'll look into that.
<emersion>
it should be possible to implement, but maybe nobody has needed it so far
<jmes>
I don't need it either, but I'm just curious :P
<pq>
fds are mostly used for sharing memory between the two sides.
cmichael has joined #wayland
kts has joined #wayland
nerdopolis has joined #wayland
kts has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
bindu has quit [Remote host closed the connection]
glennk has joined #wayland
Elias0419 has joined #wayland
Elias0419 has quit []
caveman has joined #wayland
navi has joined #wayland
bindu has joined #wayland
vincejv has quit [Quit: Bye bye! Leaving for now...]
bindu has quit [Remote host closed the connection]
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
kts has quit [Ping timeout: 480 seconds]
junaid has joined #wayland
<LaserEyess>
are we about to be in the explicit sync future we were promised?
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
jmes has quit [Remote host closed the connection]
junaid has quit [Remote host closed the connection]
agd5f has quit [Read error: No route to host]
agd5f has joined #wayland
mvlad has quit [Ping timeout: 480 seconds]
lbia has quit [Ping timeout: 480 seconds]
mart has quit [Quit: Konversation terminated!]
calcul0n has quit [Quit: WeeChat 3.8]
calcul0n has joined #wayland
<Ermine>
Do I understand that this protocol is about submitting buffer which wasn't completely rendered yet and asking compositor to wait?
<ManMower>
I think the compositor will do other things while it "waits" for the buffer to be ready. It's so the compositor doesn't accidentally try to render with an unfinished buffer and stall.
rv1sr has quit []
sima is now known as Guest1235
sima has joined #wayland
Guest1235 has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
Leopold has quit [Remote host closed the connection]