awesome!
>From 3da8ce3c9739cc7a60a6563c68cd97648c210128 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Mon, 8 Aug 2011 16:59:17 +0200
Subject: [PATCH] Fix #ifdef ANIMATIONS
Signed-off-by: Tamas TEVESZ <[email protected]>
---
src/actions.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/actions.c b/src/actions.c
index d7edf45..8e89715 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -88,8 +88,6 @@ static int compareTimes(Time t1, Time t2)
#ifdef ANIMATIONS
static void shade_animate(WWindow *wwin, Bool what);
-#else
-static void shade_animate(WWindow *wwin, Bool what) { }
#endif
/*
@@ -225,7 +223,9 @@ void wShadeWindow(WWindow *wwin)
return;
XLowerWindow(dpy, wwin->client_win);
+#ifdef ANIMATIONS
shade_animate(wwin, SHADE);
+#endif
wwin->flags.skip_next_animation = 0;
wwin->flags.shaded = 1;
@@ -265,7 +265,9 @@ void wUnshadeWindow(WWindow *wwin)
wwin->flags.mapped = 1;
XMapWindow(dpy, wwin->client_win);
+#ifdef ANIMATIONS
shade_animate(wwin, UNSHADE);
+#endif
wwin->flags.skip_next_animation = 0;
wFrameWindowResize(wwin->frame, wwin->frame->core->width,
--
1.7.0.4
--
[-]
mkdir /nonexistentFrom 3da8ce3c9739cc7a60a6563c68cd97648c210128 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Mon, 8 Aug 2011 16:59:17 +0200
Subject: [PATCH] Fix #ifdef ANIMATIONS
Signed-off-by: Tamas TEVESZ <[email protected]>
---
src/actions.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/actions.c b/src/actions.c
index d7edf45..8e89715 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -88,8 +88,6 @@ static int compareTimes(Time t1, Time t2)
#ifdef ANIMATIONS
static void shade_animate(WWindow *wwin, Bool what);
-#else
-static void shade_animate(WWindow *wwin, Bool what) { }
#endif
/*
@@ -225,7 +223,9 @@ void wShadeWindow(WWindow *wwin)
return;
XLowerWindow(dpy, wwin->client_win);
+#ifdef ANIMATIONS
shade_animate(wwin, SHADE);
+#endif
wwin->flags.skip_next_animation = 0;
wwin->flags.shaded = 1;
@@ -265,7 +265,9 @@ void wUnshadeWindow(WWindow *wwin)
wwin->flags.mapped = 1;
XMapWindow(dpy, wwin->client_win);
+#ifdef ANIMATIONS
shade_animate(wwin, UNSHADE);
+#endif
wwin->flags.skip_next_animation = 0;
wFrameWindowResize(wwin->frame, wwin->frame->core->width,
--
1.7.0.4