From 5e0a9b87b1c4f656c95b262c8066d1821bcc8039 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 22 Aug 2016 01:54:00 -0400 Subject: [PATCH] alttab: Show on the right screen. --- impl/alttab/init.lua | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/impl/alttab/init.lua b/impl/alttab/init.lua index 6e4e1e8..22b665a 100644 --- a/impl/alttab/init.lua +++ b/impl/alttab/init.lua @@ -137,10 +137,19 @@ local function new(args) local scr = capi.client.focus and capi.client.focus.screen or capi.mouse.screen local t,auto_release = scr.selected_tag,args.auto_release - local currentMenu = radical.box({filter = true, show_filter=not auto_release, autodiscard = true, - disable_markup=true,fkeys_prefix=not auto_release,width=(((capi.screen[scr]).geometry.width)/2), - icon_transformation = beautiful.alttab_icon_transformation,filter_underlay="Use [Shift] and [Control] to toggle clients",filter_underlay_color=beautiful.menu_bg_normal, - filter_placeholder="Type to filter"}) + local currentMenu = radical.box { + screen = scr, + filter = true, + show_filter = not auto_release, + autodiscard = true, + disable_markup = true, + fkeys_prefix = not auto_release, + width = (((capi.screen[scr]).geometry.width)/2), + icon_transformation = beautiful.alttab_icon_transformation, + filter_underlay = "Use [Shift] and [Control] to toggle clients", + filter_underlay_color = beautiful.menu_bg_normal, + filter_placeholder = "Type to filter" + } currentMenu.margins.top = currentMenu.border_width currentMenu.margins.bottom = currentMenu.border_width