240ad036d0
windows while embedding them, allowing KWin to figure out it's being used and that it's not going away. This hack avoids the reparenting fight between KWin and QXEmbed where QXEmbed started to loose after the recent fixes. In order to make systray really work, QXEmbed still needs some fixes related to not destroying the embedded window. svn path=/trunk/kdebase/kwin/; revision=263178
46 lines
1 KiB
C++
46 lines
1 KiB
C++
/*****************************************************************
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
|
Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
License. See the file "COPYING" for the exact licensing terms.
|
|
******************************************************************/
|
|
|
|
#ifndef KWIN_ATOMS_H
|
|
#define KWIN_ATOMS_H
|
|
#include <X11/Xlib.h>
|
|
|
|
namespace KWinInternal
|
|
{
|
|
|
|
class Atoms
|
|
{
|
|
public:
|
|
Atoms();
|
|
|
|
Atom kwin_running;
|
|
|
|
Atom wm_protocols;
|
|
Atom wm_delete_window;
|
|
Atom wm_take_focus;
|
|
Atom wm_change_state;
|
|
Atom wm_client_leader;
|
|
|
|
Atom motif_wm_hints;
|
|
Atom net_wm_context_help;
|
|
Atom net_wm_ping;
|
|
Atom kde_wm_change_state;
|
|
Atom net_wm_user_time;
|
|
Atom kde_net_wm_user_creation_time;
|
|
Atom kde_system_tray_embedding;
|
|
};
|
|
|
|
|
|
extern Atoms* atoms;
|
|
|
|
} // namespace
|
|
|
|
#endif
|