Skip to content

Commit

Permalink
fix: wrong window position for certain applications #59
Browse files Browse the repository at this point in the history
  • Loading branch information
leukipp committed Aug 2, 2024
1 parent 6333cd8 commit 9c90513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ func GetInfo(w xproto.Window) *Info {
Top: int(ext[2]),
Bottom: int(ext[3]),
},
AdjPos: !common.AllZero(extNet) && (mhints.Decoration > 1 || nhints.WinGravity > 1) || !common.AllZero(extGtk),
AdjPos: (nhints.WinGravity > 1 && !common.AllZero(extNet)) || !common.AllZero(extGtk),
AdjSize: !common.AllZero(extNet) || !common.AllZero(extGtk),
AdjRestore: !common.AllZero(extGtk),
}
Expand Down

0 comments on commit 9c90513

Please sign in to comment.