emacs-devel
[Top][All Lists]
Advanced

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

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


From: tumashu
Subject: Emacs's set-frame-size can not work well with gnome-shell?
Date: Fri, 10 Jan 2020 10:34:45 +0800 (CST)

Hello:

When I use child-frame with gnome-shell, I find that set-frame-size is very slow and can not resize at all.
Is it emacs's problem or gnome problem?

```
(defun open-test (buffer)
  (display-buffer-in-child-frame
   buffer '((child-frame-parameters
             . ((width . 40)
                (height . 10)
                (top . 50)
                (left . 50)
                )))))

(defun resize-test (frame)
  (set-frame-height frame 20))

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

(resize-test test-frame)
```
The below links are relate infos of this problem:
1. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1733
2. https://github.com/tumashu/company-posframe/issues/17
3. https://github.com/tumashu/company-posframe/issues/2



reply via email to

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