1
0
Fork 0

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:
Henrik Hautakoski 2020-12-25 17:17:51 +01:00
parent 60dd9bacb0
commit 090646b61a
17 changed files with 137 additions and 201 deletions

View file

@ -11,13 +11,8 @@ namespace sp {
class X11EventQueue : public PlatformEventQueue
{
public :
X11EventQueue();
virtual ~X11EventQueue();
virtual bool poll(Event& event);
private :
::Display* m_disp;
};
} // namespace sp