aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index be63d7f5..fca801bb 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -103,7 +103,7 @@ void view_resize(struct roots_view *view, uint32_t width, uint32_t height) {
void view_move_resize(struct roots_view *view, double x, double y,
uint32_t width, uint32_t height) {
- if (x == view->x == x && y == view->y) {
+ if (x == view->x && y == view->y) {
view_resize(view, width, height);
return;
}