mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add hit test for window context menu
This commit is contained in:
@@ -215,7 +215,7 @@ void Panel::initWindow() {
|
||||
}
|
||||
const auto shown = _layerBg->topShownLayer();
|
||||
return (!shown || !shown->geometry().contains(widgetPoint))
|
||||
? (Flag::Move | Flag::FullScreen)
|
||||
? (Flag::Move | Flag::Menu | Flag::FullScreen)
|
||||
: Flag::None;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user