[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-31-g5edbae196
paul at claws-mail.org
paul at claws-mail.org
Thu Jan 28 09:49:45 CET 2021
The branch, gtk3 has been updated
via 5edbae19682b1a8bb70513ea1b3ae0753ae3cc11 (commit)
from 6e39525c3569c1bcf29d2b7d5de0ba2845beb382 (commit)
Summary of changes:
AUTHORS | 1 +
src/gtk/authors.h | 1 +
src/mainwindow.c | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 5edbae19682b1a8bb70513ea1b3ae0753ae3cc11
Author: paul <paul at claws-mail.org>
Date: Thu Jan 28 08:49:41 2021 +0000
fix bug 4433, 'main window: GTK_CSD=1 causes window to grow with every restart'
patch by Steve Randall
diff --git a/AUTHORS b/AUTHORS
index 560593e2a..bfa3d3dab 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -335,3 +335,4 @@ contributors (in addition to the above; based on Changelog)
Damian Poddebniak
Alvar Penning
Orivej Desh
+ Steve Randall
diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 456ad42a0..2e60a5044 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -259,6 +259,7 @@ static char *CONTRIBS_LIST[] = {
"Quar",
"Don Quijote",
"Steve Rader",
+"Steve Randall",
"Jens Rantil",
"Ravemax",
"Eric S. Raymond",
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 1a66cc8bb..356414092 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2792,7 +2792,7 @@ void main_window_get_size(MainWindow *mainwin)
prefs_common.mainview_width = allocation.width;
}
- gtk_widget_get_allocation(mainwin->window, &allocation);
+ gtk_window_get_size(mainwin->window, &allocation.width, &allocation.height);
if (allocation.width > 1 && allocation.height > 1 &&
!prefs_common.mainwin_maximised && !prefs_common.mainwin_fullscreen) {
prefs_common.mainview_height = allocation.height;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list