summaryrefslogtreecommitdiff
path: root/dwm/patch/bar_winicon.h
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /dwm/patch/bar_winicon.h
Diffstat (limited to 'dwm/patch/bar_winicon.h')
-rwxr-xr-xdwm/patch/bar_winicon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dwm/patch/bar_winicon.h b/dwm/patch/bar_winicon.h
new file mode 100755
index 0000000..56fc6e3
--- /dev/null
+++ b/dwm/patch/bar_winicon.h
@@ -0,0 +1,9 @@
+#include <Imlib2.h>
+#include <limits.h>
+#include <stdint.h>
+
+static Picture drw_picture_create_resized(Drw *drw, char *src, unsigned int src_w, unsigned int src_h, unsigned int dst_w, unsigned int dst_h);
+static void drw_pic(Drw *drw, int x, int y, unsigned int w, unsigned int h, Picture pic);
+static Picture geticonprop(Window w, unsigned int *icw, unsigned int *ich);
+static void freeicon(Client *c);
+static void updateicon(Client *c);