fix blink issue
This commit is contained in:
parent
627a6888a2
commit
98340da950
|
@ -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] = {}
|
||||||
|
|
Loading…
Reference in New Issue