[metacity] compositor-xrender: remove error trap from notify_decorated_cb
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor-xrender: remove error trap from notify_decorated_cb
- Date: Sun, 20 Oct 2019 12:28:38 +0000 (UTC)
commit 5419d63cb3173bbb5aef9b4e757fa548a63dc0dc
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Oct 19 19:08:00 2019 +0300
compositor-xrender: remove error trap from notify_decorated_cb
src/compositor/meta-compositor-xrender.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 0d753701..8b5ace43 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -1259,8 +1259,6 @@ notify_decorated_cb (MetaWindow *window,
if (cw == NULL)
return;
- meta_error_trap_push (window->display);
-
if (cw->extents != None)
{
meta_compositor_add_damage (compositor, "notify_decorated_cb", cw->extents);
@@ -1277,8 +1275,6 @@ notify_decorated_cb (MetaWindow *window,
determine_mode (xrender, cw);
cw->needs_shadow = window_has_shadow (xrender, cw);
- meta_error_trap_pop (window->display);
-
meta_compositor_queue_redraw (compositor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]