mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-24 14:33:02 +02:00
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 |
||
---|---|---|
.. | ||
build | ||
cmake | ||
codegen@a60edf9174 | ||
lib_base@3b0decd74b | ||
lib_crl@ec103d6bcc | ||
lib_lottie@e1b707d128 | ||
lib_qr@2b08c71c6e | ||
lib_rlottie@0671bf7054 | ||
lib_rpl@94a42b775a | ||
lib_spellcheck@b1b295fee1 | ||
lib_storage@73d57840ac | ||
lib_tl@45faed44e7 | ||
lib_ui@e3c4d49912 | ||
lib_waylandshells@928501605f | ||
lib_webrtc@04cc1ff4a6 | ||
lib_webview@8be9c0ff27 | ||
Resources | ||
SetupFiles | ||
SourceFiles | ||
Telegram | ||
ThirdParty | ||
CMakeLists.txt | ||
configure.bat | ||
configure.py | ||
configure.sh | ||
create.bat | ||
Telegram.plist |