mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
multimedia keys handle added
This commit is contained in:
@@ -41,7 +41,7 @@ namespace {
|
||||
Window *wnd = Application::wnd();
|
||||
if (!wnd) return false;
|
||||
|
||||
return false;
|
||||
return wnd->psFilterNativeEvent(message);
|
||||
}
|
||||
};
|
||||
_PsEventFilter *_psEventFilter = 0;
|
||||
@@ -460,6 +460,10 @@ void PsMainWindow::psActivateNotify(NotifyWindow *w) {
|
||||
objc_activateWnd(w->winId());
|
||||
}
|
||||
|
||||
bool PsMainWindow::psFilterNativeEvent(void *event) {
|
||||
return _private.filterNativeEvent(event);
|
||||
}
|
||||
|
||||
namespace {
|
||||
QRect _monitorRect;
|
||||
uint64 _monitorLastGot = 0;
|
||||
|
Reference in New Issue
Block a user