From 7390c49a8f730405c048b4e79a6275322987315f Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 30 Jun 2022 06:22:02 -0500 Subject: [modify] moved *application* into wheelwork; should-listen-for-p --- src/events/listener-and-interactive.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/events') diff --git a/src/events/listener-and-interactive.lisp b/src/events/listener-and-interactive.lisp index fdfe7b3..e5bdce3 100644 --- a/src/events/listener-and-interactive.lisp +++ b/src/events/listener-and-interactive.lisp @@ -51,7 +51,7 @@ (after-dropped (after-dropped-table listener)) (before-dropped (before-dropped-table listener)))) -(defun should-listen-for-p (event-type &optional (app *application*)) +(defun should-listen-for-p (event-type app) (plusp (hash-table-count (listener-table-for (listener app) event-type)))) (defclass/std interactive () -- cgit v1.2.3