updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / psi-gentoo / psi-reverse_trayicon2.patch
blobd23d4d63e2aa16176ee85861a02b43bb7d78cbce
2 Created by Przemysław 'Troll' Maciąg <pmaciag (at) gmail (dot) com>
4 In cvs for 0.9.3 version somebody broke's trayicon...
5 This patch restores ability to show proper trayicon
6 in FVWM and few others (light) WM's.
8 diff -u -p -r1.24 -r1.26
9 --- src/tools/trayicon/trayicon_x11.cpp 2004/02/28 16:52:39 1.24
10 +++ src/tools/trayicon/trayicon_x11.cpp 2004/08/20 03:22:01 1.26
11 @@ -251,11 +261,6 @@ TrayIconFreeDesktop::TrayIconFreeDesktop
13 if ( manager_window != None )
14 send_message(dsp, manager_window, SYSTEM_TRAY_REQUEST_DOCK, winId(), 0, 0);
15 - else
16 - {
17 - object->hide();
18 - return;
19 - }
21 // some KDE mumbo-jumbo... why is it there? anybody?
22 Atom kwm_dockwindow_atom = XInternAtom(dsp, "KWM_DOCKWINDOW", false);
23 @@ -345,9 +371,7 @@ void TrayIcon::sysInstall()
24 d = (TrayIconPrivate *)(new TrayIconFreeDesktop(this, pm));
26 sysUpdateToolTip();
27 + d->show();
29 - if ( v_isWMDock )
30 - d->show();
33 void TrayIcon::sysRemove()