From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Sun, 28 Apr 2013 10:40:18 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <514A5DE1.10009@gmx.de> <831ub767wf.fsf@gnu.org> <83mwtu4p7c.fsf@gnu.org> <83vc8h313t.fsf@gnu.org> <5073D6B8-95E4-4012-AA74-106F428379DC@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367113228 27586 80.91.229.3 (28 Apr 2013 01:40:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2013 01:40:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?ISO-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 28 03:40:32 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UWGbO-0006gd-Q7 for ged-emacs-devel@m.gmane.org; Sun, 28 Apr 2013 03:40:30 +0200 Original-Received: from localhost ([::1]:40039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGbO-0003xN-DD for ged-emacs-devel@m.gmane.org; Sat, 27 Apr 2013 21:40:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGbK-0003rP-CD for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:40:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWGbJ-0002Ee-8t for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:40:26 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:59965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGbI-0002ER-OK for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:40:25 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 161EFC055D; Sun, 28 Apr 2013 10:40:19 +0900 (JST) In-Reply-To: <5073D6B8-95E4-4012-AA74-106F428379DC@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 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:159189 Archived-At: >>>>> On Sat, 27 Apr 2013 10:04:46 +0200, Jan Dj=E4rv = said: > A general objection is that XRandr/Xinerama is not used, so > the non-Gtk+ code relies on a freedesktop compliant window manager, > rather than taking the general approach. If XRandr/Xinerama is > used, no split between Gtk+ and non-Gtk+ code is needed. > Xrandr/Xinerama is what Gtk+ use anyway so we are not adding any new > dependencies. Of course, patches welcome. (And also for implementations for other platforms.) I guess XRandR 1.2 covers most of the current uses. Because XRandR or Xinerama doesn't help us get information about the workarea (that's the task of window managers), we need some function like x_get_net_workarea regardless of the use of XRandR or Xinerama. Even with XRandR or Xinerama code, leaving the GDK code would be meaningful because we may have yet another framework for multiple monitor support (GDK already covers 3 of them on X11) in future. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp