use "R Graphics" instead of "R*". it's only substrings, not pattern matching
On Mon 25 May 2009 - 02:04PM, Wu, Yue wrote: > On Sun, May 24, 2009 at 09:51:59AM +0800, bill lam wrote: > > On Sun, 24 May 2009, Wu, Yue wrote: > > > Hi, I tried to make all of R[www.r-project.org] relative stuffs, like > > > graph it > > > produces by graphic device x11(), floating, the method I've tried are: > > > > > > { NULL, "R", NULL, 0, True }, > > > { NULL, "R*", NULL, 0, True }, > > > { NULL, NULL, "R", 0, True }, > > > { NULL, NULL, "R*", 0, True }, > > > { "R", NULL, NULL, 0, True }, > > > { "R*", NULL, NULL, 0, True }, > > > > > > But all of them failed, what's wrong? > > > > use `xprop' to get the class name or instance name of R. > > xprop > > I got this, but I don't know what's wrong with my configure, 'R*' should > match it I think. > > WM_STATE(WM_STATE): > window state: Normal > icon window: 0x0 > WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW > WM_NAME(STRING) = "R Graphics: Device 2 (ACTIVE)" > WM_NORMAL_HINTS(WM_SIZE_HINTS): > program specified location: 0, 0 > program specified size: 598 by 598 > > -- > Hi, > Wu, Yue >