]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.h
allow multiple contexts separated by space in a mouse binding
[chaz/openbox] / openbox / frame.h
index 1130709b3e96867412b25a62cc6b5ab2a91e984a..8f1ed91bf99efdf3f1fccb82989cb6ebd4c7021e 100644 (file)
@@ -221,6 +221,16 @@ void frame_release_client(ObFrame *self);
 
 ObFrameContext frame_context_from_string(const gchar *name);
 
+/*! Parses a ObFrameContext from a string of space-separated context names.
+  @names The list of context names, the first of which is removed from the
+         string.
+  @cx The ObFrameContext is returned here.  If an invalid name is found, this
+      is set to OB_FRAME_CONTEXT_NONE.
+  @return TRUE if there was something to read in @names, FALSE if it was an
+          empty input.
+*/
+gboolean frame_next_context_from_string(gchar *names, ObFrameContext *cx);
+
 ObFrameContext frame_context(struct _ObClient *self, Window win,
                              gint x, gint y);
 
This page took 0.019598 seconds and 4 git commands to generate.