From 37065cd0c4faa6757f1f53bfd5c2bf8b521edc7c Mon Sep 17 00:00:00 2001
From: Nicolas Cornu <ncornu@aldebaran.com>
Date: Thu, 6 Oct 2016 20:23:46 +0200
Subject: add click on title_bar to focus a container

---
 include/sway/container.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'include/sway')

diff --git a/include/sway/container.h b/include/sway/container.h
index 67b747a0..5e251885 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -243,6 +243,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view);
  * Finds the container currently underneath the pointer.
  */
 swayc_t *container_under_pointer(void);
+/**
+ * Finds the first container following a callback.
+ */
+swayc_t *container_find(swayc_t *container, bool (*f)(swayc_t *, const void *), const void *data);
 
 /**
  * Returns true if a container is fullscreen.
-- 
cgit v1.2.3