tdesktop/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 Hide native notifications of deleted messages. 2021-10-21 23:01:13 +04:00
notifications_manager_default.cpp Refactor icon unread counter painting. 2021-11-02 20:12:57 +04:00
notifications_manager_default.h Add Qt 6 support 2021-10-21 13:15:00 +04:00
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 Update API scheme with new cloud themes. 2021-10-29 18:31:07 +04:00
section_widget.h Colorize bubbles according to a custom chat theme. 2021-08-30 20:32:57 +03:00
window.style Move some icons, fix verified check scaling. 2021-12-03 15:30:40 +04:00
window_adaptive.cpp Split adaptive changed rpl::producer into two. 2021-06-24 11:25:35 +04:00
window_adaptive.h Split adaptive changed rpl::producer into two. 2021-06-24 11:25:35 +04:00
window_connecting_widget.cpp Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
window_connecting_widget.h Moved proxy global variables from facades to core settings. 2021-06-16 09:31:32 +03:00
window_controller.cpp Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
window_controller.h Added method to Window::Controller to show custom layer widget. 2021-07-06 12:13:05 +03:00
window_filters_menu.cpp Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
window_filters_menu.h
window_history_hider.cpp Removed Adaptive namespace from Window::HistoryHider. 2021-06-16 09:31:32 +03:00
window_history_hider.h Removed Adaptive namespace from Window::HistoryHider. 2021-06-16 09:31:32 +03:00
window_lock_widgets.cpp
window_lock_widgets.h
window_main_menu.cpp Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
window_main_menu.h Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
window_media_preview.cpp
window_media_preview.h Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
window_outdated_bar.cpp Fix build with clang 2021-07-20 10:34:03 +03:00
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 Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
window_section_common.h Refactored sending bot commands. 2021-07-27 02:50:08 +03:00
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 Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
window_slide_animation.h
window_top_bar_wrap.h Removed Adaptive namespace from top bar widgets. 2021-06-16 09:31:32 +03:00