]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/child.h
Add relative coordinates in JSON for i3bar click events (fixes #2767)
[i3/i3] / i3bar / include / child.h
index 091230622b9b8661a5849418d59685f9876adb63..9479fac1df8bdfecd0c005000bfd76b7dd10a6e5 100644 (file)
@@ -2,13 +2,15 @@
  * vim:ts=4:sw=4:expandtab
  *
  * i3bar - an xcb-based status- and ws-bar for i3
- * © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
+ * © 2010 Axel Wagner and contributors (see also: LICENSE)
  *
- * child.c: Getting Input for the statusline
+ * child.c: Getting input for the statusline
  *
  */
 #pragma once
 
+#include <config.h>
+
 #include <stdbool.h>
 
 #define STDIN_CHUNK_SIZE 1024
@@ -83,4 +85,4 @@ bool child_want_click_events(void);
  * Generates a click event, if enabled.
  *
  */
-void send_block_clicked(int button, const char *name, const char *instance, int x, int y);
+void send_block_clicked(int button, const char *name, const char *instance, int x, int y, int x_rel, int y_rel, int width, int height);