]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/view.c: rename unmaximized_geometry to natural_geometry
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 1 Jan 2023 02:57:19 +0000 (03:57 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 1 Jan 2023 18:15:37 +0000 (18:15 +0000)
src/view.c

index 543f1777944d87a024c12b7bd8e9b34b91e600c6..624a788853509b48b8b18f52435f804d4c144eea 100644 (file)
@@ -438,7 +438,7 @@ view_apply_special_geometry(struct view *view)
 }
 
 static void
-view_apply_unmaximized_geometry(struct view *view)
+view_apply_natural_geometry(struct view *view)
 {
        struct wlr_output_layout *layout = view->server->output_layout;
        if (wlr_output_layout_intersects(layout, NULL,
@@ -516,7 +516,7 @@ view_maximize(struct view *view, bool maximize, bool store_natural_geometry)
        }
        set_maximized(view, maximize);
        if (!view_apply_special_geometry(view)) {
-               view_apply_unmaximized_geometry(view);
+               view_apply_natural_geometry(view);
        }
 }
 
@@ -652,7 +652,7 @@ view_set_fullscreen(struct view *view, bool fullscreen,
                }
                /* Restore non-fullscreen geometry */
                if (!view_apply_special_geometry(view)) {
-                       view_apply_unmaximized_geometry(view);
+                       view_apply_natural_geometry(view);
                }
        }