Commit Graph

70 Commits (0b6c07a1e5b6a1272b5f1fc07fdf376cd81019a6)

Author SHA1 Message Date
Michail Vourlakos c16251f743 add buffer size for LastActiveWindow
Michail Vourlakos 35752bbc2f proceed with implementation of LastActiveWindow
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.
Michail Vourlakos 607dbac4cf update WindowsTracker to track AllScreens windows
--by using a Layouts perspective in order to accomplish
that
Michail Vourlakos 0aa5c520dc add Layouts Tracking in WindowsTracking
Michail Vourlakos e57ff695ed ignore LastActiveWindow tracking for !enabled
Michail Vourlakos 7decc54ddf introduce TrackedLayoutInfo
Michail Vourlakos 2b316aa728 improve trackedinfo(s)
Michail Vourlakos 96c081e076 remove View from TrackedGeneralInfo
Michail Vourlakos 6d1ac0bfe2 remove deprecated references
Michail Vourlakos c2bfda46d3 make WindowsTracking activity filtering accurate
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
Michail Vourlakos 59a4d63ca6 improve activities and desktops WM filtering
Michail Vourlakos c7eb97a879 update WindowInfo to contain desktops/activities
Michail Vourlakos 79ae6a6de4 initial support History for LastActiveWindow
Michail Vourlakos 4ae9b1b91c update LastActiveWindow with signals
Michail Vourlakos c0e3004717 add LastActiveWindow debug records
--in DebugWindow
Michail Vourlakos a0226e1de9 split trackedinfo to general and view
Michail Vourlakos c9ab9a1dbe dont equalize WindowInfo icon and appName
--icon and appName are constly functions and
should be called only when are really needed
Michail Vourlakos 51c11071dd support toggle onAllDesktops for LastActiveWindow
Michail Vourlakos af609ca53f X11:track more LastActiveWindow properties
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
Michail Vourlakos f3eacf169e add actions for LastActiveWindow
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
Michail Vourlakos 342d4a1a00 move window funcionality to lastactivewindow
Michail Vourlakos a03655f176 new heuristic to identify plasma desktop window
Michail Vourlakos 54f1e3576e ignore Desktops under X11
Michail Vourlakos d44809eb25 enable drag dialog-child windows of skiptaskbar
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
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
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
Michail Vourlakos d45ebf9a34 add application name to WindowInformation
Michail Vourlakos 53d24fe2c6 forward LastActiveWindow to QML
Michail Vourlakos e07cee3862 support icon for LastActiveWindow
Michail Vourlakos 25c96d0d3a support isOnAllDesktops for LastActiveWindow
Michail Vourlakos eea213a5c0 add isOnAllDesktops to WindowInformation
Michail Vourlakos 2d2f7b172d add more properties at LastActiveWindow
Michail Vourlakos dbed45b2c7 introduce TrackedInfo and LastActiveWindow
Michail Vourlakos 99ec9cb2fd move WM:Trackers in its own directory
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
Michail Vourlakos 97332cc8cf introduce Display and Icon for WindowInfoWrap
Michail Vourlakos a8a19bb550 support VirtualDesktops for kwayland>=5.52
--This of course needs Plasma>=5.15

BUG: 398106
Michail Vourlakos ebaf81ddd8 remove deprecated code from AbstractWindowInterfa
Michail Vourlakos 48d3728005 REFACTOR:Introduce SchemesTracker for WM
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
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
Michail Vourlakos 945c6e50e2 remove deprecated m_views from AbstractWMInterface
Michail Vourlakos ad788130ab REFACTOR:add WindowSystem namespace
Michail Vourlakos 7b094d7007 dont drag last active window when is minimized
Michail Vourlakos 6248a0ccae refactor:move schemecolors under "wm" folder
Michail Vourlakos 8a99a9249b improvements for !compositing mode
--fixed struts gap for !compositing mode in order
to handle the strange kwin behavior. Kwin under
!compositing removes 1px. from the struts specified
by windows
--plenty of fixes concerning automatic coloring
under !compositing mode