2zw

2zw - X11 Windowmanager

Files | Log | Commits | Refs | README


aadb0bc

Author: erikbackman

Date: 2024-02-08

Subject: Cleanup unused Direction enum

Diff

commit aadb0bcbc89095ab3f3e4d0517d2a5400600235c
Author: erikbackman <erikbackman@users.noreply.github.com>
Date:   Thu Feb 8 23:42:55 2024 +0100

    Cleanup unused Direction enum

diff --git a/src/main.zig b/src/main.zig
index 13c5d97..7d249d3 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -5,8 +5,6 @@ const FOCUS_BORDER_COLOR = 0xffd787;
 const NORMAL_BORDER_COLOR = 0x333333;
 const BORDER_WIDTH = 2;
 
-const Direction = enum { Previous, Next };
-
 // Keybinds, currently every key is directly under Mod4Mask but I will probably add
 // the ability to specify modifiers.
 const keys = [_]Key{