diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-02 00:25:59 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-02 00:35:48 +0300 |
commit | bfe37b7255e76b7c66e3f9cfd47bd0636ac142cf (patch) | |
tree | 2bcb56940efd532d7bcd8ac0b3fb67e466f4ffee /intern/ghost/GHOST_C-api.h | |
parent | e1ec2d025142a35ce5a5302da0b9a71a279c61f2 (diff) | |
parent | 9bd586a01e6813a615eab05871803730603e2152 (diff) |
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index 441c7315f1a..18439350238 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -249,6 +249,16 @@ extern GHOST_TSuccess GHOST_EndFullScreen(GHOST_SystemHandle systemhandle); */ extern int GHOST_GetFullScreen(GHOST_SystemHandle systemhandle); +/** + * Get the Window under the cursor. + * \param x: The x-coordinate of the cursor. + * \param y: The y-coordinate of the cursor. + * @return The window under the cursor or nullptr in none. + */ +extern GHOST_WindowHandle GHOST_GetWindowUnderCursor(GHOST_SystemHandle systemhandle, + int32_t x, + int32_t y); + /*************************************************************************************** * Event management functionality ***************************************************************************************/ |