Skip to content

Add support for rgba visuals, allowing for transparency

ElKowar requested to merge elkowar/fractal:master into master

This PR adds support for RGBA visuals (if supported by the user), allowing GTK themes to make use of transparency. It also adds a GTK class to the root window, making Fractal specifically addressable in GTK themes. Here is an example for how this can look: fractal

A quick note regarding https://stopthemingmy.app/:

The issue of GTK-Themes possibly making applications that they where not optimized for look bad is understandable. This PR does not affect this issue in anyway however, as it

  • adds a root GTK class, which will thereby allow themers to individually optimize for Fractal (if there are any issues in a theme)
  • Mainly introduces support for transparency, which inherently cannot be applied globally in a GTK theme (as it depends on the specific UI elements of the application).

As all changes here specifically relate to optimizing a theme specifically for Fractal, it will mainly be relevant for individual tinkerers, and thus fall under the first sentence in stopthemingmy.app:

This is aimed at distributions breaking apps by default, not tinkerers playing with their own setup.

Merge request reports