Platform/Unix/X11Display: Adding getFocused()
This commit is contained in:
parent
d971cd6cb2
commit
d9f54b08ca
2 changed files with 14 additions and 0 deletions
|
|
@ -14,6 +14,17 @@
|
|||
|
||||
namespace sp {
|
||||
|
||||
namespace _priv {
|
||||
|
||||
// Pointer to the display that has focus (or NULL if none have).
|
||||
X11Display* focused_display = NULL;
|
||||
}
|
||||
|
||||
X11Display* X11Display::getFocused()
|
||||
{
|
||||
return _priv::focused_display;
|
||||
}
|
||||
|
||||
X11Display::
|
||||
X11Display() :
|
||||
m_screen (0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue