From e0d43e607a6c9dd42a3f6ef4555e0006992cfdc4 Mon Sep 17 00:00:00 2001 From: przymusp Date: Tue, 17 Sep 2019 18:50:00 +0200 Subject: [PATCH] fix client_icon in max.lua (#28) --- max.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/max.lua b/max.lua index 1dd2e29..1fd6e6f 100644 --- a/max.lua +++ b/max.lua @@ -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()