Hi there,

attached diff does what subject says--this makes shifty usable for me with a 
laptop with a varying number of screens attached.

Andreas

Please cc me on replies. I don't actively read the list.
--- shifty.lua	2009-05-20 20:24:15.000000000 -0400
+++ /usr/share/awesome/lib/shifty.lua	2009-05-20 20:19:14.000000000 -0400
@@ -201,6 +202,9 @@
 
   -- pick screen and get its tag table
   local scr = args.screen or (not t.screen and preset.screen) or t.screen or mouse.screen
+  if scr > screen.count() then
+      scr = screen.count()
+  end
   if t.screen and scr ~= t.screen then
     tagtoscr(scr, t)
     t.screen = nil

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to