diff options
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index b68d56f..4f5f4a6 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -740,8 +740,6 @@ void winwidget_show(winwidget winwid) void winwidget_move(winwidget winwid, int x, int y) { if (winwid && ((winwid->x != x) || (winwid->y != y))) { - winwid->x = x; - winwid->y = y; winwid->x = (x > scr->width) ? scr->width : x; winwid->y = (y > scr->height) ? scr->height : y; XMoveWindow(disp, winwid->win, winwid->x, winwid->y); |