Tiling2: Update original information every time a client is added.
authorTom Hacohen <tom@stosb.com>
Mon, 20 Jan 2014 15:22:43 +0000 (15:22 +0000)
committerTom Hacohen <tom@stosb.com>
Fri, 21 Feb 2014 09:15:08 +0000 (09:15 +0000)
Even if it's not the first time that client is added.

src/modules/tiling/e_mod_tiling.c

index 053a2b9..0d55cfc 100644 (file)
@@ -304,6 +304,9 @@ _get_or_create_client_extra(E_Client *ec)
             .w = ec->w,
             .h = ec->h,
         };
+        extra->orig.geom = extra->expected;
+        extra->orig.maximized = ec->maximized;
+        eina_stringshare_replace(&extra->orig.bordername, ec->bordername);
     }
 
     return extra;