diff options
author | Monsta <[email protected]> | 2015-10-13 12:16:50 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-10-13 12:16:50 +0300 |
commit | 95a70f2dcd5820175458f9ea597cd1c231778f2e (patch) | |
tree | c49d9437ff052083f7beb96e4a15770ced50e6f9 /src/compositor | |
parent | d347a30393c2de70570ca2cba51ee4f76bb83864 (diff) | |
download | marco-95a70f2dcd5820175458f9ea597cd1c231778f2e.tar.bz2 marco-95a70f2dcd5820175458f9ea597cd1c231778f2e.tar.xz |
Revert "Repaint area of deleted shadowed windows (fixes #27)"
This reverts commit b53fb913abe7da1e8d56bd50151f673c90cf121d.
Fixes https://github.com/mate-desktop/marco/issues/226
Diffstat (limited to 'src/compositor')
-rw-r--r-- | src/compositor/compositor-xrender.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index c1218ebc..093e2c33 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -1497,25 +1497,6 @@ free_win (MetaCompWindow *cw, MetaDisplay *display = meta_screen_get_display (cw->screen); Display *xdisplay = meta_display_get_xdisplay (display); MetaCompScreen *info = meta_screen_get_compositor_data (cw->screen); - XRectangle r; - XserverRegion region; - - /* - * If we are deleting a window with a compositor shadow, - * trigger a repaint of the area it was covering. - * This fixes an issue where the shadow beneath a - * (GTK3) tooltip was not being erased after the tooltip - * disappeared. - */ - if (cw->shadow) { - r.x = cw->attrs.x + cw->shadow_dx; - r.y = cw->attrs.y + cw->shadow_dy; - r.width = cw->attrs.width + cw->shadow_width; - r.height = cw->attrs.height + cw->shadow_height; - region = XFixesCreateRegion (xdisplay, &r, 1); - add_damage(cw->screen, region); - } - /* See comment in map_win */ if (cw->back_pixmap && destroy) |