[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c,v |
Date: |
Wed, 21 May 2008 06:32:47 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/05/21 06:32:46
Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.989
retrieving revision 1.990
diff -u -b -r1.989 -r1.990
--- xterm.c 21 May 2008 03:59:44 -0000 1.989
+++ xterm.c 21 May 2008 06:32:44 -0000 1.990
@@ -467,13 +467,15 @@
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
Display *dpy = FRAME_X_DISPLAY (f);
Window win = FRAME_OUTER_WINDOW (f);
+ double alpha = 1.0;
+ double alpha_min = 1.0;
+ unsigned int 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;
- double alpha = 1.0, alpha_min = 1.0;
-
if (dpyinfo->x_highlight_frame == f)
alpha = f->alpha[0];
else
@@ -489,7 +491,7 @@
else if (0.0 <= alpha && alpha < alpha_min && alpha_min <= 1.0)
alpha = alpha_min;
- unsigned int opac = (unsigned int)(alpha * OPAQUE);
+ opac = (unsigned int)(alpha * OPAQUE);
/* return unless necessary */
{
@@ -508,10 +510,8 @@
return;
}
else
- {
XFree ((void *) data);
}
- }
XChangeProperty (dpy, win, XInternAtom (dpy, OPACITY, False),
XA_CARDINAL, 32, PropModeReplace,
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Jan Djärv, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Glenn Morris, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Glenn Morris, 2008/05/20
- [Emacs-diffs] Changes to emacs/src/xterm.c,v,
Dan Nicolaescu <=
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/23
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/23
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/25
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Andreas Schwab, 2008/05/26
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Chong Yidong, 2008/05/27