[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 69119] New: system tray XEMBED QXEmbed::initialize
From:       Leon Bottou <leon () bottou ! org>
Date:       2003-11-27 4:35:48
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=69119     
           Summary: system tray XEMBED QXEmbed::initialize
           Product: klipper
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: pfeiffer@kde.org
        ReportedBy: leon@bottou.org


Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

System tray applications are embedded 
using freedesktop.org's XEMBED protocol.
To support this Qt applications should 
call QXEmbed::initialize().

This is what KSystemTray does ( kdecore/kdeui ).
Klipper does not.

Suggested fix:
Add the following lines in kdebase/klipper/main.cpp.
These lines are copied from kdecore/kdeui/ksystemtray.cpp.

// New header.
#if defined Q_WS_X11 && ! defined K_WS_QTONLY
#include <qxembed.h> // schroder
#endif

// In function main() before KWin::setSystemTrayWindowFor
#if defined Q_WS_X11 && ! defined K_WS_QTONLY
    QXEmbed::initialize();
#endif

On the other hand, this call might be 
best placed inside KWin::setSystemTrayWindowFor().

- L.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic