From 38e3d033cd15650b0736a210a8e5331b0b97744c Mon Sep 17 00:00:00 2001 From: Ksaper Date: Mon, 20 Feb 2023 04:51:00 +0200 Subject: [PATCH] Make use of the screen prop --- widget/app_launcher/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widget/app_launcher/init.lua b/widget/app_launcher/init.lua index 1fc8545..d29711f 100644 --- a/widget/app_launcher/init.lua +++ b/widget/app_launcher/init.lua @@ -593,6 +593,7 @@ local function build_widget(self) self._private.widget = awful.popup { + screen = self.screen, type = self.type, visible = false, ontop = true, @@ -678,8 +679,6 @@ end function app_launcher:show() if self.show_on_focused_screen then self._private.widget.screen = awful.screen.focused() - else - self._private.widget.screen = capi.screen.primary end self._private.widget.visible = true