summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep1/files/patch-functions.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
committerDirk Meyer <dinoex@FreeBSD.org>2024-07-15 14:02:19 +0200
commit90a34e05a8136060f3f2ffc10b6b054115ad2746 (patch)
tree76098504cecec5a0eaf178fa6443359327237a26 /x11-wm/afterstep1/files/patch-functions.c
parentx11-wm/afterstep: fix distinfo (diff)
x11-wm/afterstep: move to x11-wm/afterstep1
Diffstat (limited to 'x11-wm/afterstep1/files/patch-functions.c')
-rw-r--r--x11-wm/afterstep1/files/patch-functions.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/afterstep1/files/patch-functions.c b/x11-wm/afterstep1/files/patch-functions.c
new file mode 100644
index 000000000000..2146a63630bc
--- /dev/null
+++ b/x11-wm/afterstep1/files/patch-functions.c
@@ -0,0 +1,11 @@
+--- afterstep/functions.c.orig 1997-04-26 12:50:08 UTC
++++ afterstep/functions.c
+@@ -1257,7 +1257,7 @@ void Shade(ASWindow *tmp_win)
+ tmp_win->flags |= SHADED;
+
+ /* can't shade a window with no titlebar */
+- if (!tmp_win->flags & TITLE) return;
++ if ((!tmp_win->flags) & TITLE) return;
+
+ #ifdef SHADE_ANIMATION
+ XLowerWindow(dpy, tmp_win->w);