[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command

From: Robert Pluim
Subject: Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516)
Date: Thu, 28 Feb 2019 17:52:15 +0100

Robert Pluim <address@hidden> writes:

> I can do that. I have a small problem with 'make-frame-on-monitor':
> the resulting frame is too tall (itʼs correctly
> positioned though). Perhaps toolbars etc need to be
> accounted for?
> (Iʼll 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ʼs no issue on macOS: there was a scrollbar off to the right that
I hadn't realised was off-screen.

If Iʼve 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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]