mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-24 17:33:50 +03:00
add LastActiveWindow debug records
--in DebugWindow
This commit is contained in:
parent
a0226e1de9
commit
c0e3004717
@ -44,7 +44,7 @@
|
||||
#include "wm/xwindowinterface.h"
|
||||
#include "wm/tracker/lastactivewindow.h"
|
||||
#include "wm/tracker/schemes.h"
|
||||
#include "wm/tracker/windows.h"
|
||||
#include "wm/tracker/trackerwindows.h"
|
||||
|
||||
// Qt
|
||||
#include <QAction>
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "../lattecorona.h"
|
||||
#include "../layouts/manager.h"
|
||||
#include "../wm/schemecolors.h"
|
||||
#include "../wm/tracker/windows.h"
|
||||
#include "../wm/tracker/lastactivewindow.h"
|
||||
#include "../wm/tracker/trackerwindows.h"
|
||||
#include "../../liblatte2/types.h"
|
||||
|
||||
namespace Latte {
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
// local
|
||||
#include "tracker/schemes.h"
|
||||
#include "tracker/windows.h"
|
||||
#include "tracker/trackerwindows.h"
|
||||
#include "../lattecorona.h"
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "schemecolors.h"
|
||||
#include "tasktools.h"
|
||||
#include "windowinfowrap.h"
|
||||
#include "tracker/windows.h"
|
||||
#include "tracker/trackerwindows.h"
|
||||
#include "../liblatte2/types.h"
|
||||
#include "../liblatte2/extras.h"
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
set(lattedock-app_SRCS
|
||||
${lattedock-app_SRCS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/lastactivewindow.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/windows.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/schemes.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/trackedgeneralinfo.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/trackedviewinfo.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/trackerwindows.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
// local
|
||||
#include "trackedgeneralinfo.h"
|
||||
#include "windows.h"
|
||||
#include "trackerwindows.h"
|
||||
#include "../abstractwindowinterface.h"
|
||||
#include "../tasktools.h"
|
||||
#include "../../view/view.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "trackedgeneralinfo.h"
|
||||
|
||||
//local
|
||||
#include "windows.h"
|
||||
#include "trackerwindows.h"
|
||||
#include "../schemecolors.h"
|
||||
#include "../../view/view.h"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "trackedviewinfo.h"
|
||||
|
||||
//local
|
||||
#include "windows.h"
|
||||
#include "trackerwindows.h"
|
||||
#include "../schemecolors.h"
|
||||
#include "../../view/view.h"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "windows.h"
|
||||
#include "trackerwindows.h"
|
||||
|
||||
// local
|
||||
#include "lastactivewindow.h"
|
@ -757,6 +757,23 @@ Window{
|
||||
Text{
|
||||
text: root.appletsNeedWindowsTracking
|
||||
}
|
||||
|
||||
Text{
|
||||
text: "Last Active Window (id)"+space
|
||||
}
|
||||
|
||||
Text{
|
||||
text: latteView && latteView.windowsTracker ? latteView.windowsTracker.lastActiveWindow.winId : ""
|
||||
}
|
||||
|
||||
Text{
|
||||
text: "Last Active Window (title)"+space
|
||||
}
|
||||
|
||||
Text{
|
||||
text: latteView && latteView.windowsTracker ? latteView.windowsTracker.lastActiveWindow.display : ""
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user