BListView: do not spawn a thread on every mouse click.

That's a bad idea. The drag and drop tracking could get confused enough
to crash app_server (possibly because of calling InitiateDrag multiple
times?)

Fixes #14983.
This commit is contained in:
Adrien Destugues
2020-04-04 11:50:07 +02:00
parent 1e4cb11ffd
commit 61557c8240
2 changed files with 20 additions and 29 deletions
-3
View File
@@ -189,9 +189,6 @@ private:
bool _ReplaceItem(int32 index, BListItem* item);
void _RescanSelection(int32 from, int32 to);
void _DoneTracking(BPoint where);
void _Track(BPoint where, uint32);
private:
BList fList;
list_view_type fListType;