[metacity] xrender: remove commented out code
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] xrender: remove commented out code
- Date: Wed, 15 Mar 2017 14:12:18 +0000 (UTC)
commit 7398dce284aaa925d2e499bbf570df7d8b91bbd1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Mar 15 15:56:38 2017 +0200
xrender: remove commented out code
src/compositor/meta-compositor-xrender.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 4f56268..49a3ae7 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -1419,16 +1419,6 @@ paint_windows (MetaCompositorXRender *xrender,
if (!cw->window->mapped)
continue;
-#if 0
- if ((cw->attrs.x + cw->attrs.width < 1) ||
- (cw->attrs.y + cw->attrs.height < 1) ||
- (cw->attrs.x >= screen_width) || (cw->attrs.y >= screen_height))
- {
- /* Off screen */
- continue;
- }
-#endif
-
if (cw->picture == None)
cw->picture = get_window_picture (display, cw);
@@ -1456,14 +1446,6 @@ paint_windows (MetaCompositorXRender *xrender,
XFixesDestroyRegion (xdisplay, cw->client_region);
cw->client_region = None;
}
-
-#if 0
- if (cw->extents)
- {
- XFixesDestroyRegion (xdisplay, cw->extents);
- cw->extents = None;
- }
-#endif
}
if (cw->window_region == None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]