[Xfce4-commits] [apps/xfce4-terminal] 01/01: Dropdown window was session saved and restored as a normal window

noreply at xfce.org noreply at xfce.org
Sat Mar 9 23:35:41 CET 2019


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 800182c0552f004e2c3e2e7f22cec727e9757042
Author: Igor <f2404 at yandex.ru>
Date:   Sat Mar 9 17:34:20 2019 -0500

    Dropdown window was session saved and restored as a normal window
    
    If it was the only terminal window open.
    
    Fixes bug #11362
---
 terminal/terminal-app.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 1a831ec..145f525 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -563,6 +563,11 @@ terminal_app_save_yourself (XfceSMClient *client,
       result = g_slist_concat (result, terminal_window_get_restart_command (lp->data));
     }
 
+  /* no windows were saved - this can happen if there is only a dropdown window
+     that we don't want to save */
+  if (result == NULL)
+    return;
+
   argc = g_slist_length (result) + 1;
   argv = g_new (gchar*, argc + 1);
   for (lp = result, n = 1; n < argc && lp != NULL; lp = lp->next, ++n)

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


More information about the Xfce4-commits mailing list