From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: Is there a hook before before-make-frame-hook for new frames? Date: Tue, 17 Dec 2013 13:33:41 +0000 Message-ID: <87bo0fob4a.fsf@bennee.com> References: <87wqj4txg0.fsf@linaro.org> <87vbyotuuv.fsf@localhost.i-did-not-set--mail-host-address--so-tickle-me> <87sits8rw3.fsf@motoko.kusanagi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1387287249 10510 80.91.229.3 (17 Dec 2013 13:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2013 13:34:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "William G. Gardella" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 14:34:16 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vsumt-0003NC-H4 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 14:34:15 +0100 Original-Received: from localhost ([::1]:33226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsumt-0007Jz-2t for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 08:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsumT-00078R-L7 for help-gnu-emacs@gnu.org; Tue, 17 Dec 2013 08:33:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsumM-0008Uk-TJ for help-gnu-emacs@gnu.org; Tue, 17 Dec 2013 08:33:47 -0500 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:53442 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsumM-0008Uc-NP for help-gnu-emacs@gnu.org; Tue, 17 Dec 2013 08:33:42 -0500 Original-Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1Vsuos-0004RV-He; Tue, 17 Dec 2013 14:36:18 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.2 In-reply-to: <87sits8rw3.fsf@motoko.kusanagi> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95047 Archived-At: wgg2@member.fsf.org writes: > Alex Bennée writes: > > [...] > >> Is there a hook before Emacs starts sending anything to the X window >> system when a new frame is created? > > `before-make-frame-hook' perhaps. Yes that's been what I've been using. It seems the problem is there is a lag between writing the fbc control word and the change being made to the internal state of the driver. I suspect I need to be a bit more clever, I'm just not sure how yet. Cheers, -- Alex Bennée http://www.bennee.com/~alex