I missed one s/screen/capi.screen/ in this patch, please amend.

cheers,
k
From 8d8a9a675d7065e800f209b011b3672990735cc9 Mon Sep 17 00:00:00 2001
From: koniu <[email protected]>
Date: Sun, 10 May 2009 05:12:47 +0100
Subject: [PATCH] naughty: 'environment cleanup' amendment

Signed-off-by: koniu <[email protected]>
---
 lib/naughty.lua.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in
index 62a8f5d..85af99f 100644
--- a/lib/naughty.lua.in
+++ b/lib/naughty.lua.in
@@ -185,7 +185,7 @@ end
 -- @return notification object if it was found, nil otherwise
 local function getById(id)
     -- iterate the notifications to get the notfications with the correct ID
-    for s = 1, screen.count() do
+    for s = 1, capi.screen.count() do
         for p,pos in pairs(notifications[s]) do
             for i,notification in pairs(notifications[s][p]) do
                 if notification.id == id then
-- 
1.6.3

Reply via email to