]> Dogcows Code - chaz/openbox/commitdiff
comments for life
authorMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 00:24:51 +0000 (00:24 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 00:24:51 +0000 (00:24 +0000)
openbox/moveresize.c

index 4b46e175bf1850537934d2d6ea0db7f241fdf096..68c7512907186e3b1a29dd6d8ec8c5cb94232709 100644 (file)
@@ -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))
         )
This page took 0.03025 seconds and 4 git commands to generate.