From 39f3094d3b92507191c18c7e4dcc17b3484e95a9 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 1 Jul 2019 05:04:45 -0500 Subject: renamed global to hvr_global and added a namedpipe for doing selfcommand() --- src/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index 9b7dd6d..fb8ceca 100644 --- a/src/common.h +++ b/src/common.h @@ -93,7 +93,7 @@ typedef struct c3_shape {//use array or linked list? struct attrib attrib; } c3_s_t; -struct global { +struct hvr_global {//namespace conflict with libidc int x; int y; char beep;//1 or 0 @@ -112,6 +112,7 @@ struct global { real zoom; int derp; real split; + int selfpipe[2]; }; int selfcommand(char *); -- cgit v1.2.3