return XMoveWindow status, remove useless #include

This commit is contained in:
Julien Danjou 2008-01-23 16:54:30 +01:00
parent 3e249cab4b
commit 47b15d883f
1 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
#include "config.h"
#include "window.h" #include "window.h"
#include "common/util.h" #include "common/util.h"
@ -232,7 +231,7 @@ simplewindow_move(SimpleWindow *sw, int x, int y)
{ {
sw->geometry.x = x; sw->geometry.x = x;
sw->geometry.y = y; 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 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80