[NTLUG:Discuss] How to take off the window's decoration??

xiao li xiaoli4uh at hotmail.com
Tue Jan 14 14:58:57 CST 2003


Hi Steve,

I don't if this will turn the decroation on or not?

Here are the codes I am using right now, it works fine on both solaris and 
linux
#ifdef LINUX
    hints.decorations = 0;
#else
    hints.decorations = MWM_DECOR_ALL |
                        MWM_DECOR_RESIZEH |
                        MWM_DECOR_BORDER |
                        MWM_DECOR_MENU |
                        MWM_DECOR_TITLE |
                        MWM_DECOR_MINISIZE |
                        MWM_DECOR_MAXSIZE;
#endif

Do you have suggestion?
Thanks for your reply!!

YU

>From: Steve Baker <sjbaker1 at airmail.net>
>Reply-To: discuss at ntlug.org
>To: discuss at ntlug.org
>Subject: Re: [NTLUG:Discuss] How to take off the window's decoration??
>Date: Fri, 10 Jan 2003 20:56:36 -0600
>
>xiao li wrote:
>>Hi guys,
>>I find the problem!
>>If I just set the hints.decorations = 0; then I can get rid of the 
>>decoration. But if I use hints.decorations = MWM_DCOR_ALL | 
>>MWM_DECOR_BORDER | MWM_DECOR_TITLE...; then it won't work on linux.
>
>What?  I'm not suprised.  Wouldn't that turn all the decorations *ON* ?
>
>---------------------------- Steve Baker -------------------------
>HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
>HomePage : http://www.sjbaker.org
>Projects : http://plib.sf.net    http://tuxaqfh.sf.net
>            http://tuxkart.sf.net http://prettypoly.sf.net
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus





More information about the Discuss mailing list