File: fix-pop-up-menu-race-condition-gtk3.patch

package info (click to toggle)
parcellite 1.2.1-9.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,032 kB
  • sloc: ansic: 4,963; sh: 1,574; makefile: 63; python: 37; xml: 29; sed: 16
file content (16 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: there's a racecondition when rendering the menu pop-up and 
increasing the delay time to render the menu solves the issue
Author: Jurek Młynarczyk <jurek.mlynarczyk@o2.pl>
Last-Update: 2023-10-24

--- a/src/main.h
+++ b/src/main.h
@@ -24,7 +24,7 @@
 extern GMutex *hist_lock;
 
 #define ACTIONS_TAB    2
-#define POPUP_DELAY    100
+#define POPUP_DELAY    300
 #define CHECK_INTERVAL 500
 #define CHECK_APPINDICATOR_INTERVAL 30000 /**check for existence of indicator-appmenu  */
 #define ID_PRIMARY   0