From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516) Date: Thu, 28 Feb 2019 17:52:15 +0100 Message-ID: References: <20190225211142.21954.14993@vcs0.savannah.gnu.org> <20190225211144.0DD23206A2@vcs0.savannah.gnu.org> <83ef7umv4v.fsf@gnu.org> <877edluew8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="225227"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 28 17:52:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzOvU-000wSU-Fz for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2019 17:52:52 +0100 Original-Received: from localhost ([127.0.0.1]:42887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzOvT-00038D-FC for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2019 11:52:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzOvG-000385-Tx for emacs-devel@gnu.org; Thu, 28 Feb 2019 11:52:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzOvD-0004nf-33 for emacs-devel@gnu.org; Thu, 28 Feb 2019 11:52:37 -0500 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:43973) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzOv7-0004hG-Q9; Thu, 28 Feb 2019 11:52:32 -0500 Original-Received: by mail-wr1-x42e.google.com with SMTP id d17so22707780wre.10; Thu, 28 Feb 2019 08:52:19 -0800 (PST) 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=Hvvw3GR9TCMLwLzg/E67HegAvMBQZuU0HrF+OfyyeSw=; b=gFH57W1bdgsKLCQlV/F7onUya/TiOi3bbi+/HYP45fs/9NbpLO3yq3pnoSijiKLXgP j6MLz0JNwckOX52++4FO/SUl5vUwoYT5OsOlrA1ZzQi4LGjmwhcpj3udAGNzhIxVQd5M zVFdYv15CoLx6zn14WfozDWV98TEApQJRbCPz4zxlaiU2tZq+jiv7Y/yrjAlHEKoCJcp j91CmrcDBNjMI1DyR+D6jExhsUeA3yjD4yqTH1gcg+U3dgt9VjgUp+VJRfhnV+AsxV44 zu6wuhpJGHvrGP83V22wJhusdGVFJDHWoe8IrRx9sbkrL3gWqOVMr2Ak6srBf9WkkNBy t41Q== 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=Hvvw3GR9TCMLwLzg/E67HegAvMBQZuU0HrF+OfyyeSw=; b=RckICOjzbHCfD8iS4TkhEJ3lIRDtZmcQGzAxpbLOKwUPDvKYqv02vLgqLT1bPZ929M d50RANU3eUjBjkZBK0KlPbJacBUFJXkjmsYQAE9wzFJgn3zpt5LnOIDQeYMe4XFfPEtd Gx74xOg0HjIFFd8PQD5x6XnevRfD0r9wLIbCrG4NI19JV71tzw1joaA4MVcI5h9Blr0O EhGM1Otcv6JlelvpXDt98HLYXBjcPpX3BB4UPOm1IAZhOBU4OBNkkfTb7ixBTBK7Sr1P zgJO/9ffiEwbRJ2HgvFt+gtol9UdXVKD7VaRVqfOJN8KfHYoOKnzOokP1/MTfK74jr1z qcXw== X-Gm-Message-State: APjAAAWL5KxBTSbRoUWpW4/rLHpF6oZdYQLPS9VGNCHMMMeRlC+RijlD dKQoPsM0E9FnElgtakp5zkFgdYTNxh0= X-Google-Smtp-Source: APXvYqzs1Dh4vCPdx81NZahPGaLU1ievqbcpVeHss7IWzBGL2GEodTQjLQkh/bHhf4G5g8O0HOAyqQ== X-Received: by 2002:adf:90af:: with SMTP id i44mr230466wri.222.1551372737741; Thu, 28 Feb 2019 08:52:17 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:c3a:aa7:7f6a:ec3a]) by smtp.gmail.com with ESMTPSA id o64sm7664705wmo.47.2019.02.28.08.52.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 28 Feb 2019 08:52:16 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Robert Pluim's message of "Thu, 28 Feb 2019 10:38:49 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e 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:233702 Archived-At: Robert Pluim writes: > I can do that. I have a small problem with 'make-frame-on-monitor': > the resulting frame is too tall (it=CA=BCs correctly > positioned though). Perhaps toolbars etc need to be > accounted for? > > (I=CA=BCll note that both outer-size and tool-bar-size are wider than the > actual display, so perhaps this is an issue in the macOS code geometry > code). There=CA=BCs no issue on macOS: there was a scrollbar off to the right that I hadn't realised was off-screen. If I=CA=BCve understood correctly, you want to create a frame that covers the entire workarea of the chosen monitor. Would it not work to specify the x,y of the top corner plus (fullscreen . maximized) rather than specifying the width and height explicitly? That will do the toolbar/titlebar/scrollbar subtractions for you (I haven't tested this). Robert