Implement configurable view opacity with fade effect

This commit is contained in:
Leon Henrik Plickat
2020-10-03 22:09:15 +02:00
committed by Isaac Freund
parent 27b666dbba
commit b67ea748a3
10 changed files with 228 additions and 5 deletions

View File

@ -251,8 +251,10 @@ fn handleCommit(listener: ?*c.wl_listener, data: ?*c_void) callconv(.C) void {
view.pending_serial = null;
if (view.shouldTrackConfigure())
view.output.root.notifyConfigured()
else
else {
view.current = view.pending;
view.commitOpacityTransition();
}
} else {
// If the client has not yet acked our configure, we need to send a
// frame done event so that it commits another buffer. These