From: Jan Djärv Date: Tue, 3 May 2011 15:54:54 +0000 (+0200) Subject: * xterm.c (x_set_frame_alpha): Do not set property on anything X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~131 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abe95abbafb6100e910197df92453b247ee04844;p=emacs.git * xterm.c (x_set_frame_alpha): Do not set property on anything else than FRAME_X_OUTER_WINDOW. Fixes: debbugs:8608 --- 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