mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-05 12:57:50 +00:00
renderer/metal: API to handle macOS display ID changing
This commit is contained in:
@@ -69,6 +69,9 @@ pub const Message = union(enum) {
|
||||
/// Activate or deactivate the inspector.
|
||||
inspector: bool,
|
||||
|
||||
/// The macOS display ID has changed for the window.
|
||||
macos_display_id: u32,
|
||||
|
||||
/// Initialize a change_config message.
|
||||
pub fn initChangeConfig(alloc: Allocator, config: *const configpkg.Config) !Message {
|
||||
const thread_ptr = try alloc.create(renderer.Thread.DerivedConfig);
|
||||
|
||||
Reference in New Issue
Block a user