summaryrefslogtreecommitdiff
path: root/src/SFML/Window/Linux/WindowImplX11.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SFML/Window/Linux/WindowImplX11.hpp')
-rwxr-xr-xsrc/SFML/Window/Linux/WindowImplX11.hpp31
1 files changed, 10 insertions, 21 deletions
diff --git a/src/SFML/Window/Linux/WindowImplX11.hpp b/src/SFML/Window/Linux/WindowImplX11.hpp
index b4506fc..9fd4e0e 100755
--- a/src/SFML/Window/Linux/WindowImplX11.hpp
+++ b/src/SFML/Window/Linux/WindowImplX11.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com)
+// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -201,18 +201,6 @@ private :
void CleanUp();
////////////////////////////////////////////////////////////
- /// Filter the received events
- /// (only allow those matching a specific window)
- ///
- /// \param Event : Event to filter
- /// \param UserData : Data passed to the function (here : the window to compare)
- ///
- /// \return True if the event belongs to the specified window
- ///
- ////////////////////////////////////////////////////////////
- static Bool CheckEvent(::Display*, XEvent* Event, XPointer UserData);
-
- ////////////////////////////////////////////////////////////
/// Process an incoming event from the window
///
/// \param WinEvent : Event which has been received
@@ -259,14 +247,15 @@ private :
////////////////////////////////////////////////////////////
// Member data
////////////////////////////////////////////////////////////
- ::Window myWindow; ///< X11 structure defining our window
- bool myIsExternal; ///< Tell whether the window has been created externally or by SFML
- GLXContext myGLContext; ///< OpenGL context attached to the window
- Atom myAtomClose; ///< Atom used to identify the close event
- int myOldVideoMode; ///< Video mode in use before we switch to fullscreen
- Cursor myHiddenCursor; ///< As X11 doesn't provide cursor hidding, we must create a transparent one
- XIC myInputContext; ///< Input context used to get unicode input in our window
- bool myKeyRepeat; ///< Is the KeyRepeat feature enabled ?
+ ::Window myWindow; ///< X11 structure defining our window
+ bool myIsExternal; ///< Tell whether the window has been created externally or by SFML
+ GLXContext myGLContext; ///< OpenGL context attached to the window
+ Atom myAtomClose; ///< Atom used to identify the close event
+ int myOldVideoMode; ///< Video mode in use before we switch to fullscreen
+ Cursor myHiddenCursor; ///< As X11 doesn't provide cursor hidding, we must create a transparent one
+ XIC myInputContext; ///< Input context used to get unicode input in our window
+ bool myKeyRepeat; ///< Is the KeyRepeat feature enabled ?
+ XEvent myLastKeyReleaseEvent; ///< Last key release event we received (needed for discarding repeated key events)
};
} // namespace priv