AyuGramDesktop/Telegram
Magnus Groß c2b2d0a92a Do not destroy drag after launchDrag()
On X11 we need to keep the QDrag around a little longer.

Right now, drag is scoped local to launchDrag() and will be destroyed
immediately when launchDrag() finishes. However for X11 we must keep the
drag object alive a little longer. It may only be destroyed once the
drag operation has been accepted by another window, otherwise drag and
drop is broken on Linux and no action happens when something is dragged
from Telegram into another window.

This is because there is still communication happening in the XDND
protocol once QDrag::exec() finishes. See the documentation for
reference: https://freedesktop.org/wiki/Specifications/XDND/

Fixes #17291
2021-12-22 14:15:36 +04:00
..
build Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:31 +00:00
cmake Beta version 3.2.6: Fix build on Linux. 2021-11-29 09:49:40 +04:00
codegen@a60edf9174 Support building macOS version with Qt 6.2. 2021-10-21 19:49:48 +04:00
lib_base@3b0decd74b Version 3.3: Update submodules. 2021-12-07 16:29:38 +04:00
lib_crl@ec103d6bcc Disable fp exceptions in Windows 32 bit build. 2021-08-24 20:32:26 +03:00
lib_lottie@e1b707d128 Fix build with DESKTOP_APP_USE_PACKAGED_RLOTTIE. 2021-12-22 10:11:57 +00:00
lib_qr@2b08c71c6e Fix more warnings in submodules. 2021-07-13 21:30:55 +03:00
lib_rlottie@0671bf7054 Initial build with Xcode. 2019-11-25 18:46:02 +03:00
lib_rpl@94a42b775a Start SendAsButton in HistoryWidget. 2021-11-26 18:00:18 +04:00
lib_spellcheck@b1b295fee1 Fix build on Windows 64 bit. 2021-10-31 12:28:22 +04:00
lib_storage@73d57840ac Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
lib_tl@45faed44e7 Start proper payments processing. 2021-04-06 18:41:15 +04:00
lib_ui@e3c4d49912 Version 3.3: Update submodules. 2021-12-07 16:29:38 +04:00
lib_waylandshells@928501605f Update submodules 2021-10-24 20:01:55 +04:00
lib_webrtc@04cc1ff4a6 Use AL_REMIX_UNMATCHED_SOFT enum value instead of hard-coded value 2021-11-26 18:48:35 +04:00
lib_webview@8be9c0ff27 Add support for webkit2gtk-5.0 and webkit2gtk-4.1 2021-12-01 07:39:03 +04:00
Resources Version 3.3. 2021-12-07 15:52:33 +04:00
SetupFiles
SourceFiles Do not destroy drag after launchDrag() 2021-12-22 14:15:36 +04:00
Telegram Fix build for Mac App Store. 2021-10-30 17:19:24 +04:00
ThirdParty Move macOS and Linux builds to Qt 6.2.2. 2021-12-22 10:13:31 +00:00
CMakeLists.txt Result binary shouldn't be in bin subfolder with any generator on macOS 2021-12-11 07:29:02 +04:00
configure.bat Fix build scripts. 2020-01-02 13:45:21 +03:00
configure.py Use Ninja Multi-Config generator on Linux. 2021-11-17 10:03:14 +04:00
configure.sh Closed alpha version 1.9.1.8: Fix macOS build. 2019-12-06 14:22:46 +03:00
create.bat Use single LEGAL file with license and copyright. 2018-01-03 13:23:14 +03:00
Telegram.plist Request camera permissions on macOS. 2020-08-11 18:21:40 +04:00