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,