summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-02 02:15:48 +0000
committerDana Jansens <danakj@orodu.net>2007-05-02 02:15:48 +0000
commit10df03b957576d8feef365490345756c5af8a624 (patch)
tree63c04aab63660aa30cb94e1a5a1ce90573d6b2eb /openbox
parent97cbacd9e41ae2315434d6e83ce78502a881d54f (diff)
only show the coords popup when both directions have a size increment
Diffstat (limited to 'openbox')
-rw-r--r--openbox/moveresize.c5
1 files 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);