From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: modify-frame-parameters with floating point offsets Date: Thu, 05 Apr 2018 16:07:39 +0200 Message-ID: <87po3d691w.fsf@gmail.com> References: <5AC3232D.1020107@gmx.at> <874lksy9vy.fsf@gmail.com> <5AC35626.2070700@gmx.at> <877epowjq9.fsf@gmail.com> <87fu4c9sci.fsf_-_@gmail.com> <5AC483FC.4080401@gmx.at> <874lkr4aio.fsf@gmail.com> <5AC5C96C.6090201@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522937165 6814 195.159.176.226 (5 Apr 2018 14:06:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 14:06:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 05 16:06:01 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f45Wa-0001dY-L8 for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2018 16:06:00 +0200 Original-Received: from localhost ([::1]:60374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f45Yf-0005kZ-VF for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2018 10:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f45YI-0005YJ-IX for emacs-devel@gnu.org; Thu, 05 Apr 2018 10:07:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f45YF-00045N-DN for emacs-devel@gnu.org; Thu, 05 Apr 2018 10:07:46 -0400 Original-Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:38501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f45YF-000458-6F for emacs-devel@gnu.org; Thu, 05 Apr 2018 10:07:43 -0400 Original-Received: by mail-wr0-x22a.google.com with SMTP id m13so28655401wrj.5 for ; Thu, 05 Apr 2018 07:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=HcWE9wZ/UAQcgRbNFWSg7Hic7YPMW7C3jesVkYS9jts=; b=Nh2tWZRyhY84V/054md+qc/BWn0/pUwK8yo8G1Jmym0Ww2kWeZ5ZULMaT8P6LSNBoY 7Me278sHglVi9vqbmN8mY+Sq/n36sMLs1x2vtvYuVAFo99qfnpfjFrTIYp/TZWsDJZsE SMA+Tnckdu6GY+oPGV7JUI0Kwg56uFiy7ZfNf+nmdVgronUw9jNWhgtVHYfs/KpW5F8B NkARIFWieQBDMe/V+vw0jHYTRkbSghikZbRvOWY9XTFhfY3Kq+cbjNd0KqImja6NKtR4 V7liXC/HILm7O/4w2cJjok+gtyylk4YGnJ5x64gFsbrNegucDJmGevpGZkl2HgJPJ4CP WU+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=HcWE9wZ/UAQcgRbNFWSg7Hic7YPMW7C3jesVkYS9jts=; b=nshBga9MCXxKoWDrkMtTHwLd6XNh/e78bcJ5xqB6rN8Af48Jb7vIHDaZou2RpLT6UZ qoYy+Bbqjo+sR3oAHeAsfA+yHKvpo9DKtz/CBq3fp+wY3w2c/lKGC5N3TTGuQ7jzHBhO /rl8Rx4zxYAFipSktwWBcwlAF0zkWAFHqeR1hZ8dXs5sP6/jeaj9RB3VYoHwswC03PSC eKUBKVwa8vN7CiIsIwy03HAXbbM5+kzX3U5pkoilYS2aBYhJokkmVcNSHp7YSG8wMIeK pK0vdGlXmhDqBTAhEP5YaDOsLT3b5JovMiGJIC+tcpscgjBUY+HUm1N0Trp16l/ZKvzP wLOA== X-Gm-Message-State: ALQs6tAAJrLHxLbbeXLv4w4gxbqBRJmSmDZQkIQsye2nktHXsKeBw7nG uAAC5rrHLmS8Muufq4CjLAgVX8Lp X-Google-Smtp-Source: AIpwx48yv6YV18AIFHffHzfAQuZNDILSD7tXEaKtJZBIWXy2VAfcxnm/wvsTylT1R4BGMaRunloi2w== X-Received: by 10.223.190.140 with SMTP id i12mr17559567wrh.63.1522937261360; Thu, 05 Apr 2018 07:07:41 -0700 (PDT) Original-Received: from rpluim ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id c15sm10558537wrc.64.2018.04.05.07.07.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 07:07:40 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5AC5C96C.6090201@gmx.at> (martin rudalics's message of "Thu, 05 Apr 2018 08:59:56 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224365 Archived-At: martin rudalics writes: >> No, the left external border is very small. It=CA=BCs certainly not 20 >> pixels wide. > > Then it's possible that your window manager tries to optimize things > in various ways without telling you the whole story. I can imagine > that if an external border is usually 20 pixels wide, a window manager > might decide that showing the entire border on the edge of the display > is of no use and move the window to some negative position. I would > dislike such behavior because it would make it virtually impossible to > orderly tile the screen. In either case you would have to look at the > sources of your window manager to tell what it really does. Whatever it=CA=BCs doing, gdk seems to have it figured out. Calling eg gdk_window_get_frame_extents inside frame_geometry gets me values that look much more sensible, whereas x_real_pos_and_offsets claims there=CA=BCs a 20 pixel border that=CA=BCs simply not there visually. Robert