mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -56,7 +56,7 @@ Detailed list of changes
|
|||||||
|
|
||||||
- macOS: Fix :code:`kitten @ select-window` leaving the keyboard in a partially functional state (:iss:`7074`)
|
- macOS: Fix :code:`kitten @ select-window` leaving the keyboard in a partially functional state (:iss:`7074`)
|
||||||
|
|
||||||
- Graphics protocol: Improve display of images using unicode placeholders or
|
- Graphics protocol: Improve display of images using Unicode placeholders or
|
||||||
row/column boxes by resizing them using linear instead of nearest neighbor
|
row/column boxes by resizing them using linear instead of nearest neighbor
|
||||||
interpolation on the GPU (:iss:`7070`)
|
interpolation on the GPU (:iss:`7070`)
|
||||||
|
|
||||||
|
|||||||
@@ -3051,8 +3051,8 @@ GLFWAPI void glfwCocoaSetWindowChrome(GLFWwindow *w, unsigned int color, bool us
|
|||||||
NSColor *background = nil;
|
NSColor *background = nil;
|
||||||
NSAppearance *appearance = nil;
|
NSAppearance *appearance = nil;
|
||||||
bool titlebar_transparent = false;
|
bool titlebar_transparent = false;
|
||||||
NSWindowStyleMask current_style_mask = [window->ns.object styleMask];
|
const NSWindowStyleMask current_style_mask = [window->ns.object styleMask];
|
||||||
bool in_fullscreen = ((current_style_mask & NSWindowStyleMaskFullScreen) != 0) || window->ns.in_traditional_fullscreen;
|
const bool in_fullscreen = ((current_style_mask & NSWindowStyleMaskFullScreen) != 0) || window->ns.in_traditional_fullscreen;
|
||||||
NSAppearance *light_appearance = is_transparent ? [NSAppearance appearanceNamed:NSAppearanceNameVibrantLight] : [NSAppearance appearanceNamed:NSAppearanceNameAqua];
|
NSAppearance *light_appearance = is_transparent ? [NSAppearance appearanceNamed:NSAppearanceNameVibrantLight] : [NSAppearance appearanceNamed:NSAppearanceNameAqua];
|
||||||
NSAppearance *dark_appearance = is_transparent ? [NSAppearance appearanceNamed:NSAppearanceNameVibrantDark] : [NSAppearance appearanceNamed:NSAppearanceNameDarkAqua];
|
NSAppearance *dark_appearance = is_transparent ? [NSAppearance appearanceNamed:NSAppearanceNameVibrantDark] : [NSAppearance appearanceNamed:NSAppearanceNameDarkAqua];
|
||||||
if (use_system_color || background_opacity < 1.0) {
|
if (use_system_color || background_opacity < 1.0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user