aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-18 09:15:48 +0100
committeremersion <contact@emersion.fr>2017-11-18 09:15:48 +0100
commit7375931686e6a58c08a7727ce2f5d88e0be9adfa (patch)
treef86d6be4b6b0758a15890d1e8751044fbd0453db
parent8693bbd6b11b2519747fe3efcd6376a9736aef6f (diff)
Fix typo making GCC build fail
-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;
}