aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-18 21:18:28 (GMT)
committerfluxgen <fluxgen>2004-04-18 21:18:28 (GMT)
commitbb2f1c87136c930f1a91ec8864890a5edb2c04f2 (patch)
tree09f07b57296ef4e6b8201e7aecc9b2a3c8e74abe /src
parent23d9630f076892e01722141ccde03f9621e68f71 (diff)
downloadfluxbox-bb2f1c87136c930f1a91ec8864890a5edb2c04f2.zip
fluxbox-bb2f1c87136c930f1a91ec8864890a5edb2c04f2.tar.bz2
new interface for adding atomhandler in fluxbox.hh
Diffstat (limited to 'src')
-rw-r--r--src/SystemTray.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index 1a69a48..bf3bc7d 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: SystemTray.cc,v 1.6 2004/01/21 13:35:10 fluxgen Exp $ 22// $Id: SystemTray.cc,v 1.7 2004/04/18 21:18:28 fluxgen Exp $
23 23
24#include "SystemTray.hh" 24#include "SystemTray.hh"
25 25
@@ -103,7 +103,7 @@ SystemTray::SystemTray(const FbTk::FbWindow &parent):
103 // set owner 103 // set owner
104 XSetSelectionOwner(disp, tray_atom, m_window.window(), CurrentTime); 104 XSetSelectionOwner(disp, tray_atom, m_window.window(), CurrentTime);
105 m_handler.reset(new SystemTrayHandler(*this)); 105 m_handler.reset(new SystemTrayHandler(*this));
106 Fluxbox::instance()->addAtomHandler(m_handler.get()); 106 Fluxbox::instance()->addAtomHandler(m_handler.get(), "systray");
107 Window root_window = RootWindow(disp, m_window.screenNumber()); 107 Window root_window = RootWindow(disp, m_window.screenNumber());
108 108
109 // send selection owner msg 109 // send selection owner msg