summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-23 15:50:46 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-23 15:50:46 +0100
commitf64e06747841ef0c22e9f0d7a5af9a3f1419176b (patch)
tree1a35472638adaccf12f53f8012a12afcacf22e88
parent982a44588742d64d480321abd118192a37f63eae (diff)
parent6cbed6d3ac5db5601c82d04622eb1ed9f3061923 (diff)
Merge branch 'shlyakpavel-patch-1'
-rw-r--r--src/winwidget.c2
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);