aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2018-07-10 14:46:43 +0200
committerkoekeishiya <aasvi93@hotmail.com>2018-07-10 14:46:43 +0200
commit22147c7516a06e8c2d6db42fe453119a7a49ded2 (patch)
tree069b2f1eec9e4f592ab35fe77ae59292b463e94b
parenta6546422134855457efc0fc020f3d17f5369d709 (diff)
downloadskhd-22147c7516a06e8c2d6db42fe453119a7a49ded2.tar.gz
skhd-22147c7516a06e8c2d6db42fe453119a7a49ded2.zip
disable keypres profiling
-rw-r--r--src/skhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skhd.c b/src/skhd.c
index 34d4377..977a3b2 100644
--- a/src/skhd.c
+++ b/src/skhd.c
@@ -29,7 +29,7 @@
extern bool CGSIsSecureEventInputSet();
#define secure_keyboard_entry_enabled CGSIsSecureEventInputSet
-#if 1
+#ifdef SKHD_PROFILE
#define BEGIN_TIMED_BLOCK() \
clock_t timed_block_begin = clock()
#define END_TIMED_BLOCK() \