mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-29 03:47:54 +00:00
rename windowing_system to just window
This commit is contained in:
@@ -238,7 +238,7 @@ pub const Window = struct {
|
||||
// coordinates and we want raw pixels. The core window uses the content
|
||||
// scale to scale appropriately.
|
||||
const core_win = window.getUserPointer(CoreWindow) orelse return;
|
||||
const size = core_win.windowing_system.getSize() catch |err| {
|
||||
const size = core_win.window.getSize() catch |err| {
|
||||
log.err("error querying window size for size callback err={}", .{err});
|
||||
return;
|
||||
};
|
||||
@@ -457,7 +457,7 @@ pub const Window = struct {
|
||||
const core_win = window.getUserPointer(CoreWindow) orelse return;
|
||||
|
||||
// Convert our unscaled x/y to scaled.
|
||||
const pos = core_win.windowing_system.cursorPosToPixels(.{
|
||||
const pos = core_win.window.cursorPosToPixels(.{
|
||||
.xpos = unscaled_xpos,
|
||||
.ypos = unscaled_ypos,
|
||||
}) catch |err| {
|
||||
|
||||
Reference in New Issue
Block a user