fix client_icon in max.lua (#28)

This commit is contained in:
przymusp 2019-09-17 18:50:00 +02:00 committed by Emmanuel Lepage Vallée
parent 976aa2051f
commit e0d43e607a
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ local function client_icon(c,width,height)
-- Get the content
--TODO detect pure black frames
local img = cairo.ImageSurface(cairo.Format.ARGB32, width, height)
local rshape = beautiful.collision_max_shape or shape.rounded_rect
local cr = cairo.Context(img)
local geom = c:geometry()