From 7414d45aa4575b32863d6651ee5e07cec152b3e9 Mon Sep 17 00:00:00 2001 From: xeals Date: Wed, 20 Apr 2022 09:41:43 +1000 Subject: [PATCH] polybar: update patch --- pkgs/applications/misc/polybar/9button.patch | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/polybar/9button.patch b/pkgs/applications/misc/polybar/9button.patch index 1a32f45..aecf68f 100644 --- a/pkgs/applications/misc/polybar/9button.patch +++ b/pkgs/applications/misc/polybar/9button.patch @@ -2,12 +2,10 @@ diff --git a/include/components/types.hpp b/include/components/types.hpp index 8125d4b..c435f4a 100644 --- a/include/components/types.hpp +++ b/include/components/types.hpp -@@ -57,7 +57,7 @@ enum class controltag { - R, // Reset all open tags (B, F, T, o, u). Used at module edges +@@ -43,5 +43,6 @@ enum class controltag { + DOUBLE_MIDDLE, + DOUBLE_RIGHT, ++ EXTRA, + // Terminator value, do not use + BTN_COUNT, }; - --enum class mousebtn { NONE = 0, LEFT, MIDDLE, RIGHT, SCROLL_UP, SCROLL_DOWN, DOUBLE_LEFT, DOUBLE_MIDDLE, DOUBLE_RIGHT }; -+enum class mousebtn { NONE = 0, LEFT, MIDDLE, RIGHT, SCROLL_UP, SCROLL_DOWN, DOUBLE_LEFT, DOUBLE_MIDDLE, DOUBLE_RIGHT, EXTRA }; - - enum class strut { - LEFT = 0,