]> Dogcows Code - chaz/openbox/commitdiff
only show the coords popup when both directions have a size increment
authorDana Jansens <danakj@orodu.net>
Wed, 2 May 2007 02:15:48 +0000 (02:15 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 2 May 2007 02:15:48 +0000 (02:15 +0000)
openbox/moveresize.c

index 8ab8c1583fa1154c3f7cbcf71a7961b4e4eee711..eba2106692f729b4ed3db445c0a80827dd2c48d7 100644 (file)
@@ -369,9 +369,8 @@ static void do_resize()
        if there are 2 text boxes */
     if (config_resize_popup_show == 2 || /* == "Always" */
             (config_resize_popup_show == 1 && /* == "Nonpixel" */
-                (moveresize_client->size_inc.width > 1 ||
-                 moveresize_client->size_inc.height > 1))
-        )
+             moveresize_client->size_inc.width > 1 &&
+             moveresize_client->size_inc.height > 1))
         popup_coords(moveresize_client, "%d x %d",
                      moveresize_client->logical_size.width,
                      moveresize_client->logical_size.height);
This page took 0.030997 seconds and 4 git commands to generate.