1 | /******************************************************************** |
2 | KWin - the KDE window manager |
3 | This file is part of the KDE project. |
4 | |
5 | Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> |
6 | Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org> |
7 | |
8 | This program is free software; you can redistribute it and/or modify |
9 | it under the terms of the GNU General Public License as published by |
10 | the Free Software Foundation; either version 2 of the License, or |
11 | (at your option) any later version. |
12 | |
13 | This program is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | GNU General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | *********************************************************************/ |
21 | |
22 | #ifndef KWIN_ATOMS_H |
23 | #define KWIN_ATOMS_H |
24 | |
25 | #include <QApplication> |
26 | #include <X11/Xlib.h> |
27 | |
28 | namespace KWin |
29 | { |
30 | |
31 | class Atoms |
32 | { |
33 | public: |
34 | Atoms(); |
35 | |
36 | Atom kwin_running; |
37 | Atom activities; |
38 | |
39 | Atom wm_protocols; |
40 | Atom wm_delete_window; |
41 | Atom wm_take_focus; |
42 | Atom wm_change_state; |
43 | Atom wm_client_leader; |
44 | Atom wm_window_role; |
45 | Atom wm_state; |
46 | Atom sm_client_id; |
47 | |
48 | Atom motif_wm_hints; |
49 | Atom net_wm_context_help; |
50 | Atom net_wm_ping; |
51 | Atom kde_wm_change_state; |
52 | Atom net_wm_user_time; |
53 | Atom kde_net_wm_user_creation_time; |
54 | Atom kde_system_tray_embedding; |
55 | Atom net_wm_take_activity; |
56 | Atom net_wm_window_opacity; |
57 | Atom xdnd_aware; |
58 | Atom xdnd_position; |
59 | Atom net_frame_extents; |
60 | Atom kde_net_wm_frame_strut; |
61 | Atom net_wm_sync_request_counter; |
62 | Atom net_wm_sync_request; |
63 | Atom kde_net_wm_block_compositing; |
64 | Atom kde_net_wm_shadow; |
65 | Atom net_wm_opaque_region; |
66 | Atom kde_net_wm_tab_group; |
67 | Atom kde_first_in_window_list; |
68 | Atom kde_skip_close_animation; |
69 | }; |
70 | |
71 | |
72 | extern Atoms* atoms; |
73 | |
74 | } // namespace |
75 | |
76 | #endif |
77 | |