summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-07 16:29:35 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-06-07 16:29:35 +0200
commit52e5fd336bcbe91f1d964015ecf59254c97d92d1 (patch)
tree7a2dbfb78531f97d506fc887e1d78a9b580e706f /src/plugins/platforms/xcb/qxcbconnection.h
parent4386425ce310815076739ea5f15fe4f1218599c8 (diff)
cleanups code
Make QXcbClipboard and QXcbDrag a QXcbObject to simplify the code. Use the predefined atoms in xproto.h instead of our own defines.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h
index 25a92f9ec3..aa54229779 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.h
+++ b/src/plugins/platforms/xcb/qxcbconnection.h
@@ -61,15 +61,6 @@ class QXcbWMSupport;
typedef QHash<xcb_window_t, QXcbWindow *> WindowMapper;
namespace QXcbAtom {
- static const xcb_atom_t XA_PRIMARY = 1;
- static const xcb_atom_t XA_SECONDARY = 2;
- static const xcb_atom_t XA_ATOM = 4;
- static const xcb_atom_t XA_PIXMAP = 20;
- static const xcb_atom_t XA_BITMAP = 5;
- static const xcb_atom_t XA_STRING = 32;
- static const xcb_atom_t XA_WINDOW = 33;
- static const xcb_atom_t XA_CARDINAL = 6;
-
enum Atom {
// window-manager <-> client protocols
WM_PROTOCOLS,