File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,17 +83,20 @@ bool doDbg(void *p,void* ud)
8383
8484int main (int argc, char **argv)
8585{
86- XEvent event ;
87- int sy= 0 ;
88- std::vector<hitRect> hrs ;
89- bool useliveupdate= true ;
86+ int sy= 0 ;
87+ std::vector<hitRect> hrs ;
88+ bool useliveupdate= true ;
89+ windowInitStruct *win ;
9090 dbg=" " ;
9191
9292 apc=new LFSTK_applicationClass ();
93- apc->LFSTK_addWindow (NULL ,BOXLABEL," LFSTKExample" );
9493
94+ win=apc->LFSTK_getDefaultWInit ();
95+ win->windowName =BOXLABEL;
96+ win->windowType =win->app ->appAtomsHashed .at (LFSTK_UtilityClass::LFSTK_hashFromKey (" _NET_WM_WINDOW_TYPE_DIALOG" ));
97+ win->level =ABOVEALL;
98+ apc->LFSTK_addWindow (win,BOXLABEL);
9599 wc=apc->mainWindow ;
96- wc->LFSTK_setWindowType (apc->appAtomsHashed .at (LFSTK_UtilityClass::LFSTK_hashFromKey (" _NET_WM_WINDOW_TYPE_DIALOG" )));
97100 wc->LFSTK_setDecorations (false ,false ,true ,false );
98101
99102// info
You can’t perform that action at this time.
0 commit comments