summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_tooltips_no_taskbar.patch
blob: 704d544e7823df241bd07e40e4bc5368fbf36c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Version: 12.2
Date: 2023-04-03
Author: bgstack15
Message: Suppress taskbar entry for tooltip "window". Upstream declined this patch (https://freefilesync.org/forum/viewtopic.php?t=9898) so it must continue here.
--- a/wx+/tooltip.cpp
+++ b/wx+/tooltip.cpp
@@ -10,6 +10,7 @@
 #include <wx/sizer.h>
 //#include <wx/statbmp.h>
 #include <wx/settings.h>
+#include <wx/frame.h>
 #include <wx/app.h>
 //#include "image_tools.h"
 #include "bitmap_button.h"
@@ -29,7 +30,7 @@ class Tooltip::TooltipDlgGenerated : pub
 {
 public:
     TooltipDlgGenerated(wxWindow* parent) : //Suse Linux/X11: needs parent window, else there are z-order issues
-        wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER /*style*/)
+        wxDialog(parent, wxID_ANY, L"" /*title*/, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER | wxFRAME_NO_TASKBAR /*style*/)
         //wxSIMPLE_BORDER side effect: removes title bar on KDE
     {
         SetSizeHints(wxDefaultSize, wxDefaultSize);
bgstack15