diff options
| author | Richard Grenville <pyxlcy@gmail.com> | 2014-04-19 21:52:20 +0800 | 
|---|---|---|
| committer | Richard Grenville <pyxlcy@gmail.com> | 2014-04-19 21:52:20 +0800 | 
| commit | 5794e0988f13a75e15812930f70795c5f38449e0 (patch) | |
| tree | d9169096bec4a4ab0469e1a6ce2ef47fc565ef99 /common.h | |
| parent | b175464e8c88cc911dcc11198f247fa47c9586a5 (diff) | |
| download | tdebase-5794e0988f13a75e15812930f70795c5f38449e0.tar.gz tdebase-5794e0988f13a75e15812930f70795c5f38449e0.zip  | |
Bug fix #190: Copy shadow/fade state from last paint on unmapped wins
Copy shadow/fade/color-inversion/background-blur state from last paint
on unmapped windows. I hope it doesn't have unexpected side effects.
(#190)
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 8 | 
1 files changed, 8 insertions, 0 deletions
@@ -1113,6 +1113,8 @@ typedef struct _win {    /// Do not fade if it's false. Change on window type change.    /// Used by fading blacklist in the future.    bool fade; +  /// Fade state on last paint. +  bool fade_last;    /// Override value of window fade state. Set by D-Bus method calls.    switch_t fade_force;    /// Callback to be called after fading completed. @@ -1127,6 +1129,8 @@ typedef struct _win {    // Shadow-related members    /// Whether a window has shadow. Calculated.    bool shadow; +  /// Shadow state on last paint. +  bool shadow_last;    /// Override value of window shadow state. Set by D-Bus method calls.    switch_t shadow_force;    /// Opacity of the shadow. Affected by window opacity and frame opacity. @@ -1151,12 +1155,16 @@ typedef struct _win {    /// Whether to invert window color.    bool invert_color; +  /// Color inversion state on last paint. +  bool invert_color_last;    /// Override value of window color inversion state. Set by D-Bus method    /// calls.    switch_t invert_color_force;    /// Whether to blur window background.    bool blur_background; +  /// Background state on last paint. +  bool blur_background_last;  #ifdef CONFIG_VSYNC_OPENGL_GLSL    /// Textures and FBO background blur use.  | 
