kotatogram-desktop/Telegram/SourceFiles/window
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
..
themes FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
main_window.cpp Do not destroy drag after launchDrag() 2021-12-22 14:15:36 +04:00
main_window.h Start scrollable CalendarBox. 2021-11-26 18:00:19 +04:00
notifications_manager.cpp FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
notifications_manager.h
notifications_manager_default.cpp Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
notifications_manager_default.h
notifications_utilities.cpp Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
notifications_utilities.h
section_memento.h
section_widget.cpp
section_widget.h
window.style Move some icons, fix verified check scaling. 2021-12-03 15:30:40 +04:00
window_adaptive.cpp
window_adaptive.h
window_connecting_widget.cpp
window_connecting_widget.h
window_controller.cpp
window_controller.h
window_filters_menu.cpp
window_filters_menu.h
window_history_hider.cpp
window_history_hider.h
window_lock_widgets.cpp
window_lock_widgets.h
window_main_menu.cpp
window_main_menu.h
window_media_preview.cpp
window_media_preview.h
window_outdated_bar.cpp
window_outdated_bar.h
window_peer_menu.cpp FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
window_peer_menu.h
window_section_common.h
window_session_controller.cpp FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
window_session_controller.h Delete history for specific days in private chats. 2021-11-26 18:00:19 +04:00
window_slide_animation.cpp
window_slide_animation.h
window_top_bar_wrap.h