aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan Djärv2011-05-03 17:54:54 +0200
committerJan Djärv2011-05-03 17:54:54 +0200
commitabe95abbafb6100e910197df92453b247ee04844 (patch)
tree20a3db9b141dd782bac7ba6adf1d6e18b429d14f /src/xterm.c
parente438da889760aa0fca686801853ee694eac9dc20 (diff)
downloademacs-abe95abbafb6100e910197df92453b247ee04844.tar.gz
emacs-abe95abbafb6100e910197df92453b247ee04844.zip
* xterm.c (x_set_frame_alpha): Do not set property on anything
else than FRAME_X_OUTER_WINDOW. Fixes: debbugs:8608
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 0 insertions, 5 deletions
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)
454 double alpha_min = 1.0; 454 double alpha_min = 1.0;
455 unsigned long opac; 455 unsigned long opac;
456 456
457 if (FRAME_X_DISPLAY_INFO (f)->root_window != FRAME_X_OUTPUT (f)->parent_desc)
458 /* Since the WM decoration lies under the FRAME_OUTER_WINDOW,
459 we must treat the former instead of the latter. */
460 win = FRAME_X_OUTPUT (f)->parent_desc;
461
462 if (dpyinfo->x_highlight_frame == f) 457 if (dpyinfo->x_highlight_frame == f)
463 alpha = f->alpha[0]; 458 alpha = f->alpha[0];
464 else 459 else