1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
Michail Vourlakos
df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52.
2019-06-15 15:43:23 +03:00
Michail Vourlakos
37b708ef52 remove workaround for X11 struts !compositing gap 2019-06-15 10:02:23 +03:00
Michail Vourlakos
1051372e04 expose to qml builtin activity/vds switching
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
2019-06-10 17:49:21 +03:00
Michail Vourlakos
d312598f60 provide builtin Activity,VDs switching
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
2019-06-10 17:30:25 +03:00
Michail Vourlakos
c16251f743 add buffer size for LastActiveWindow 2019-06-09 13:06:06 +03:00
Michail Vourlakos
35752bbc2f proceed with implementation of LastActiveWindow 2019-06-09 12:47:10 +03:00
Michail Vourlakos
4cc4bfd6de REFACTOR WindowsTracker to provide more information
--View::WindowsTracker now provides all the time
information about CurrentScreen and AllScreens!
This way all consumers (Latte::Containment, Applets etc.)
can choose whatever suits them best.
2019-06-08 17:36:14 +03:00
Michail Vourlakos
607dbac4cf update WindowsTracker to track AllScreens windows
--by using a Layouts perspective in order to accomplish
that
2019-06-08 16:08:35 +03:00
Michail Vourlakos
0aa5c520dc add Layouts Tracking in WindowsTracking 2019-06-08 15:25:45 +03:00
Michail Vourlakos
e57ff695ed ignore LastActiveWindow tracking for !enabled 2019-06-08 14:19:45 +03:00
Michail Vourlakos
7decc54ddf introduce TrackedLayoutInfo 2019-06-08 14:16:27 +03:00
Michail Vourlakos
2b316aa728 improve trackedinfo(s) 2019-06-08 13:43:50 +03:00
Michail Vourlakos
96c081e076 remove View from TrackedGeneralInfo 2019-06-08 11:12:25 +03:00
Michail Vourlakos
6d1ac0bfe2 remove deprecated references 2019-06-08 10:50:42 +03:00
Michail Vourlakos
c2bfda46d3 make WindowsTracking activity filtering accurate 2019-06-08 01:38:27 +03:00
Michail Vourlakos
1b5de7d859 remove irrelevant windows from Track::History
--last active windows that were minimized OR
changed screen must be removed from last active
window history
2019-06-08 01:03:03 +03:00
Michail Vourlakos
59a4d63ca6 improve activities and desktops WM filtering 2019-06-08 00:31:30 +03:00
Michail Vourlakos
c7eb97a879 update WindowInfo to contain desktops/activities 2019-06-07 23:45:42 +03:00
Michail Vourlakos
79ae6a6de4 initial support History for LastActiveWindow 2019-06-07 18:07:19 +03:00
Michail Vourlakos
4ae9b1b91c update LastActiveWindow with signals 2019-06-04 23:08:05 +03:00
Michail Vourlakos
c0e3004717 add LastActiveWindow debug records
--in DebugWindow
2019-06-04 20:08:30 +03:00
Michail Vourlakos
a0226e1de9 split trackedinfo to general and view 2019-06-04 19:49:43 +03:00
Michail Vourlakos
c9ab9a1dbe dont equalize WindowInfo icon and appName
--icon and appName are constly functions and
should be called only when are really needed
2019-06-04 19:17:41 +03:00
Michail Vourlakos
51c11071dd support toggle onAllDesktops for LastActiveWindow 2019-06-02 01:57:03 +03:00
Michail Vourlakos
af609ca53f X11:track more LastActiveWindow properties
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
2019-06-02 01:33:34 +03:00
Michail Vourlakos
f3eacf169e add actions for LastActiveWindow 2019-06-02 01:16:44 +03:00
Michail Vourlakos
6898623bd6 identify PlasmaDesktop on startup under X11
--this was only an issue during startup but
add the same time is a good place to add a check
for plasma desktop
2019-06-01 11:04:23 +03:00
Michail Vourlakos
342d4a1a00 move window funcionality to lastactivewindow 2019-06-01 10:55:03 +03:00
Michail Vourlakos
a03655f176 new heuristic to identify plasma desktop window 2019-06-01 03:49:57 +03:00
Michail Vourlakos
54f1e3576e ignore Desktops under X11 2019-06-01 02:57:47 +03:00
Michail Vourlakos
d44809eb25 enable drag dialog-child windows of skiptaskbar 2019-06-01 02:48:07 +03:00
Michail Vourlakos
c45aa3f56c make xwindowinterface checks lighter
--use the windowsTracker in order to check
a window validity. No need to check again
and again in the window type is valid
2019-06-01 02:43:30 +03:00
Michail Vourlakos
8a8eb632b7 accept Gtk2+ dialogs for tracking
--Gtk2+ dialogs under X11 appear as
type Splash and PopUp at the same time.
This is a messy situation let's live
with this
2019-06-01 02:33:44 +03:00
Michail Vourlakos
3cbc4a5daf support AppName for WindowInformation
--use plasma libtaskmanager code and way
in order to obtain properly the AppName and
the Icon for its window
2019-06-01 01:20:54 +03:00
Michail Vourlakos
d45ebf9a34 add application name to WindowInformation 2019-05-31 20:50:08 +03:00
Michail Vourlakos
53d24fe2c6 forward LastActiveWindow to QML 2019-05-31 19:12:34 +03:00
Michail Vourlakos
e07cee3862 support icon for LastActiveWindow 2019-05-31 17:59:52 +03:00
Michail Vourlakos
25c96d0d3a support isOnAllDesktops for LastActiveWindow 2019-05-31 17:44:04 +03:00
Michail Vourlakos
eea213a5c0 add isOnAllDesktops to WindowInformation 2019-05-31 17:36:47 +03:00
Michail Vourlakos
2d2f7b172d add more properties at LastActiveWindow 2019-05-31 17:31:29 +03:00
Michail Vourlakos
dbed45b2c7 introduce TrackedInfo and LastActiveWindow 2019-05-31 16:58:42 +03:00
Michail Vourlakos
99ec9cb2fd move WM:Trackers in its own directory 2019-05-31 14:52:16 +03:00
Michail Vourlakos
b6520b1cd8 Improve WindowTracker CPU usage
--add a Timer in order to not sent too many
batch signals for windowChanged with no reason
and send only one at the end of the Timer::trigger
2019-05-27 20:09:48 +03:00
Michail Vourlakos
97332cc8cf introduce Display and Icon for WindowInfoWrap 2019-05-27 19:26:28 +03:00
Michail Vourlakos
a8a19bb550 support VirtualDesktops for kwayland>=5.52
--This of course needs Plasma>=5.15

BUG: 398106
2019-05-26 00:58:42 +03:00
Michail Vourlakos
ebaf81ddd8 remove deprecated code from AbstractWindowInterfa 2019-05-12 02:35:28 +03:00
Michail Vourlakos
48d3728005 REFACTOR:Introduce SchemesTracker for WM 2019-05-12 02:17:22 +03:00
Michail Vourlakos
ae4578433c dont track windows for AutoHide mode
--add initialization of values for views
tracking hints when enabled becomes false
--add some debug messages to be used when
we want to test out things
2019-05-12 00:52:56 +03:00
Michail Vourlakos
a5168c3a2a REFACTOR:Introduce WM:WindowsTracker
--this is a single and very important class
that handles all windows tracking and management
for ALL VIEWS at ALL ACTIVE LAYOUTS
2019-05-11 21:19:28 +03:00
Michail Vourlakos
945c6e50e2 remove deprecated m_views from AbstractWMInterface 2019-05-11 16:12:03 +03:00