Platform/Unix/X11Mouse: use X11Display::getFocused() to get the coordinates relative to the focused window.
This commit is contained in:
parent
227d58725d
commit
f71cfa86f2
2 changed files with 27 additions and 7 deletions
|
|
@ -29,12 +29,16 @@ protected :
|
|||
|
||||
virtual void update(InputModule *input);
|
||||
|
||||
void updateFocusedWindow();
|
||||
|
||||
protected :
|
||||
::Display* m_disp;
|
||||
::Window m_win;
|
||||
::Window m_win; // Focused window.
|
||||
|
||||
Vector2f m_position;
|
||||
|
||||
Vector2f m_abs_position;
|
||||
|
||||
unsigned int m_btn_state;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue