Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
xosdd protocol enhancement
diff -ru packages.orig/xosdd-0.0/osd.c packages/xosdd-0.0/osd.c
--- packages.orig/xosdd-0.0/osd.c 2010-05-02 22:24:15.000000000 +0100
+++ packages/xosdd-0.0/osd.c 2011-04-04 21:42:40.000000000 +0100
@@ -412,6 +412,8 @@
*pos = XOSD_top;
} else if (strcmp(s, "bottom") == 0) {
*pos = XOSD_bottom;
+ } else if (strcmp(s, "middle") == 0) {
+ *pos = XOSD_middle;
} else {
ph_eprintf("can't convert '%s' to position", s);
return EINVAL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.