Okami

Results 10 comments of Okami

``` ┗━tree 0,0 ┗━tree 0,0 ┗━tree 0,0 ┣━rect 0,0 1280x720 ┗━tree 0,0 ┣━buffer 0,0 0x0 ┗━tree 0,0 disabled ┗━buffer 0,0 0x0 ``` ``` ┗━tree 0,0 ┗━tree 0,0 ┗━tree 0,0 ┣━rect...

@kennylevinsen I added `commit` event emitting in `lock_surface_role_commit`, that seems to fix the issue. ``` --- a/types/wlr_session_lock_v1.c +++ b/types/wlr_session_lock_v1.c @@ -185,6 +185,8 @@ static void lock_surface_role_commit(struct wlr_surface *surface) { return;...

It seems that Labwc has a fix for the same problem: https://github.com/labwc/labwc/pull/1858 `wl_event_loop_add_idle` can be used here to delay the actual operations after the buffer has been attached. This should...

Just fixed another edge case. I think this PR is ready. Is it OK to merge this? @emersion

Any update on this? @emersion @kennylevinsen @Nefsen402

> In general the approach of delaying the focus updates are more of a workaround than a proper fix. However it's not clear what the proper fix could look like....

Firefox may trigger this too: ``` #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 ? in __pthread_kill_internal (threadid=, signo=6) at pthread_kill.c:78 #2 ? in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 ?...

I think this PR is ready. Is it OK to merge this? @emersion

Gentle ping. @emersion