From: Mike F. <mf...@su...> - 2005-03-09 14:50:54
|
MINAMI Hirokazu <mi...@mi...> さんは書きました: > On Tue, Mar 08, 2005 at 09:39:45AM +0100, Mike FABIAN wrote: >> Mike FABIAN <mf...@su...> さんは書きました: >> >> > Christian Zoz <zo...@su...> さんは書きました: >> > >> >> On Fri, Mar 04, MINAMI Hirokazu wrote: >> > >> >>> For mlterm 2.9.x, you can set translucent image as a background. >> >>> i.e. if you set 1x1 blue half-transparent image(attached) as >> >>> mlterm -p 1x1_blue.png >> >> >> >> I tried that, but the result was kind of funny. The background then >> >> was a part of the mlterm configuration window. >> > >> > I see the same effect as Christian. Looks like in this >> > screen shot: >> > >> > http://www.suse.de/~mfabian/misc/mlterm-20050304/mlterm-1x1_blue.png >> >> This happens when mlterm is build with >> >> --with-imagelib=imlib >> >> When gdk-pixbuf is used instead: >> >> --with-imagelib=gdk-pixbuf > > I forgot to note that alpha-blending is only implemented > in gdk-pixbuf support module. Sorry. > Since imlib 1.x drops alpha values while loading image, > it's not easy to suport color-blending with imlib1. OK, thank you. Probably I should build the mlterm packages for SuSE Linux with gdk-pixbuf. >> the behavior is different, then I get: >> >> mike@kibou:~$ mlterm -p pic/backgrounds/1x1_blue.png >> X Error of failed request: BadDrawable (invalid Pixmap or Window >> parameter) >> Major opcode of failed request: 73 (X_GetImage) >> Resource id in failed request: 0x0 >> Serial number of failed request: 281 >> Current serial number in output stream: 281 >> mike@kibou:~$ mlterm -p pic/backgrounds/1x1_blue.png >> >> Other backgrounds work fine, 1x1_blue.png is the only picture I could >> find so far which shows this problem. > > Hmm, I could reproduce the problem on -depth=8 but not on -depth=24. I use -depth=16. > Are you running X in 256 color mode? > and how did you set your root pixmap? display -geometry 1600x1200 -window root ~/pic/20040530-150954.jpg -- Mike FABIAN <mf...@su...> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 |