mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
macOS: Implement background blurring
Uses a private API that allows us to control the amount of blurring. While using a private API is obviously not ideal, it is used by both iTerm.app and Apple's own Terminal.app, so hopefully it should stick around. Fixes #6135
This commit is contained in:
@@ -89,6 +89,7 @@ typedef struct {
|
||||
float val; AdjustmentUnit unit;
|
||||
} underline_position, underline_thickness, strikethrough_position, strikethrough_thickness, cell_width, cell_height, baseline;
|
||||
bool show_hyperlink_targets;
|
||||
int background_blur;
|
||||
} Options;
|
||||
|
||||
typedef struct WindowLogoRenderData {
|
||||
@@ -365,3 +366,4 @@ void update_ime_position(Window* w, Screen *screen);
|
||||
bool update_ime_position_for_window(id_type window_id, bool force, int update_focus);
|
||||
void set_ignore_os_keyboard_processing(bool enabled);
|
||||
void update_menu_bar_title(PyObject *title UNUSED);
|
||||
void update_background_blur(OSWindow *);
|
||||
|
||||
Reference in New Issue
Block a user