mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
revert: renaming of window-position-{x,y}
This commit is contained in:

committed by
Mitchell Hashimoto

parent
a7e3e5915c
commit
13d935a401
@ -621,8 +621,8 @@ pub fn init(
|
||||
const width = @max(config.@"window-width" * cell_size.width, 640);
|
||||
const width_f32: f32 = @floatFromInt(width);
|
||||
const height_f32: f32 = @floatFromInt(height);
|
||||
const position_x = config.@"start-position-x";
|
||||
const position_y = config.@"start-position-y";
|
||||
const position_x = config.@"window-position-x";
|
||||
const position_y = config.@"window-position-y";
|
||||
|
||||
// The final values are affected by content scale and we need to
|
||||
// account for the padding so we get the exact correct grid size.
|
||||
|
@ -1121,8 +1121,8 @@ keybind: Keybinds = .{},
|
||||
/// on Linux. GTK 4.0 does not support setting the window position.
|
||||
///
|
||||
/// This will default to the top-left corner of the screen if not set (0, 0).
|
||||
@"start-position-x": i32 = 0,
|
||||
@"start-position-y": i32 = 0,
|
||||
@"window-position-x": i32 = 0,
|
||||
@"window-position-y": i32 = 0,
|
||||
|
||||
/// Whether to enable saving and restoring window state. Window state includes
|
||||
/// their position, size, tabs, splits, etc. Some window state requires shell
|
||||
|
Reference in New Issue
Block a user