Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/driver/kwin/kwinwindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ class KWinWindow implements IDriverWindow {
const unit = this.client.basicUnit;
const base = this.client.minSize;

const padWidth = this.client.geometry.width - this.client.clientSize.width;
const padHeight = this.client.geometry.height - this.client.clientSize.height;
const padWidth = this.client.geometry.width;
const padHeight = this.client.geometry.height;

const quotWidth = Math.floor((geom.width - base.width - padWidth ) / unit.width);
const quotHeight = Math.floor((geom.height - base.height - padHeight) / unit.height);
Expand Down