From 10df03b957576d8feef365490345756c5af8a624 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 02:15:48 +0000 Subject: [PATCH] only show the coords popup when both directions have a size increment --- openbox/moveresize.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.39.2