Send view tags when applying pending state in XdgToplevel.zig

This commit is contained in:
Leon Henrik Plickat 2020-10-05 22:32:51 +02:00 committed by Isaac Freund
parent b67ea748a3
commit bb23464322

View file

@ -252,8 +252,10 @@ fn handleCommit(listener: ?*c.wl_listener, data: ?*c_void) callconv(.C) void {
if (view.shouldTrackConfigure())
view.output.root.notifyConfigured()
else {
const view_tags_changed = view.pending.tags != view.current.tags;
view.current = view.pending;
view.commitOpacityTransition();
if (view_tags_changed) view.output.sendViewTags();
}
} else {
// If the client has not yet acked our configure, we need to send a