diff options
author | Felix Rohrbach <fxrh@gmx.de> | 2011-04-04 23:40:14 +0200 |
---|---|---|
committer | Felix Rohrbach <fxrh@gmx.de> | 2011-04-10 14:06:55 +0200 |
commit | d85e59fe92be758bd79dcf32e6b5d9f5ceadb38d (patch) | |
tree | eeab0f737d7077b58aec2964cf40f4cf1a7d8212 /src/application.h | |
parent | AdBlock Improvements: (diff) | |
download | rekonq-d85e59fe92be758bd79dcf32e6b5d9f5ceadb38d.tar.xz |
Make rekonq desktop aware
If there is a rekonq window on the current virtual desktop and
another application opens a link, rekonq will prefer this window.
rekonq also prefers windows that were activated most recently.
CCBUG: 237732
REVIEW: 101033
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h index 3cd3c96b..d3757645 100644 --- a/src/application.h +++ b/src/application.h @@ -134,6 +134,10 @@ public slots: void newWindow(); void removeMainWindow(MainWindow *window); +protected: + // This is used to track which window was activated most recently + bool eventFilter(QObject *watched, QEvent *event); + private slots: /** * Any actions that can be delayed until the window is visible |