From abe95abbafb6100e910197df92453b247ee04844 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 3 May 2011 17:54:54 +0200 Subject: [PATCH] * xterm.c (x_set_frame_alpha): Do not set property on anything else than FRAME_X_OUTER_WINDOW. Fixes: debbugs:8608 --- src/ChangeLog | 5 +++++ src/xterm.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1231099fff3..0e8e949004e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Jan Djärv + + * xterm.c (x_set_frame_alpha): Do not set property on anything + else than FRAME_X_OUTER_WINDOW (Bug#8608). + 2011-05-02 Juanma Barranquero * sysdep.c (get_tty_size) [WINDOWSNT]: Implement. (Bug#8596) diff --git a/src/xterm.c b/src/xterm.c index 491a8b3698f..20259b7ab2e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -454,11 +454,6 @@ x_set_frame_alpha (struct frame *f) double alpha_min = 1.0; unsigned long opac; - if (FRAME_X_DISPLAY_INFO (f)->root_window != FRAME_X_OUTPUT (f)->parent_desc) - /* Since the WM decoration lies under the FRAME_OUTER_WINDOW, - we must treat the former instead of the latter. */ - win = FRAME_X_OUTPUT (f)->parent_desc; - if (dpyinfo->x_highlight_frame == f) alpha = f->alpha[0]; else -- 2.39.2