[Xfce4-commits] [apps/xfce4-terminal] 01/01: Provide geometry_widget to gtk_window_set_geometry_hints

noreply at xfce.org noreply at xfce.org
Wed Nov 7 16:17:07 CET 2018


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 50b7f0f4a52e12cb12dc2dce16a764fcaadfe46f
Author: Igor <f2404 at yandex.ru>
Date:   Wed Nov 7 10:13:23 2018 -0500

    Provide geometry_widget to gtk_window_set_geometry_hints
    
    Although the parameter is said to be ignored since GTK 3.20, providing it
    seems to help openbox restore window size when exiting fullscreen/maximized
    state.
    
    Fixes bug #14765
---
 terminal/terminal-screen.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 555c799..0d94805 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2048,11 +2048,7 @@ terminal_screen_set_window_geometry_hints (TerminalScreen *screen,
   hints.min_height = hints.base_height + hints.height_inc * 2;
 
   gtk_window_set_geometry_hints (window,
-#if GTK_CHECK_VERSION (3, 19, 5)
-                                 NULL,
-#else
                                  screen->terminal,
-#endif
                                  &hints,
                                  GDK_HINT_RESIZE_INC
                                  | GDK_HINT_MIN_SIZE

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list