hi. i solved my problem including these lines:
struct { unsigned long flags; unsigned long functions; unsigned long decorations; long input_mode; unsigned long status; } hints = { 2, 0, 0, 0, 0, }; XChangeProperty (xw->display, xw->window, XInternAtom (xw->display, "_MOTIF_WM_HINTS", False), XInternAtom (xw->display, "_MOTIF_WM_HINTS", False), 32, PropModeReplace, (const unsigned char *) &hints, sizeof (hints) / sizeof (long)); at systems/x11/xwindow.c PS.: I'm using DFB 1.2.7 thanks for your help. 2010/4/12 Shivakumar Mishra <shivajeeku...@gmail.com> > It is running fine on my machine .still I have added some code > > dfb->SetCooperativeLevel(dfb,DFSCL_FULLSCREEN); > > layer->SetCooperativeLevel(layer,DLSCL_EXCLUSIVE); > > Just try this two lines with your current code. > > > On Sun, Apr 11, 2010 at 6:01 AM, Chronos CC <chronos...@gmail.com> wrote: > >> I tried what you say, but title bar persists. i posted my code at >> http://pastebin.com/FHcGy8gb >> >> my directfbrc (/etc/directfbrc) is configured with: >> system=sdl or system=x11 >> no-decorations >> >> ps.: i'm using dfb 1.0.0 and 1.2.7 >> >> best regards. >> >> 2010/4/9 Shivakumar Mishra <shivajeeku...@gmail.com> >> >> Just add *DWCAPS_NODECORATION flag(caps flag of window description ). >>> when you are creating window with CreateWindow >>> * >>> On Fri, Apr 9, 2010 at 1:41 AM, Chronos CC <chronos...@gmail.com> wrote: >>> >>>> Hi all, >>>> >>>> How can i remove title bar of windowed application?? i need to run a dfb >>>> application over x11 without title bar. i cant use over fbdev. >>>> >>>> best regards. >>>> >>>> >>>> _______________________________________________ >>>> directfb-dev mailing list >>>> directfb-dev@directfb.org >>>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >>>> >>>> >>> >>> >>> -- >>> "The best way to find yourself is to lose yourself in the service of >>> others". >>> >>> Shiva The Great >>> >> >> > > > -- > "The best way to find yourself is to lose yourself in the service of > others". > > Shiva The Great >
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev