aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2011-06-26 20:47:07 +0200
committerJan Djärv2011-06-26 20:47:07 +0200
commitc7e73be5f7c8f5d24757ace235bc622a9a7fdcd0 (patch)
treed32a59317249eaa9958627f1a6a3584db670ba46 /src/ChangeLog
parent247f696e50461a50306bc77d3683007bd06e8ba7 (diff)
downloademacs-c7e73be5f7c8f5d24757ace235bc622a9a7fdcd0.tar.gz
emacs-c7e73be5f7c8f5d24757ace235bc622a9a7fdcd0.zip
Fix wm_size-hints race between KDE/KWin and Gtk+ 3.
* emacsgtkfixed.c: State that this is only used with Gtk+3. (_EmacsFixedPrivate): Remove minwidth/height. Add struct frame *f. (emacs_fixed_init): Initialize priv->f. (get_parent_class, emacs_fixed_set_min_size): Remove. (emacs_fixed_new): Set priv->f to argument. (emacs_fixed_get_preferred_width) (emacs_fixed_get_preferred_height): Use min_width/height from frames size_hint to set minimum and natural. (XSetWMSizeHints, XSetWMNormalHints): Override these functions and use min_width/height from frames size_hint to set min_width/height (Bug#8919). * emacsgtkfixed.h: State that this is only used with Gtk+3. (emacs_fixed_set_min_size): Remove. (emacs_fixed_new): Take frame as argument. * gtkutil.c (xg_create_frame_widgets): Pass f to emacs_fixed_new. (x_wm_set_size_hint): Remove call to emacs_fixed_set_min_size. Fix indentation.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1b395f865c8..8a25b736cd2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,26 @@
12011-06-26 Jan Djärv <jan.h.d@swipnet.se>
2
3 * emacsgtkfixed.h: State that this is only used with Gtk+3.
4 (emacs_fixed_set_min_size): Remove.
5 (emacs_fixed_new): Take frame as argument.
6
7 * emacsgtkfixed.c: State that this is only used with Gtk+3.
8 (_EmacsFixedPrivate): Remove minwidth/height.
9 Add struct frame *f.
10 (emacs_fixed_init): Initialize priv->f.
11 (get_parent_class, emacs_fixed_set_min_size): Remove.
12 (emacs_fixed_new): Set priv->f to argument.
13 (emacs_fixed_get_preferred_width)
14 (emacs_fixed_get_preferred_height): Use min_width/height from
15 frames size_hint to set minimum and natural (Bug#8919).
16 (XSetWMSizeHints, XSetWMNormalHints): Override these functions
17 and use min_width/height from frames size_hint to set
18 min_width/height (Bug#8919).
19
20 * gtkutil.c (xg_create_frame_widgets): Pass f to emacs_fixed_new.
21 (x_wm_set_size_hint): Remove call to emacs_fixed_set_min_size. Fix
22 indentation.
23
12011-06-26 Eli Zaretskii <eliz@gnu.org> 242011-06-26 Eli Zaretskii <eliz@gnu.org>
2 25
3 * bidi.c (bidi_paragraph_init): Test for ZV_BYTE before calling 26 * bidi.c (bidi_paragraph_init): Test for ZV_BYTE before calling