mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
bar-systray: Fix bad postfix decrement usage
This commit is contained in:
parent
93523c00fb
commit
8ba6ccd823
@ -1,4 +1,4 @@
|
|||||||
From e40de8cb1f33ebd7978f7f7843aa94ee241cb55a Mon Sep 17 00:00:00 2001
|
From cf228147250f4616d150fbe5276088c5f9969bba Mon Sep 17 00:00:00 2001
|
||||||
From: vetu104 <vetu104@proton.me>
|
From: vetu104 <vetu104@proton.me>
|
||||||
Date: Sat, 29 Mar 2025 19:22:37 +0200
|
Date: Sat, 29 Mar 2025 19:22:37 +0200
|
||||||
Subject: [PATCH] Add a system tray next to sewn's bar
|
Subject: [PATCH] Add a system tray next to sewn's bar
|
||||||
@ -895,7 +895,7 @@ index 0000000..20f281b
|
|||||||
+#endif /* ICON_H */
|
+#endif /* ICON_H */
|
||||||
diff --git a/systray/item.c b/systray/item.c
|
diff --git a/systray/item.c b/systray/item.c
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..8a13181
|
index 0000000..4359a28
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/systray/item.c
|
+++ b/systray/item.c
|
||||||
@@ -0,0 +1,403 @@
|
@@ -0,0 +1,403 @@
|
||||||
@ -995,7 +995,7 @@ index 0000000..8a13181
|
|||||||
+ } while (dbus_message_iter_next(iter));
|
+ } while (dbus_message_iter_next(iter));
|
||||||
+
|
+
|
||||||
+ /* return last index if desired not found */
|
+ /* return last index if desired not found */
|
||||||
+ return i--;
|
+ return --i;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static void
|
+static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user