Skip to content

Commit

Permalink
Fix minimized windows not easing back to pre-minimization position
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheeler committed Jun 4, 2022
1 parent b2fd0af commit 348cc38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CoverflowAltTab@dmo60.de/switcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,10 @@ var Switcher = class Switcher {
preview.make_top_layer(this.previewActor);
}
if (!metaWin.minimized) {
let rect = metaWin.get_buffer_rect();
this._manager.platform.tween(preview, {
x: compositor.x - monitor.x,
y: compositor.y - monitor.y,
x: rect.x - monitor.x,
y: rect.y - monitor.y,
width: compositor.width,
height: compositor.height,
translation_x: 0,
Expand Down

0 comments on commit 348cc38

Please sign in to comment.