summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/common.h b/common.h
index 249ef92e8..e2af50f08 100644
--- a/common.h
+++ b/common.h
@@ -878,9 +878,6 @@ typedef struct _win {
// Dim-related members
/// Whether the window is to be dimmed.
bool dim;
- /// Picture for dimming. Affected by user-specified inactive dim
- /// opacity and window opacity.
- Picture dim_alpha_pict;
/// Whether to invert window color.
bool invert_color;
@@ -1642,6 +1639,10 @@ glx_blur_dst(session_t *ps, int dx, int dy, int width, int height, float z,
GLfloat factor_center);
bool
+glx_dim_dst(session_t *ps, int dx, int dy, int width, int height, float z,
+ GLfloat factor);
+
+bool
glx_render(session_t *ps, const glx_texture_t *ptex,
int x, int y, int dx, int dy, int width, int height, int z,
double opacity, bool neg, XserverRegion reg_tgt);