]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/outputs.h
Optionally change i3bar color on focused output, implements #2020
[i3/i3] / i3bar / include / outputs.h
index ec09e764725d84b756543842ce67d04d2aea26cb..08adefd9742f8ced77e035325caed4fc565c3db4 100644 (file)
@@ -38,6 +38,12 @@ void init_outputs(void);
  */
 i3_output* get_output_by_name(char* name);
 
+/*
+ * Returns true if the output has the currently focused workspace
+ *
+ */
+bool output_has_focus(i3_output* output);
+
 struct i3_output {
     char* name;   /* Name of the output */
     bool active;  /* If the output is active */