On Tue, 28 Sep 2010 10:36:45 +0300 Timo Juhani Lindfors <[email protected]> said:
> Carsten Haitzler (The Rasterman) <[email protected]> writes: > > then why not just use xgrabserver during the "security sensitive" time to > > lock out all other clients... though composite manager will be locked out. > > u wont see any rendering on the screen then. :) so u may have a custom > > solution just > > That is a good question. I think I noticed various grab functions but > missed XGrabServer. Or maybe I noticed it but wasn't sure if I could > trust it. I will revisit these manuals and try again.. :) > > for your situation where you are willing to give up things, but it is > > entirely miles from a general solution. > > I didn't realize composition managers are that mainstream yet :-) Is they are. > there really no way to draw to the screen if a composition manager is > frozen (due to grab or frozen unix socket)? none. composite manager is like wm - in fact compiz is both a wm and cm. for example. same for e17, kwin, mutter... they are combined cm+wm. if cm is frozen no redraws happen. thats how it works. :) > What if I'd make the composition manager co-operate and temporary > return the X to "do not use composition" state? there is no such "standard" currently. no cm will understand it. you'd have to come up with such standard, have a request/property and then hope cm's begin to comply and like it and do your bidding (or go patch all the cm's to do it or some of them as examples). same solution would work for wm too. :) but this means you trust your wm or cm not to go exploiting your security :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
