Commit 744b8cf1 authored by saeed's avatar saeed

a bit cleanin

parent a8d8762f
......@@ -100,8 +100,8 @@ static struct Vis init_x(int w, int h){
result.gc=XCreateGC(result.dsp,result.win,GCFont | GCFunction | GCPlaneMask | GCForeground | GCBackground,&result.gr_values);
//XSetFont (result.dsp, result.gc, result.fontinfo->fid);
result.cmap = DefaultColormap(result.dsp, result.screen_num);
XStoreName( result.dsp, result.win, "ODBVIS" ) ;
XSetIconName( result.dsp, result.win, "ODBVIS" ) ;
XStoreName( result.dsp, result.win, "ODBVIEW" ) ;
XSetIconName( result.dsp, result.win, "ODBVIEW" ) ;
// say window manager which position we would prefer
XSizeHints sizehints ;
sizehints.flags = USPosition | USSize ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment