We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fad2c7 commit 177c4a9Copy full SHA for 177c4a9
src/apprt/gtk/class/window.zig
@@ -1678,13 +1678,13 @@ pub const Window = extern struct {
1678
1679
// Try to get saved size
1680
const saved_size = priv.gsettings.getWindowSize() orelse break :restore;
1681
-
+
1682
// Skip if no valid size was saved yet (0, 0 means unset)
1683
if (saved_size.columns == 0 or saved_size.rows == 0) break :restore;
1684
1685
// Get the core surface to calculate pixel dimensions
1686
const core_surface = surface.core() orelse break :restore;
1687
1688
// Calculate pixel dimensions from grid size
1689
// pixel_size = (columns/rows * cell_width/height) + padding
1690
const cell_size = core_surface.size.cell;
0 commit comments