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 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
window_adaptive.h
window_connecting_widget.cpp
window_connecting_widget.h
window_controller.cpp Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
window_controller.h
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
window_history_hider.h
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
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 Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
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