awful.wibox: Fix some flickering
The menu was first made visible and then placed correctly. This caused a short,
black flicker in the top, left corner of the screen.
Fix this by removing a too early "visible = true".
This was introduced by me in 4d280365ad
, sorry.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
4d280365ad
commit
9f8af0ae6d
|
@ -298,7 +298,6 @@ function show(menu, args)
|
||||||
local screen_index = capi.mouse.screen
|
local screen_index = capi.mouse.screen
|
||||||
local keygrabber = args.keygrabber or false
|
local keygrabber = args.keygrabber or false
|
||||||
|
|
||||||
menu.wibox.visible = true
|
|
||||||
if not set_size(menu) then return end
|
if not set_size(menu) then return end
|
||||||
set_coords(menu, screen_index, coords)
|
set_coords(menu, screen_index, coords)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue