Created
October 7, 2012 06:40
-
-
Save davedoesdev/3847336 to your computer and use it in GitHub Desktop.
xosdd protocol enhancement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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