[
Thread Prev][
Thread Next] >
Date Index
>
Thread Index
Re: [wmx] Shapes and stuff
Andrew Chadwick -
Tue Jul 13 17:45:25 1999
On Fri, Jul 09, 1999 at 05:14:14AM -0700, henri wrote:
> www.nidal.com/~henri/wmx
> has my latest hack (only tested w/ one app, GQmpeg). it detects if a window
> is using the shapes extensions (hopefully it's not rectangular) and
> "hides" the title tab and background so it looks like it would under E
> or something.
Looks fine from here, running on a glibc2 Linux/PPC box. I've tried it
with xeyes and bclock, and those work great.
I notice that the shape-using windows are displayed only on one workspace.
This is the right thing to do if a window is opened by the user during a
session, but it would be neat if wmx could spot shape-using windows as it
starts up, and display those on *every* workspace. Just cut them loose,
perhaps setting their override-redirect a` la xnodecor.
Doing this would remove the need for xnodecor; perhaps this is no bad
thing as you have to hit it with a fairly big stick to get it working on
some machines at the moment... *g*
--
(/Courier 10 selectfont newpath 0 48 moveto /w {stringwidth pop} def /s {(
) search} def <28> show s %%Andrew Chadwick <http://www.durge.org/~andyc/>
pop dup show w <28> w add neg -12 rmoveto pop{s{dup show w neg -12 rmoveto
pop} {show ( dup cvx exec) <29> show show exit} ifelse} loop) dup cvx exec
Next:
- Re: [wmx] Shapes and stuff, (continued)