fix blink issue

This commit is contained in:
Pavel Makhov 2018-12-24 21:54:50 -05:00
parent 627a6888a2
commit 98340da950
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ function widget.new()
function widget_instance:launch(s, c) function widget_instance:launch(s, c)
c = c or capi.client.focus c = c or capi.client.focus
s = s or (c and c.screen or mouse.screen) s = mouse.screen
naughty.notify { text = 'screen ' .. s.index } naughty.notify { text = 'screen ' .. s.index }
if not self._cached_wiboxes[s] then if not self._cached_wiboxes[s] then
self._cached_wiboxes[s] = {} self._cached_wiboxes[s] = {}