|
From: | Jan Djärv |
Subject: | Re: slow make-frame + face initialization / importing x resources |
Date: | Sun, 15 Jul 2007 15:50:07 +0200 |
User-agent: | Thunderbird 2.0.0.4 (Macintosh/20070604) |
Stefan Monnier skrev:
Sharing the faces between frames would be good to.What kind of sharing do you have in mind? Faces are frame-specific, so changing a face generally affects only the frame for which it is changed. If the suggested sharing will defeat this, I don't think it's a good idea.I'm thinking of doing ref-counts and COW, so by default, if the new frame is similar (e.g. on the same screen with the "same" frame parameters), so the faces are inherited. They can later get unshared if needed.
What if X resources changed between creation of the first and second frame? Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |