Fix typo introduced a few commits ago that made resizing windows hard.
authorMikael Magnusson <mikachu@comhem.se>
Wed, 23 Apr 2008 14:40:22 +0000 (16:40 +0200)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 23 Apr 2008 14:40:22 +0000 (16:40 +0200)
openbox/moveresize.c

index fb52776..f324818 100644 (file)
@@ -359,8 +359,8 @@ static void do_resize(void)
     h = cur_h;
     client_try_configure(moveresize_client, &x, &y, &w, &h,
                          &lw, &lh, TRUE);
-    if (!w == moveresize_client->area.width &&
-         h == moveresize_client->area.height)
+    if (!(w == moveresize_client->area.width &&
+          h == moveresize_client->area.height))
     {
 
 #ifdef SYNC