From 437f7624668d39cd2774ec54b75d3790878ac688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 28 Aug 2013 13:52:21 +0200 Subject: [PATCH] Use xcb_atom_t for the Atoms in KWinSelectionOwner --- main.cpp | 4 ++-- main.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index 63707fd73b..4869155142 100644 --- a/main.cpp +++ b/main.cpp @@ -91,7 +91,7 @@ KWinSelectionOwner::KWinSelectionOwner(int screen_P) { } -Atom KWinSelectionOwner::make_selection_atom(int screen_P) +xcb_atom_t KWinSelectionOwner::make_selection_atom(int screen_P) { if (screen_P < 0) screen_P = DefaultScreen(display()); @@ -132,7 +132,7 @@ bool KWinSelectionOwner::genericReply(xcb_atom_t target_P, xcb_atom_t property_P return true; } -Atom KWinSelectionOwner::xa_version = None; +xcb_atom_t KWinSelectionOwner::xa_version = XCB_ATOM_NONE; class AlternativeWMDialog : public QDialog { diff --git a/main.h b/main.h index 35d438c50c..2a5604d468 100644 --- a/main.h +++ b/main.h @@ -47,8 +47,8 @@ protected: virtual void replyTargets(xcb_atom_t property, xcb_window_t requestor); virtual void getAtoms(); private: - Atom make_selection_atom(int screen); - static Atom xa_version; + xcb_atom_t make_selection_atom(int screen); + static xcb_atom_t xa_version; }; class Application : public KApplication