aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-30 23:28:02 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-30 23:28:02 -0400
commit44a4905466599155fb7203a585dfca1ce1720b33 (patch)
treea7acb9aab8520040d49be04184d70984a66b95e7 /include/util.h
parentMerge pull request #803 from zandrmartin/x11-pids (diff)
parentimplement solid color rendering for swaybg (diff)
downloadsway-44a4905466599155fb7203a585dfca1ce1720b33.tar.gz
sway-44a4905466599155fb7203a585dfca1ce1720b33.tar.zst
sway-44a4905466599155fb7203a585dfca1ce1720b33.zip
Merge pull request #805 from zandrmartin/swaybg-solid-color0.9-rc3
implement solid color rendering for swaybg
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 6f21bff0..e33a08f7 100644
--- a/include/util.h
+++ b/include/util.h
@@ -44,4 +44,10 @@ int get_modifier_names(const char **names, uint32_t modifier_masks);
44 */ 44 */
45pid_t get_parent_pid(pid_t pid); 45pid_t get_parent_pid(pid_t pid);
46 46
47/**
48 * Given a string that represents an RGB(A) color, return a uint32_t
49 * version of the color.
50 */
51uint32_t parse_color(const char *color);
52
47#endif 53#endif