bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25818: 25.2; frame moved off display does not return (OS X)


From: Charles A. Roelli
Subject: bug#25818: 25.2; frame moved off display does not return (OS X)
Date: Sun, 02 Apr 2017 16:14:29 +0200

Hi Anders,

Does the attached patch work for you?  It's still a bit rough around the
edges, but seems to do the right thing.

A quick test on 10.6:

(setq ns-auto-hide-menu-bar t)

;; Places the frame just above the top of the screen.
(set-frame-position (selected-frame) 0 -20)

;; Frame would be completely offscreen; so it's constrained and brought
;; back.
(set-frame-position (selected-frame) 0 -10000)

Cheers,
Charles

Attachment: 0001-Constrain-frames-to-visible-area-of-screens-in-OS-X.patch
Description: Text Data


reply via email to

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