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

git pushed a commit to branch master
in repository e16.

View the commit online.

commit 07bdcfdb6ba6498440ff4735ffaebd46d368e0f8
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Wed Jun 14 17:29:39 2023 +0200

    GSOD: Ungrab server before opening new connection
    
    Going here while having grabbed the server would cause a deadlock when
    opening the new connection.
---
 src/alert.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/alert.c b/src/alert.c
index 48b4eed9..ed4a1058 100644
--- a/src/alert.c
+++ b/src/alert.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
- * Copyright (C) 2004-2022 Kim Woelders
+ * Copyright (C) 2004-2023 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -38,6 +38,8 @@
 #include <X11/extensions/Xcomposite.h>
 #endif
 
+void                EUngrabServer(void);
+
 #define ExTextExtents XmbTextExtents
 #define ExDrawString XmbDrawString
 
@@ -188,6 +190,8 @@ ShowAlert(const char *title,
    SoundPlay(SOUND_ALERT);
 #endif
 
+   EUngrabServer();
+
    if (!fmt)
       return;
 

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

Reply via email to