wayland: don't early return from pointer_button, it causes a deadlock
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
0a62467760
commit
5960823801
1 changed files with 2 additions and 6 deletions
|
|
@ -430,10 +430,6 @@ static void pointer_button(void* data, struct wl_pointer* wl_pointer, MwU32 seri
|
|||
|
||||
p.point = self->wayland.cur_mouse_pos;
|
||||
|
||||
if(self->wayland.parent == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(self->wayland.framebuffer.surface == self->wayland.curSurface) {
|
||||
int i;
|
||||
|
||||
|
|
@ -878,7 +874,7 @@ static void xdg_toplevel_configure(void* data,
|
|||
region_setup(self);
|
||||
|
||||
MwLLDispatch(self, resize, NULL);
|
||||
MwLLDispatch(self, draw, NULL);
|
||||
// MwLLDispatch(self, draw, NULL);
|
||||
|
||||
MwLLForceRender(self);
|
||||
|
||||
|
|
@ -1407,7 +1403,7 @@ static void MwLLDestroyImpl(MwLL handle) {
|
|||
struct timeval tv;
|
||||
struct timespec t = {
|
||||
.tv_sec = 0,
|
||||
.tv_nsec = 100,
|
||||
.tv_nsec = 0,
|
||||
};
|
||||
int select_ret;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue