Skip to content

Commit

Permalink
Forgot backend.h from the previous update.
Browse files Browse the repository at this point in the history
  • Loading branch information
pijulius authored May 27, 2024
1 parent 751a971 commit a284d33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/picom/backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ struct backend_blit_args {
int border_width;
/// Whether the source image should be inverted.
bool color_inverted;
/// Opacity of the frame.
double frame_opacity;
// Enable frame opacity for colors that match the frame
bool frame_opacity_for_same_colors;
// Tolerance for similar colors (0 exact match, 1 all colors, default 0.5)
double frame_opacity_for_same_colors_tolerance;
// Make different colors opaque by a factor of x (default 5)
int frame_opacity_for_same_colors_multiplier;
};

enum backend_image_format {
Expand Down

0 comments on commit a284d33

Please sign in to comment.