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: modify-frame-parameters with floating point offsets Date: Tue, 03 Apr 2018 18:18:05 +0200 Message-ID: <87fu4c9sci.fsf_-_@gmail.com> References: <5AC3232D.1020107@gmx.at> <874lksy9vy.fsf@gmail.com> <5AC35626.2070700@gmx.at> <877epowjq9.fsf@gmail.com> 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 1522772284 25696 195.159.176.226 (3 Apr 2018 16:18:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2018 16:18:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 03 18:17:59 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 1f3OdB-0006XJ-QD for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2018 18:17:57 +0200 Original-Received: from localhost ([::1]:46475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3OfH-0008Qo-1Z for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2018 12:20:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3OdQ-0007pp-DK for emacs-devel@gnu.org; Tue, 03 Apr 2018 12:18:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3OdM-00082R-Ln for emacs-devel@gnu.org; Tue, 03 Apr 2018 12:18:12 -0400 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:54289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3OdM-00081U-EW for emacs-devel@gnu.org; Tue, 03 Apr 2018 12:18:08 -0400 Original-Received: by mail-wm0-x22b.google.com with SMTP id r191so4137912wmg.4 for ; Tue, 03 Apr 2018 09:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=5phZOcS1syMW1F2o80ZhwlVB6itqo1wQEDcjooND/ac=; b=k6hXOmyKfKEG/TM4tcUFnmYJYoZPG0RdFh/Jn1vNKpFOvmmqfNwO7QlaDoPo4ZIsZZ 2lgQjGPllG7Eideet4QTEFIE+zlAWdDr0IoA6sQP47xqDqTUwV5CEL4yjiAZLUbqlmKB bPELshhwI3/trH5eWzT0ZcT3jgdJec911POZ45WwEBZShWHCNPJsWCxaUJFAwWUEXD3M qhvQfKbU18qNknOU1OhuqQfpq4sid8Z75fiJzo+JCGQ5EVhskdz6HLYMRIFYxHVSeVqh 5ZFxSQyHvUQxbEFdT2u87R1sUaxOn3XrPiR9wryTowOybhyVLJYQNOTvFTHUi0cMpWEo ivMQ== 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-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=5phZOcS1syMW1F2o80ZhwlVB6itqo1wQEDcjooND/ac=; b=BdSr33QsN0LSg1Hp8YM120zUZ9j7LYmkUvqGSahCWzh/i69uE/auzwwiGlREp1vYPf zVMY9AVfQ9lPuBXC4FGMYTdyj1k/yVa2qngcoJqA2hdWuVAlLlw4NNQ58OYHc23cY4PT sXJECL9qDpm4OexRMAXbvMv44l7swsJeXuwtwGQT6jJIZBQ9SZe9GiA7eoZcf0DSqkMV fFg/WkV3ym6AbQJ2XXyyJewR8MG3o2QdaA4z/0O4HM/0X63YSgf2vGc45V6A7q9Xg/XW mTj6ZYc7slqpt1TbRZ46S6kh/TCVWchPA6AcFhWYwbGS4jqsy86AA04xKjGakGfN5zPK f9Fg== X-Gm-Message-State: ALQs6tBW5y8zp2o5snL4ZdU/0ubaWqXxAnP5vqEes473o7hRwRTG1pU1 VNYlHso8AiqNWS0gtwu0Zp6LULIimvk= X-Google-Smtp-Source: AIpwx48BDoEADu0aXHATuJXPMbi7vQAfqRXubIkCLVeodGIdjZN4XYlJU6OPSG/NIveUkeoExHptBw== X-Received: by 10.28.156.195 with SMTP id f186mr4185095wme.87.1522772286929; Tue, 03 Apr 2018 09:18:06 -0700 (PDT) Original-Received: from rpluim ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id l131sm1411002wmb.36.2018.04.03.09.18.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Apr 2018 09:18:06 -0700 (PDT) X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <877epowjq9.fsf@gmail.com> (Robert Pluim's message of "Tue, 03 Apr 2018 14:35:42 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b 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:224278 Archived-At: Robert Pluim writes: >> Probably a problem with calculating the decorations. Does >> (frame-geometry) return "reasonable" values for your frame? OK, is this normal? emacs -Q (modify-frame-parameters nil '((left . 0.0))) (frame-geometry) =3D> ((outer-position -20 . 188) (outer-size 1208 . 1226) (external-border-size 20 . 20) (outer-border-width . 0) (title-bar-size 0 . 70) (menu-bar-external . t) (menu-bar-size 1168 . 24) (tool-bar-external . t) (tool-bar-position . top) (tool-bar-size 1168 . 42) (internal-border-width . 0)) The frame is visually flush with the left edge of the screen, but frame-geometry claims it=CA=BCs at -20 ? For comparison, after toggle-frame-fullscreen ((outer-position 0 . 0) (outer-size 3840 . 2160) (external-border-size 0 . 0) (outer-border-width . 0) (title-bar-size 0 . 0) (menu-bar-external . t) (menu-bar-size 3840 . 24) (tool-bar-external . t) (tool-bar-position . top) (tool-bar-size 3840 . 42) (internal-border-width . 0)) So is this the window manager lying to us? This is with XWayland, I=CA=BCll see if I can test under vanilla X. Robert