When leaving OS window clear it from drop state
This commit is contained in:
parent
cd3860817b
commit
69f24c503f
1 changed files with 1 additions and 0 deletions
|
|
@ -830,6 +830,7 @@ on_drop(GLFWwindow *window, GLFWDropEvent *ev) {
|
|||
}
|
||||
break;
|
||||
case GLFW_DROP_LEAVE:
|
||||
global_state.drop_dest.os_window_id = 0;
|
||||
for (size_t tc = 0; tc < os_window->num_tabs; tc++) {
|
||||
Tab *t = os_window->tabs + tc;
|
||||
for (size_t i = 0; i < t->num_windows; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue