From 47b15d883ffff2fcde59d079f96bf72fdc22fe34 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Jan 2008 16:54:30 +0100 Subject: [PATCH] return XMoveWindow status, remove useless #include --- window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/window.c b/window.c index 254c4ab2..574cf860 100644 --- a/window.c +++ b/window.c @@ -22,7 +22,6 @@ #include #include -#include "config.h" #include "window.h" #include "common/util.h" @@ -232,7 +231,7 @@ simplewindow_move(SimpleWindow *sw, int x, int y) { sw->geometry.x = x; sw->geometry.y = y; - XMoveWindow(globalconf.display, sw->window, x, y); + return XMoveWindow(globalconf.display, sw->window, x, y); } // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80