From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Edward O'Connor" Newsgroups: gmane.emacs.devel Subject: Re: is there a hook run when display geometry changes? Date: Fri, 12 Aug 2011 11:15:55 -0700 Message-ID: References: <83obzuwlra.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1313172988 32608 80.91.229.12 (12 Aug 2011 18:16:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2011 18:16:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 12 20:16:24 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrwHM-0007CX-Fk for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2011 20:16:20 +0200 Original-Received: from localhost ([::1]:39017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrwHL-0002nR-Ud for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2011 14:16:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrwHJ-0002n8-BF for emacs-devel@gnu.org; Fri, 12 Aug 2011 14:16:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrwHI-0002cR-EF for emacs-devel@gnu.org; Fri, 12 Aug 2011 14:16:17 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:51255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrwHI-0002cN-8b for emacs-devel@gnu.org; Fri, 12 Aug 2011 14:16:16 -0400 Original-Received: by wyi11 with SMTP id 11so2772659wyi.0 for ; Fri, 12 Aug 2011 11:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=hm85V8KRd2LsJYmB9Syu4wvTZY0wpBCRpo20wGnGo3U=; b=QVTv4991KTKvwUEo/ymoLddjtIyCelicOr2fvhuconKlhxL/HAXtiHngqokZSzmR29 B9n1WI51oeRgZ3qka4mGJaERAbvDj6C7oUGefDm2TEbnJyJxzAcSlcHTb8TZJgVRgkzk wGSVhdJjDKU5BrJTAR05w05DIfuaFja1czgrg= Original-Received: by 10.216.64.207 with SMTP id c57mr1073277wed.76.1313172975168; Fri, 12 Aug 2011 11:16:15 -0700 (PDT) Original-Received: by 10.216.18.21 with HTTP; Fri, 12 Aug 2011 11:15:55 -0700 (PDT) In-Reply-To: <83obzuwlra.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143171 Archived-At: Eli wrote: > Is window-configuration-change-hook what you want? No, I don't think so. `window-configuration-change-hook' is run when there's a change to the windows being displayed in an Emacs frame. What I'm asking for is something more like `display-configuration-change-hook', which would get run whenever the number of displays available to Emacs changes (adding or removing entries from x_display_list, or geometry/resolution changes to any of its entries, assuming my read of xterm.c is correct). I don't think there's such a feature, but it would be really great if there were such a thing. :) Ted