mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00

Refactor the GTK unfocused split code to use a GtkDrawingArea widget to dim the unfocused split. The GtkDrawingArea is added to the overlay and a CSS style is used to give it a background color and opacity. This aligns with the macOS design of drawing on top of the surface. In GTK, we don't need to actually draw a rectangle because we can apply CSS directly to the widget.