aboutsummaryrefslogtreecommitdiff
path: root/spectrogram.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-10 20:55:41 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-10 20:55:41 +0000
commitb610c168ab0b5b964f72554bedd0b8c3a3365a39 (patch)
tree83a157b53e9a5fa693dc04d92937247c176f2920 /spectrogram.c
parent6bb0b331d61f247f56de22c63145dee561df2a21 (diff)
move code to aux
Diffstat (limited to 'spectrogram.c')
-rw-r--r--spectrogram.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 9886152..96683a1 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -376,25 +376,6 @@ free_panel(Display *d, struct panel *p)
free(p);
}
-int
-move(Display *dsp, Window win, Window container)
-{
- int dx, dy;
- XWindowAttributes wa, wac;
-
- XGetWindowAttributes(dsp, win, &wa);
- XGetWindowAttributes(dsp, container, &wac);
-
- dx = (wa.width - wac.width) / 2;
- dy = (wa.height - wac.height) / 2;
- if (dy < 0)
- dy = 0;
-
- XMoveWindow(dsp, container, dx, dy);
-
- return 0;
-}
-
int
main(int argc, char **argv)
{