[macemacsjp-cvs 451] [464] X11 fix (again)

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 6月 1日 (金) 04:09:12 JST


Revision: 464
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=macemacsjp&view=rev&rev=464
Author:   zenitani
Date:     2007-06-01 04:09:11 +0900 (Fri, 01 Jun 2007)

Log Message:
-----------
X11 fix (again)

Modified Paths:
--------------
    transparency3/trunk/transparency3.patch


-------------- next part --------------
Modified: transparency3/trunk/transparency3.patch
===================================================================
--- transparency3/trunk/transparency3.patch	2007-05-20 02:27:03 UTC (rev 463)
+++ transparency3/trunk/transparency3.patch	2007-05-31 19:09:11 UTC (rev 464)
@@ -390,7 +390,6 @@
 +       we must treat the former instead of the latter. */
 +    win = FRAME_X_OUTPUT(f)->parent_desc;
 +
-+  unsigned int opac = (unsigned int)(alpha * OPAQUE);
 +  double alpha = 1.0;
 +
 +  if (dpyinfo->x_highlight_frame == f)
@@ -399,6 +398,8 @@
 +    alpha = f->alpha[1] / 100.0;
 +  if (alpha < 0.0) alpha = 1.0;
 +
++  unsigned int opac = (unsigned int)(alpha * OPAQUE);
++
 +  /* Courtesy of Nakayama-san [Macemacsjp-users 1211] */
 +  {
 +    unsigned char *data;


macemacsjp-cvs メーリングリストの案内
Back to archive index