kwin/atoms.h
Matthias Ettrich eb9d29938b NEVER call XInternAtom in an application like kwin that provides
a nifty interface for XInternAtom_s_. Have a look at atoms.cpp

svn path=/trunk/kdebase/kwin/; revision=48914
2000-05-08 21:22:57 +00:00

39 lines
823 B
C++

/*****************************************************************
kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef ATOMS_H
#define ATOMS_H
#include <X11/Xlib.h>
class Atoms {
public:
Atoms();
Atom wm_protocols;
Atom wm_delete_window;
Atom wm_take_focus;
Atom wm_change_state;
Atom kwm_win_icon; // compatibility
Atom kwm_command; // compatibility
Atom kwm_running;
Atom motif_wm_hints;
Atom net_number_of_desktops;
Atom net_current_desktop;
Atom net_active_window;
Atom net_client_list;
Atom net_client_list_stacking;
Atom net_wm_context_help;
Atom net_kde_docking_windows;
Atom net_avoid_spec;
};
extern Atoms* atoms;
#endif