[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 03e2318 3/6: HACK: Try to fix resizing issue (Fix
From: |
Protesilaos Stavrou |
Subject: |
[elpa] externals/corfu 03e2318 3/6: HACK: Try to fix resizing issue (Fix #17) |
Date: |
Fri, 30 Apr 2021 13:32:54 -0400 (EDT) |
branch: externals/corfu
commit 03e23181dba26ee02201c4e6a1c5a88af3673515
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
HACK: Try to fix resizing issue (Fix #17)
---
corfu.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/corfu.el b/corfu.el
index 7d08dac..4374e5d 100644
--- a/corfu.el
+++ b/corfu.el
@@ -179,6 +179,14 @@ Set to nil in order to disable confirmation."
"Show child frame at X/Y with WIDTH/HEIGHT and CONTENT."
(let* ((window-min-height 1)
(window-min-width 1)
+ (x-gtk-resize-child-frames
+ (and
+ ;; XXX Hack to fix resizing on gtk3/gnome taken from posframe.el
+ ;; See https://github.com/minad/corfu/issues/17
+ (string-match-p "GTK3" system-configuration-features)
+ (string-match-p "GNOME" (or (getenv "XDG_CURRENT_DESKTOP")
+ (getenv "DESKTOP_SESSION") ""))
+ 'resize-mode))
(after-make-frame-functions)
(edge (window-inside-pixel-edges))
(lh (line-pixel-height))
- [elpa] externals/corfu updated (17f3fc6 -> 9c9be9c), Protesilaos Stavrou, 2021/04/30
- [elpa] externals/corfu 1434e7f 2/6: Align annotations (Fix #18), Protesilaos Stavrou, 2021/04/30
- [elpa] externals/corfu 03e2318 3/6: HACK: Try to fix resizing issue (Fix #17),
Protesilaos Stavrou <=
- [elpa] externals/corfu cf6c7ce 1/6: Overlay fix, Protesilaos Stavrou, 2021/04/30
- [elpa] externals/corfu 4ef4ca3 5/6: Ensure that case-fold-search=t (See #17), Protesilaos Stavrou, 2021/04/30
- [elpa] externals/corfu 319edfb 4/6: Detect both gnome and cinnamon, Protesilaos Stavrou, 2021/04/30
- [elpa] externals/corfu 9c9be9c 6/6: Add links to issues, Protesilaos Stavrou, 2021/04/30