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
hergertme_ has joined #wayland
mclasen_ has joined #wayland
co1umbarius has joined #wayland
hergertme has quit [Ping timeout: 480 seconds]
mclasen has quit [Ping timeout: 480 seconds]
columbarius has quit [Ping timeout: 480 seconds]
alarumbe has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
CME has quit []
CME has joined #wayland
cool110_ has quit [Remote host closed the connection]
cool110 has joined #wayland
emery has quit [Ping timeout: 480 seconds]
emery has joined #wayland
Company has quit [Quit: Leaving]
nerdopolis has quit [Ping timeout: 480 seconds]
shankaru has joined #wayland
shankaru has quit []
tzimmermann has joined #wayland
mclasen has joined #wayland
mclasen_ has quit [Ping timeout: 480 seconds]
hardening has joined #wayland
jgrulich has joined #wayland
rv1sr has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
danvet has joined #wayland
MajorBiscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
<pq> kchibisov, if Mesa is adding something behing the app's back, it needs to make it work behind the app's back too. IMO. So I'd say Mesa needs to add the damage itself.
MajorBiscuit has joined #wayland
dcz has joined #wayland
rgallaispou has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
ahartmetz has joined #wayland
rasterman has joined #wayland
<wlb> weston Merge request !915 opened by () shared/xcb-xwayland: Split into common helpers https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/915
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
bindu has quit [Remote host closed the connection]
bindu has joined #wayland
juergbi has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
juergbi has joined #wayland
MajorBiscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
Company has joined #wayland
fmuellner has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #wayland
fmuellner has quit [Remote host closed the connection]
flacks_ has quit [Quit: Quitter]
MajorBiscuit has quit [Ping timeout: 480 seconds]
flacks has joined #wayland
rv1sr has quit []
CuteMath has joined #wayland
alarumbe has joined #wayland
MajorBiscuit has joined #wayland
CuteMath has quit [Quit: Leaving]
CuteMath has joined #wayland
<CuteMath> Hello. I've bound the wl_seat object and got the keyboard object from it. I don't see any keymap event been fired though. Is it guaranteed to be sent?
tlwoerner has joined #wayland
<pq> CuteMath, I believe it is, at least if the seat has keyboard capability. Do you "wait" for it?
<pq> Do you enter your main event loop, and it still never arrives?
<CuteMath> I do enter the main loop and I get key events, but the keymap event does not get fired.
<pq> That's very odd. What's the compositor you're running on?
<CuteMath> swaywm 1.7
<wlb> weston Merge request !916 opened by () build: fix possible race for some backends https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/916
<pq> CuteMath, you might want to ask from the Sway community about this, and maybe try on a different compositor to see if it's a compositor bug.
<CuteMath> I've already asked on the sway chat, no response for now. I'll try another compositor.
<CuteMath> Tried wayfire 0.7.3.1 from AUR. No keymap as well. I'll try to reduce the code to the minimum before anything else. Dunno if I am doing something wrong.
<pq> you could be forgetting to set up the keyboard listener, but OTOH you do get key events, and leaving a function pointer to NULL would crash.
<pq> and plugging a wrong function should produce compiler warnings
<CuteMath> keyboard listener is indeed set and I pass the correct function.
<pq> hard to guess what else it could be
<any1> maybe running with WAYLAND_DEBUG=1 would shed some light on the problem?
<pq> In the client that has the caveat that it only prints events that has a handler set; more reliable would be to use that on the compositor to see if the compositor sends the event.
* any1 thinks it's very unlikely to be a compositor issue
<pq> yes, unless there is some kind of "too old wl_keyboard version, no keymaps for you"
<pq> I don't know if anyong does that, but I do recall issues with keymap fd sharing that requires extra work from the compositor to address.
<CuteMath> Ok, something strange just happened. I went back to wayfire (Ctrl-Alt-F2) and I saw some keymap events been received
<pq> Are you perhaps running your clients while VT-switched away from the compositor?
<CuteMath> what do you mean by "VT-switched away"?
<pq> you said Ctrl-Alt-F2, that's usually for VT-switching
<any1> Or maybe the event loop is being blocked somewhere, and switching back and forth generates some events that free it up?
<any1> Recommend running with strace to see
<CuteMath> sway does not fire keymap events when switching from wayfire to sway
rv1sr has joined #wayland
CuteMath has quit [Remote host closed the connection]
tzimmermann has quit [Remote host closed the connection]
CuteMath has joined #wayland
tzimmermann has joined #wayland
<wlb> weston Merge request !917 opened by () leak-sanitizer: Suppress libfontconfig leaks https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/917
nerdopolis has joined #wayland
* ifreund also suspects that a WAYLAND_DEBUG=1 log would help explain this
jgrulich has quit [Remote host closed the connection]
jgrulich has joined #wayland
mclasen has joined #wayland
MajorBiscuit has quit [Quit: WeeChat 3.5]
MajorBiscuit has joined #wayland
<CuteMath> even with WAYLAND_DEBUG=1, there is no keymap event.
<CuteMath> does anyone have a small demo where the keymap is received?
<ifreund> CuteMath: we're asking you to share the WAYLAND_DEBUG=1 log of your client's execution
<ifreund> for example, using a pastebin
<CuteMath> here it is https://pastebin.com/K8LBD6aF
<wlb> weston/main: Ivan Nikolaenko * build: fix possible race/error for some backends https://gitlab.freedesktop.org/wayland/weston/commit/0d3e438d0804 libweston/ backend-drm/state-propose.c compositor.c linux-dmabuf.c linux-dmabuf.h
<wlb> weston Merge request !916 merged \o/ (build: fix possible race for some backends https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/916)
r00tobo[BNC] has quit []
<ifreund> CuteMath: it looks like you're making the get_keyboard request before the compositor sends wl_seat.capabilities
<CuteMath> oh shoot
<CuteMath> that fixes it, thanks guys
<ifreund> wlroots should have been hitting you with a missing_capability protocol error tbh
<ifreund> ah, I guess it's a race condition
caveman has joined #wayland
cabal704 has joined #wayland
<CuteMath> ifreund, should I report it?
<CuteMath> oh, I don't have a display listener. I should have set one.
<CuteMath> doesn't seem to send me an error event when getting the keyboard before handling the capabilities event, dunno if it is correct
<pq> CuteMath, you can't set a listener on wl_display, that's handled inside libwayland-client.
<pq> libwayland-client has API to get the protocol error if any happens, but you cannot "forget" it, because a protocol error will always disconnect the client.
<CuteMath> yeah thought so, I did that out of habits because I have written a client library some time ago. I see I see
rv1sr has quit [Remote host closed the connection]
tzimmermann has quit [Remote host closed the connection]
tzimmermann has joined #wayland
<wlb> weston Merge request !918 opened by () clients/window: Defer closing of window https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/918
caveman has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
ybogdano has joined #wayland
ybogdano has quit [Ping timeout: 480 seconds]
rv1sr has quit []
cool110_ has joined #wayland
cool110 has quit [Ping timeout: 480 seconds]
cabal704 has quit [Quit: WeeChat 3.5]
MajorBiscuit has quit [Ping timeout: 480 seconds]
jgrulich has quit [Ping timeout: 480 seconds]
<wlb> weston Issue #454 closed \o/ (Window position incorrect after restoring from fullscreen mode https://gitlab.freedesktop.org/wayland/weston/-/issues/454)
<wlb> weston/main: Derek Foreman * xwayland: Set non zero default saved window size https://gitlab.freedesktop.org/wayland/weston/commit/40e76fe19da9 xwayland/window-manager.c
<wlb> weston/main: Derek Foreman * xwayland: Don't move window in response to geometry change if state changed https://gitlab.freedesktop.org/wayland/weston/commit/93b58c56486e libweston-desktop/xwayland.c
<wlb> weston Merge request !897 merged \o/ (xwayland: Fix window maximizing https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/897)
<wlb> weston/main: Derek Foreman * xwayland: Update net_wm state when we change it. https://gitlab.freedesktop.org/wayland/weston/commit/8763f3800e1d xwayland/window-manager.c
<wlb> weston/main: Derek Foreman * xwayland: Stop drawing shadows on maximized windows https://gitlab.freedesktop.org/wayland/weston/commit/107d69f10cf7 xwayland/window-manager.c
bodiccea has quit [Remote host closed the connection]
bodiccea has joined #wayland
<wlb> weston Merge request !919 opened by () xwayland: Support _NET_FRAME_EXTENTS https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/919 [XWayland]
MajorBiscuit has joined #wayland
peeterm has joined #wayland
The_Company has joined #wayland
Cute_Math has joined #wayland
adia7 has joined #wayland
GentooPhysicist39354 has joined #wayland
Hypfer3 has joined #wayland
wrl_ has joined #wayland
mort_2 has joined #wayland
pw_ has joined #wayland
FLHerne_ has joined #wayland
ecloud_ has joined #wayland
eroc19906 has joined #wayland
dos11 has joined #wayland
mriesch_ has joined #wayland
marex_ has joined #wayland
dreda has joined #wayland
mceier_ has joined #wayland
dreda is now known as Guest2694
CuteMath has quit [reticulum.oftc.net liquid.oftc.net]
Company has quit [reticulum.oftc.net liquid.oftc.net]
Hypfer has quit [reticulum.oftc.net liquid.oftc.net]
pounce has quit [reticulum.oftc.net liquid.oftc.net]
Emantor has quit [reticulum.oftc.net liquid.oftc.net]
CME has quit [reticulum.oftc.net liquid.oftc.net]
danieldg has quit [reticulum.oftc.net liquid.oftc.net]
RomanGilg[m] has quit [reticulum.oftc.net liquid.oftc.net]
smasher_tati[m] has quit [reticulum.oftc.net liquid.oftc.net]
ashketchum[m] has quit [reticulum.oftc.net liquid.oftc.net]
davidre has quit [reticulum.oftc.net liquid.oftc.net]
Levans has quit [reticulum.oftc.net liquid.oftc.net]
ki[m] has quit [reticulum.oftc.net liquid.oftc.net]
heeen has quit [reticulum.oftc.net liquid.oftc.net]
FbioPacheco[m] has quit [reticulum.oftc.net liquid.oftc.net]
Kelseyjgilbert[m] has quit [reticulum.oftc.net liquid.oftc.net]
GentooPhysicist3935 has quit [reticulum.oftc.net liquid.oftc.net]
adia has quit [reticulum.oftc.net liquid.oftc.net]
wrl has quit [reticulum.oftc.net liquid.oftc.net]
peeterm_ has quit [reticulum.oftc.net liquid.oftc.net]
shadowninja55[m] has quit [reticulum.oftc.net liquid.oftc.net]
apol[m] has quit [reticulum.oftc.net liquid.oftc.net]
yoslin has quit [reticulum.oftc.net liquid.oftc.net]
TimWolla has quit [reticulum.oftc.net liquid.oftc.net]
dreda_ has quit [reticulum.oftc.net liquid.oftc.net]
vsyrjala has quit [reticulum.oftc.net liquid.oftc.net]
jpnurmi has quit [reticulum.oftc.net liquid.oftc.net]
niecoinny[m] has quit [reticulum.oftc.net liquid.oftc.net]
marex has quit [reticulum.oftc.net liquid.oftc.net]
glennk has quit [reticulum.oftc.net liquid.oftc.net]
FLHerne has quit [reticulum.oftc.net liquid.oftc.net]
flyingketh[m] has quit [reticulum.oftc.net liquid.oftc.net]
mort_ has quit [reticulum.oftc.net liquid.oftc.net]
Serus has quit [reticulum.oftc.net liquid.oftc.net]
novakane has quit [reticulum.oftc.net liquid.oftc.net]
mriesch has quit [reticulum.oftc.net liquid.oftc.net]
ecloud has quit [reticulum.oftc.net liquid.oftc.net]
dblsaiko has quit [reticulum.oftc.net liquid.oftc.net]
mceier has quit [reticulum.oftc.net liquid.oftc.net]
GrahamPerrin[m] has quit [reticulum.oftc.net liquid.oftc.net]
feta has quit [reticulum.oftc.net liquid.oftc.net]
dottedmag has quit [reticulum.oftc.net liquid.oftc.net]
go4godvin has quit [reticulum.oftc.net liquid.oftc.net]
Prf_Jakob has quit [reticulum.oftc.net liquid.oftc.net]
jryans has quit [reticulum.oftc.net liquid.oftc.net]
eroc1990 has quit [reticulum.oftc.net liquid.oftc.net]
occivink has quit [reticulum.oftc.net liquid.oftc.net]
jadahl has quit [reticulum.oftc.net liquid.oftc.net]
pw has quit [reticulum.oftc.net liquid.oftc.net]
blathijs has quit [reticulum.oftc.net liquid.oftc.net]
phryk has quit [reticulum.oftc.net liquid.oftc.net]
ozwald1[m]1 has quit [reticulum.oftc.net liquid.oftc.net]
louipcm has quit [reticulum.oftc.net liquid.oftc.net]
digitalfavshetheyname[m] has quit [reticulum.oftc.net liquid.oftc.net]
dos1 has quit [reticulum.oftc.net liquid.oftc.net]
FLHerne_ is now known as FLHerne
danieldg has joined #wayland
Prf_Jakob has joined #wayland
vsyrjala has joined #wayland
Serus has joined #wayland
heeen has joined #wayland
blathijs has joined #wayland
jadahl has joined #wayland
tzimmermann has quit [Quit: Leaving]
rasterman has quit [Quit: Gettin' stinky!]
mceier_ has quit []
occivink has joined #wayland
pounce has joined #wayland
TimWolla has joined #wayland
dottedmag has joined #wayland
jryans has joined #wayland
yoslin has joined #wayland
Emantor has joined #wayland
dblsaiko has joined #wayland
CME has joined #wayland
Kelseyjgilbert[m] has joined #wayland
FbioPacheco[m] has joined #wayland
jpnurmi has joined #wayland
novakane has joined #wayland
ki[m] has joined #wayland
digitalfavshetheyname[m] has joined #wayland
glennk has joined #wayland
Levans has joined #wayland
niecoinny[m] has joined #wayland
ashketchum[m] has joined #wayland
GrahamPerrin[m] has joined #wayland
louipcm has joined #wayland
ozwald1[m]1 has joined #wayland
shadowninja55[m] has joined #wayland
smasher_tati[m] has joined #wayland
go4godvin has joined #wayland
davidre has joined #wayland
RomanGilg[m] has joined #wayland
feta has joined #wayland
flyingketh[m] has joined #wayland
apol[m] has joined #wayland
phryk has joined #wayland
mceier has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
dcz has quit [Ping timeout: 480 seconds]
aquanaq has joined #wayland
MajorBiscuit has joined #wayland
MajorBiscuit has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]
Cute_Math has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
ahartmetz has quit [Ping timeout: 480 seconds]
aquanaq has quit [Remote host closed the connection]