system-controller: fix a copy-paste bug in dest. rect. cb.
authorJan Ekström <jan.ekstrom@intel.com>
Wed, 19 Nov 2014 09:44:38 +0000 (11:44 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:19 +0000 (18:37 +0200)
Change-Id: I81ce16b5f6ba08bca9f70c72f76682a1cb962376

src/plugins/system-controller/wayland/glm-window-manager.c

index 74a0f1c..bba6a9a 100644 (file)
@@ -1020,7 +1020,7 @@ static void surface_destination_rectangle_callback(void *data,
          * loop ...
          */
         if ((sf->requested_x <= MAX_COORDINATE && x != sf->requested_x ) ||
-            (sf->requested_y <= MAX_COORDINATE && x != sf->requested_y ) ||
+            (sf->requested_y <= MAX_COORDINATE && y != sf->requested_y ) ||
             (sf->requested_width  > 0 && width  != sf->requested_width ) ||
             (sf->requested_height > 0 && height != sf->requested_height)  )
         {