From: Dana Jansens Date: Wed, 2 May 2007 02:15:48 +0000 (+0000) Subject: only show the coords popup when both directions have a size increment X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=10df03b957576d8feef365490345756c5af8a624;p=chaz%2Fopenbox only show the coords popup when both directions have a size increment --- diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 8ab8c158..eba21066 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -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);