X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fserver.c;h=d30b10906ffbb119dc28054ab02e233af8dfd7e5;hb=56820c4fd6d54b2f6a5ff4bf391461792ce42834;hp=118311c31f494611bb6cbffb9779a3d967a0babf;hpb=46f53881443c06b9216e78baab429fd45205aa20;p=chaz%2Ftint2 diff --git a/src/server.c b/src/server.c index 118311c..d30b109 100644 --- a/src/server.c +++ b/src/server.c @@ -33,8 +33,6 @@ void server_catch_error (Display *d, XErrorEvent *ev){} -int real_transparency = 0; - void server_init_atoms () { server.atom._XROOTPMAP_ID = XInternAtom (server.dsp, "_XROOTPMAP_ID", False); @@ -96,10 +94,6 @@ void server_init_atoms () server.atom.XdndAware = XInternAtom(server.dsp, "XdndAware", False); server.atom.XdndPosition = XInternAtom(server.dsp, "XdndPosition", False); server.atom.XdndStatus = XInternAtom(server.dsp, "XdndStatus", False); - - server.colormap = 0; - server.monitor = 0; - server.gc = 0; } @@ -110,7 +104,8 @@ void cleanup_server() if (server.monitor) { int i; for (i=0; i fake transparency - real_transparency = 0; + server.real_transparency = 0; server.depth = DefaultDepth(server.dsp, server.screen); printf("real transparency off.... depth: %d\n", server.depth); server.colormap = DefaultColormap(server.dsp, server.screen);