mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-12-04 04:11:38 +00:00
Set actor variable for use after if (#368)
This commit is contained in:
+1
-1
@@ -165,8 +165,8 @@ class LiveAltTab extends AltTab.WindowSwitcherPopup {
|
||||
let index = this.was_accepted ? this._selectedIndex : 0
|
||||
let to = this._switcherList.windows[index];
|
||||
Tiling.focus_handler(to);
|
||||
let actor = to.get_compositor_private();
|
||||
if (this.was_accepted) {
|
||||
let actor = to.get_compositor_private();
|
||||
actor.x = this.clone.x;
|
||||
actor.y = this.clone.y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user