summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan@xfce.org>2015-03-27 21:52:55 +0100
committerOlivier Fourdan <fourdan@xfce.org>2015-03-27 21:52:55 +0100
commit691d95c7fba3f4aa928479a78e297fd81886a01f (patch)
treeed8d0cd6f5d66acbfe233c7910838b7fefe043f7 /src/misc.c
parentaa9246ce961f5f1eeabcf797603d67dd49931a8e (diff)
downloadxfwm4-691d95c7fba3f4aa928479a78e297fd81886a01f.tar.gz
Small code cleanup
Remove dead code and reuse some other. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/misc.c b/src/misc.c
index 27f7ee144..9551c6a7e 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -57,19 +57,6 @@ getMouseXY (ScreenInfo *screen_info, Window w, int *x2, int *y2)
return mask;
}
-Window
-getMouseWindow (ScreenInfo *screen_info, Window w)
-{
- Window w1, w2;
- unsigned int mask;
- int x1, y1, x2, y2;
-
- TRACE ("entering getMouseWindow");
-
- XQueryPointer (myScreenGetXDisplay (screen_info), w, &w1, &w2, &x1, &y1, &x2, &y2, &mask);
- return w2;
-}
-
GC
createGC (ScreenInfo *screen_info, char *col, int func, XFontStruct * font,
int line_width, gboolean inc_sw)