Platform/Unix: Rename X11SharedDisplay to Xlib, and remove Display member variable from all classes.
We now initialize/destroy the display in Xlib::init/shutdown that is called in UnixApplication::init/shutdown and therefore is valid through the whole lifetime. So no need for classes to keep references.
This commit is contained in:
parent
60dd9bacb0
commit
090646b61a
17 changed files with 137 additions and 201 deletions
|
|
@ -11,7 +11,6 @@ class X11Mouse : public Mouse
|
|||
{
|
||||
public :
|
||||
X11Mouse();
|
||||
~X11Mouse();
|
||||
|
||||
virtual void init();
|
||||
|
||||
|
|
@ -32,7 +31,6 @@ protected :
|
|||
void updateFocusedWindow();
|
||||
|
||||
protected :
|
||||
::Display* m_disp;
|
||||
::Window m_win; // Focused window.
|
||||
|
||||
Vector2f m_position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue