aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-03 19:41:31 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-03 19:41:31 +0000
commit8e7b83f5fdd617d1c6506847b4bf175cf8fcc92b (patch)
tree289b01bffe621c78ab88419e8530056449a1d06d
parentc176a2e8d81a5655dbae5003d8230489cf44b01b (diff)
revert
-rw-r--r--spectrogram.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 25dfd2c..b903373 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -255,18 +255,10 @@ init_panel(Display *d, Window win, int x, int y, int w, int h, enum mirror m)
p->win = XCreateSimpleWindow(d, win, x, y, w, h, 0, white, gray);
/* sperctrogram window and its bitmasks */
-#if 0
p->s.x = 0;
p->s.y = 0;
p->s.width = w;
p->s.height = h * 0.25;
-#endif
- p->s = {
- .x = 0,
- .y = 0,
- .width = w,
- .height = h * 0.25,
- };
p->sp = XCreateSimpleWindow(d, p->win, p->s.x, p->s.y,
p->s.width, p->s.height, 0, white, black);