Files
tabbed/smb-tabbed.c-patch.diff

22 lines
636 B
Diff

--- tabbed.c.smb 2024-02-09 15:18:56.696563862 -0500
+++ tabbed.c 2024-02-09 15:24:47.687885341 -0500
@@ -171,6 +171,7 @@
static char **cmd;
static char *wmname = "tabbed";
static const char *geometry;
+static unsigned long icon[ICON_WIDTH * ICON_HEIGHT + 2];
static Colormap cmap;
static Visual *visual = NULL;
@@ -259,8 +260,8 @@
ww = ev->width;
wh = ev->height;
XFreePixmap(dpy, dc.drawable);
- dc.drawable = XCreatePixmap(dpy, root, ww, wh,
- DefaultDepth(dpy, screen));
+ dc.drawable = XCreatePixmap(dpy, win, ww, wh,
+ 32);
if (!obh && (wh <= bh)) {
obh = bh;