wlserver: Flush clients on any unlock.
This should make steamcompmgr messages actually go when we send them. We're pulling too many frames out of "vsynced" clients now, need to instill a real frame cadence based on vblank and notify based on that.
This commit is contained in:
parent
c70e71d1e2
commit
010ba40691
1 changed files with 1 additions and 1 deletions
|
@ -185,6 +185,7 @@ void wlserver_lock(void)
|
||||||
|
|
||||||
void wlserver_unlock(void)
|
void wlserver_unlock(void)
|
||||||
{
|
{
|
||||||
|
wl_display_flush_clients(wlserver.wl_display);
|
||||||
pthread_mutex_unlock(&waylock);
|
pthread_mutex_unlock(&waylock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,7 +223,6 @@ int wlserver_run(void)
|
||||||
wlserver_unlock();
|
wlserver_unlock();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
wl_display_flush_clients(wlserver.wl_display);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wlserver_unlock();
|
wlserver_unlock();
|
||||||
|
|
Loading…
Reference in a new issue