diff options
Diffstat (limited to 'workspace.lua')
-rw-r--r-- | workspace.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/workspace.lua b/workspace.lua index 71bfaa7..f6ac79d 100644 --- a/workspace.lua +++ b/workspace.lua @@ -3,6 +3,7 @@ local M = {} local awful = require("awful") local object = require("gears.object") local stack = require("stack") +local timer = require("gears.timer") local Workspace = {} @@ -58,7 +59,7 @@ function Workspace:_apply_state() end end - awful.screen.focus(orig_focus) + timer.delayed_call(awful.screen.focus, orig_focus) end function Workspace:view(screen, desktop_idx, page_idx) |