Send view tags when applying pending state in XdgToplevel.zig
This commit is contained in:
parent
b67ea748a3
commit
bb23464322
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue