diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-02 02:15:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-02 02:15:48 +0000 |
| commit | 10df03b957576d8feef365490345756c5af8a624 (patch) | |
| tree | 63c04aab63660aa30cb94e1a5a1ce90573d6b2eb | |
| parent | 97cbacd9e41ae2315434d6e83ce78502a881d54f (diff) | |
only show the coords popup when both directions have a size increment
| -rw-r--r-- | openbox/moveresize.c | 5 |
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); |
