mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 17:54:17 +00:00
bar: 2024-04-25
This commit is contained in:
parent
9820162b9f
commit
3a4d8157f5
@ -1,6 +1,6 @@
|
||||
From 5c41ce96bb08895fa262b06984583d97bd10220b Mon Sep 17 00:00:00 2001
|
||||
From 593e4ce9d4695d48c4da10560fca15251ec265ac Mon Sep 17 00:00:00 2001
|
||||
From: sewn <sewn@disroot.org>
|
||||
Date: Wed, 24 Apr 2024 15:43:38 +0300
|
||||
Date: Thu, 25 Apr 2024 17:51:28 +0300
|
||||
Subject: [PATCH] Implement dwm bar clone
|
||||
|
||||
---
|
||||
@ -295,7 +295,7 @@ index 0000000..613551e
|
||||
+ return x + (render ? w : 0);
|
||||
+}
|
||||
diff --git a/dwl.c b/dwl.c
|
||||
index bf763df..54273ae 100644
|
||||
index bf763df..2145e55 100644
|
||||
--- a/dwl.c
|
||||
+++ b/dwl.c
|
||||
@@ -4,6 +4,7 @@
|
||||
@ -522,7 +522,7 @@ index bf763df..54273ae 100644
|
||||
+ if (c)
|
||||
+ click = ClkClient;
|
||||
+
|
||||
+ if ((node = wlr_scene_node_at(&layers[LyrBottom]->node, cursor->x, cursor->y, NULL, NULL)) &&
|
||||
+ if (!c && (node = wlr_scene_node_at(&layers[LyrBottom]->node, cursor->x, cursor->y, NULL, NULL)) &&
|
||||
+ (buffer = wlr_scene_buffer_from_node(node)) && buffer == selmon->scene_buffer) {
|
||||
+ x = selmon->m.x;
|
||||
+ do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user