summaryrefslogtreecommitdiffstats
path: root/kwin/atoms.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-07 21:50:33 -0600
committerTimothy Pearson <[email protected]>2011-11-07 21:50:33 -0600
commit0b6057404f65218182ab27a9483a21065ef61fca (patch)
treeb8b06dfa2deb965bebfbe131a772124e3e693a96 /kwin/atoms.cpp
parent43d99cc2477266cb9072e179137f0e8485370b3d (diff)
downloadtdebase-0b6057404f65218182ab27a9483a21065ef61fca.tar.gz
tdebase-0b6057404f65218182ab27a9483a21065ef61fca.zip
Rename kwin to twin (Part 2 of 2)
Diffstat (limited to 'kwin/atoms.cpp')
-rw-r--r--kwin/atoms.cpp111
1 files changed, 0 insertions, 111 deletions
diff --git a/kwin/atoms.cpp b/kwin/atoms.cpp
deleted file mode 100644
index aa6e82ea2..000000000
--- a/kwin/atoms.cpp
+++ /dev/null
@@ -1,111 +0,0 @@
-/*****************************************************************
- KWin - the KDE window manager
- This file is part of the KDE project.
-
-Copyright (C) 1999, 2000 Matthias Ettrich <[email protected]>
-Copyright (C) 2003 Lubos Lunak <[email protected]>
-
-You can Freely distribute this program under the GNU General Public
-License. See the file "COPYING" for the exact licensing terms.
-******************************************************************/
-
-
-#include <tqapplication.h>
-#include "atoms.h"
-#include <assert.h>
-
-namespace KWinInternal
-{
-
-Atoms::Atoms()
- {
-
- const int max = 50;
- Atom* atoms[max];
- char* names[max];
- Atom atoms_return[max];
- int n = 0;
-
- atoms[n] = &twin_running;
- names[n++] = (char *) "KWIN_RUNNING";
-
- atoms[n] = &wm_protocols;
- names[n++] = (char *) "WM_PROTOCOLS";
-
- atoms[n] = &wm_delete_window;
- names[n++] = (char *) "WM_DELETE_WINDOW";
-
- atoms[n] = &wm_take_focus;
- names[n++] = (char *) "WM_TAKE_FOCUS";
-
- atoms[n] = &wm_change_state;
- names[n++] = (char *) "WM_CHANGE_STATE";
-
- atoms[n] = &wm_client_leader;
- names[n++] = (char *) "WM_CLIENT_LEADER";
-
- atoms[n] = &motif_wm_hints;
- names[n++] = (char *) "_MOTIF_WM_HINTS";
-
- atoms[n] = &net_wm_context_help;
- names[n++] = (char *) "_NET_WM_CONTEXT_HELP";
-
- atoms[n] = &net_wm_ping;
- names[n++] = (char *) "_NET_WM_PING";
-
- atoms[n] = &kde_wm_change_state;
- names[n++] = (char *) "_KDE_WM_CHANGE_STATE";
-
- atoms[n] = &net_wm_user_time;
- names[n++] = (char *) "_NET_WM_USER_TIME";
- atoms[n] = &kde_net_wm_user_creation_time;
- names[n++] = (char *) "_KDE_NET_WM_USER_CREATION_TIME";
-
- atoms[n] = &kde_system_tray_embedding;
- names[n++] = (char*) "_KDE_SYSTEM_TRAY_EMBEDDING";
-
- atoms[n] = &net_wm_take_activity;
- names[n++] = (char*) "_NET_WM_TAKE_ACTIVITY";
-
- atoms[n] = &net_wm_window_opacity;
- names[n++] = (char*) "_KDE_WM_WINDOW_OPACITY";
-
- atoms[n] = &net_wm_window_shadow;
- names[n++] = (char*) "_KDE_WM_WINDOW_SHADOW";
-
- atoms[n] = &net_wm_window_shade;
- names[n++] = (char*) "_KDE_WM_WINDOW_SHADE";
-
- atoms[n] = &net_wm_window_shapable;
- names[n++] = (char*) "_KDE_WM_WINDOW_SHAPABLE";
-
- atoms[n] = &net_wm_window_decohash;
- names[n++] = (char*) "_KDE_WM_WINDOW_DECOHASH";
-
- atoms[n] = &net_wm_system_modal_notification;
- names[n++] = (char*) "_KDE_WM_MODAL_SYS_NOTIFICATION";
-
- Atom fake;
- atoms[n] = &fake;
- names[n++] = (char *) "_DT_SM_WINDOW_INFO";
- atoms[n] = &fake;
- names[n++] = (char *) "_MOTIF_WM_INFO"; // #172028
-
- atoms[n] = &xdnd_aware;
- names[n++] = (char*) "XdndAware";
- atoms[n] = &xdnd_position;
- names[n++] = (char*) "XdndPosition";
-
- atoms[n] = &net_frame_extents;
- names[n++] = (char*) "_NET_FRAME_EXTENTS";
- atoms[n] = &kde_net_wm_frame_strut;
- names[n++] = (char*) "_KDE_NET_WM_FRAME_STRUT";
-
- assert( n <= max );
-
- XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return );
- for (int i = 0; i < n; i++ )
- *atoms[i] = atoms_return[i];
- }
-
-} // namespace