|
From: | Dmitry Gutov |
Subject: | Re: Emacs's set-frame-size can not work well with gnome-shell? |
Date: | Fri, 17 Jan 2020 01:22:38 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 16.01.2020 21:33, martin rudalics wrote:
You could try one more thing: Set the frame's 'override-redirect' parameter to bypass the WM like (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) (override-redirect . t) (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)))
Alas, this made no difference.
And also make sure that 'frame-resize-pixelwise' is t although I doubtthat this would make any difference.
Ditto.
BTW, did you ever try shrinking the initial frame instead of growing it?
Sure. With the mouse, of course, and now, to be 100% sure, by changing the original scenario. Same result.
[Prev in Thread] | Current Thread | [Next in Thread] |