summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2004-03-21 00:24:51 +0000
committerMikael Magnusson <mikachu@comhem.se>2004-03-21 00:24:51 +0000
commite8339970d8c319da0a0ac0129f075f86739f3bd3 (patch)
treeaf7e37c0b9e3cb53cb0bc40b2b0e34d3b3461474
parent7d1382a984a29c03a1c2c48fb77244c9d3a839f0 (diff)
comments for life
-rw-r--r--openbox/moveresize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 4b46e175..68c75129 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -195,7 +195,7 @@ static void do_move(gboolean resist)
client_configure(moveresize_client, OB_CORNER_TOPLEFT, cur_x, cur_y,
moveresize_client->area.width,
moveresize_client->area.height, TRUE, FALSE);
- if (config_resize_popup_show == 2)
+ if (config_resize_popup_show == 2) /* == "Always" */
popup_coords(moveresize_client, "%d x %d",
moveresize_client->frame->area.x,
moveresize_client->frame->area.y);
@@ -224,8 +224,8 @@ static void do_resize(gboolean resist)
/* this would be better with a fixed width font ... XXX can do it better
if there are 2 text boxes */
- if (config_resize_popup_show == 2 ||
- (config_resize_popup_show == 1 &&
+ 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))
)