emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs's set-frame-size can not work well with gnome-shell?


From: Dmitry Gutov
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Thu, 16 Jan 2020 13:12:15 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 16.01.2020 12:44, martin rudalics wrote:

Dragging the frame by dragging the border shouldn't have happened in the
first place.  Please try again with:


(custom-set-faces
  '(internal-border ((t (:background "red")))))

(defun open-test (buffer)
   (display-buffer-in-child-frame
    buffer '((child-frame-parameters
              . ((width . 40)
                 (height . 10)
                 (top . 50)
                 (left . 50)
         (minibuffer . nil)
         (border-width . 0)
         (internal-border-width . 10)
         (drag-internal-border . t)
         (drag-with-mode-line . t)
                 )))))

(setq-local test-buffer (get-buffer-create "*test child-frame*"))
(setq-local test-frame (window-frame (open-test test-buffer)))

The behavior seems to be the same (dragging, not resizing; including dragging by the borders).

BTW, somewhat curiously the red border only shows up after I click on the child frame.



reply via email to

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