Skip to content

Commit

Permalink
Remove redundant equality check
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR authored and Drakulix committed Dec 23, 2024
1 parent 68555cf commit 5587627
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/wayland/shell/xdg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1993,9 +1993,7 @@ impl PopupSurface {

if attributes.initial_configure_sent {
if let Some(state) = attributes.last_acked {
if state != attributes.current {
attributes.current = state;
}
attributes.current = state;
}
}
});
Expand Down

0 comments on commit 5587627

Please sign in to comment.