ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Brainium has joined #wayland
privacy has quit [Quit: Leaving]
lsd|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
fossdd_ has joined #wayland
fossdd__ has joined #wayland
fossdd___ has joined #wayland
fossdd has quit [Ping timeout: 480 seconds]
fossdd_ has quit [Ping timeout: 480 seconds]
fossdd__ has quit [Ping timeout: 480 seconds]
fossdd___ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #wayland
kenny has joined #wayland
tyzef has quit [Quit: WeeChat 3.8]
fmuellner has quit [Ping timeout: 480 seconds]
fossdd has joined #wayland
fossdd_ has joined #wayland
fossdd has quit [Ping timeout: 480 seconds]
guru__ has joined #wayland
dogukan has quit [Remote host closed the connection]
guru_ has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
crazybyte has quit [Quit: Bye]
crazybyte has joined #wayland
Leopold_ has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
jtbx has quit [Remote host closed the connection]
jtbx has joined #wayland
julio7359 has joined #wayland
Leopold has joined #wayland
zvarde1988303206779191685 has quit [Quit: Ping timeout (120 seconds)]
zvarde1988303206779191685 has joined #wayland
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #wayland
Leopold_ has quit [Remote host closed the connection]
zxrom has quit [Quit: Leaving]
Leopold_ has joined #wayland
Kerr has quit [Quit: Bye.]
Leopold_ has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
silverpower has quit [Ping timeout: 480 seconds]
silverpower has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
kts_ has joined #wayland
kts_ has quit []
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
julio7359 has joined #wayland
glennk has joined #wayland
kts has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
Leopold has joined #wayland
sima has joined #wayland
Leopold has quit [Remote host closed the connection]
mxz has joined #wayland
<wlb> wayland-protocols Issue #177 opened by i509VCB (i509VCB) xdg_shell: xdg_positioner.set_constraint_adjustment does not specify bitflag enum type of `constraint_adjustment` argument https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/177
Leopold has joined #wayland
Kerr has joined #wayland
rgallaispou has joined #wayland
calcul0n has joined #wayland
tzimmermann has joined #wayland
tyzef has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
garnacho has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kenny has quit [Ping timeout: 480 seconds]
kenny has joined #wayland
rasterman has joined #wayland
glennk has joined #wayland
leon-anavi has joined #wayland
ity has quit [Remote host closed the connection]
ity has joined #wayland
tyzef has quit [Quit: WeeChat 3.8]
krathul[m] has joined #wayland
<krathul[m]> Hi
<bittin> hey
<krathul[m]> This is abou libinput I believe.
<krathul[m]> I'm trying to simulate mouse events using evdev, but when I give I ask it to move by certain units, say EV_REL, REL_X, 100. It doesn't actually move 100 pixels horizontally right on the screen.
<krathul[m]> I beleive it might be because of some transformation to screen coordinates. But how do I do it precisely?
<krathul[m]> Is this specific to a compositor?
cwegener has joined #wayland
<pq> krathul[m], relative motion is always subject to acceleration etc. and the units are not pixels at evdev level I think. The behaviour depends on libinput and how each compositor configures libinput. If you want to drive a GUI with fake input instead of actually simulate a mouse, maybe using absolute coordinates helps.
<pq> There is also libei that might be more appropriate if the compositor integrates with libeis.
cmichael has joined #wayland
calcul0n has quit [Remote host closed the connection]
calcul0n has joined #wayland
kts has quit [Ping timeout: 480 seconds]
privacy has joined #wayland
privacy has quit [Quit: Leaving]
fmuellner has joined #wayland
kts has joined #wayland
kts has quit [Ping timeout: 480 seconds]
<krathul[m]> pq: so if I create a fake touchpad device to do that, are absolute coordinates directly interpreted as screen coordinates?
<pq> touchpad is still a relative pointing device, even if it is absolute in hardware. You'd need more like a touchscreen, but as a pointer device.
<pq> IIRC libinput relies of udev rules to classify evdev devices as pointer, touchscreen, etc.
<pq> pointer with absolute motion is a bit strange, until you consider virtual machine viewer applications, where relative motion events would have the same problems as you have.
<pq> unfortunately I don't really know any details
kts has joined #wayland
naemi has joined #wayland
<naemi> Hi, is there a way to force a cursor animation from OS-level tools? e.g. I want to force a spinning/loading cursor while a script is running
<pq> Not in Wayland, no. There must be an application with an open window, and the pointer on the window for the app to be able to control the cursor.
<pq> maybe notifications would be better?
<emersion> if you really want to change the cursor, the right way to do it would probably be via a new osc
<pq> that also would work only while the pointer is over the terminal
<emersion> indeed
<emersion> oh hey, this even exists already
<emersion> OSC 22 ; <name> BEL
nerdopolis has joined #wayland
kts has quit [Ping timeout: 480 seconds]
andreasbackx has joined #wayland
kts has joined #wayland
<pq> swick[m], zamundaaa[m], a bit of an issue with turning the "create" requests into destrcutors: how do we send protocol errors from it now?
<zamundaaa[m]> Does sending them before destruction not work?
<zamundaaa[m]> Compositor side destruction I mean
<pq> the object is already gone client-side, so...
<pq> at most the client has a zombie
<pq> so I *think* it would look like a protocol error originating from an unknown object
<zamundaaa[m]> Gimme a few minutes, I'll just test it
<pq> hmm, maybe it does work...
<pq> but that may also be just an artifact of the libwayland-client implementation?
<pq> yeah, libwayland-client registers the error, but has no idea what interface it's from
<pq> that makes testing for the correct protocol errors awkward
<pq> OTOH... is this anything new - clients could always, they do too, explicitly destroy the object after sending a request that triggers a protocol error.
mvlad has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
calcul0n has quit [Read error: No route to host]
calcul0n has joined #wayland
guru__ has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
<pq> zamundaaa[m], swick[m], ok, I think sending the error in destructor is fine. On client side it is indistinguishable from the client sending two requests in a burst, where first triggers a protocol error and the latter destroys the object. So it's all business as usual. Just the client has no clue what object generated the error, but the human-readable error message is still there.
<pq> and error code is there, though without knowing the interface it cannot be deciphered
<zamundaaa[m]> Sounds fine to me
Guru_DE has joined #wayland
Guru_DE has quit [Ping timeout: 480 seconds]
<wlb> wayland Issue #441 opened by Nick Yamane (nickdiego) Specify keyboard focus/behavior during drag sessions https://gitlab.freedesktop.org/wayland/wayland/-/issues/441
<MrCooper> if a client passes an invalid / already-destroyed ID as a parameter to a request, does the compositor's request handler still get called?
<pq> MrCooper, I think libwayland catches and stops that with a protocol error.
<pq> server-side, too
<MrCooper> I was hoping so, thanks
<vaxry> libwayland goes HOL UP
<pq> the same does not happen with events, those just get turned to NULL I believe
junaid has joined #wayland
Kerr has quit [Quit: Bye.]
Leopold has quit [Remote host closed the connection]
andreasbackx has quit [Quit: 👋]
Leopold_ has joined #wayland
calcul0n has quit [Remote host closed the connection]
calcul0n has joined #wayland
tyzef has joined #wayland
cmichael has quit [Quit: Leaving]
rgallaispou has quit [Quit: Leaving.]
mohit8158226 has quit [Quit: mohit8158226]
mohit8158226 has joined #wayland
mohit8158226 has quit []
mohit8158226 has joined #wayland
mohit8158226 has quit []
tzimmermann has quit [Quit: Leaving]
junaid has quit [Remote host closed the connection]
mohit8158226 has joined #wayland
kts has quit [Ping timeout: 480 seconds]
qaqland_ has joined #wayland
qaqland has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
riteo has joined #wayland
Leopold_ has quit [Remote host closed the connection]
leon-anavi has quit [Quit: Leaving]
zxrom has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #wayland
rasterman has quit []
Leopold_ has joined #wayland
Leopold_ has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
___nick___ has quit []
___nick___ has joined #wayland
Leopold_ has joined #wayland
Kerr has joined #wayland
Kerr_ has joined #wayland
Kerr has quit [Ping timeout: 480 seconds]
tyzef has quit [Quit: WeeChat 3.8]
tyzef has joined #wayland
glennk has quit [Remote host closed the connection]
tyzef has quit [Quit: WeeChat 3.8]
rv1sr has quit []
tyzef has joined #wayland
Kerr_ has quit [Quit: No Ping reply in 180 seconds.]
___nick___ has quit [Ping timeout: 480 seconds]
Kerr has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
Guest2465 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest2674
calcul0n has quit [Ping timeout: 480 seconds]
Kerr has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
rasterman has joined #wayland
nerdopolis has joined #wayland
mvlad has quit [Remote host closed the connection]
lsd|2 has joined #wayland
julio7359 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]