Michail Vourlakos
63187ce5b4
remove Latte library as requirement
...
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
5 years ago
Michail Vourlakos
6e4779e6ab
require new official Latte library
5 years ago
Michail Vourlakos
ac3ccb5b98
try to support a public liblatte library
5 years ago
Michail Vourlakos
5073939335
REFACTOR:split up and refactor liblatte2 and types
...
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types
BUG:420210
5 years ago
Michail Vourlakos
ce245ab253
ignore some windows in LastActiveWindow
...
--LastActiveWindow is providing information to
applets thus special windows that contain
the following flags:
skipTaskBar AND (skipPager OR skipSwitcher)
these windows can be totally ignored.
In such window case the LastActiveWindow used
are provided.
BUG:419384
5 years ago
Michail Vourlakos
0d29114664
whitelist krunner and yakuake windows
5 years ago
Michail Vourlakos
4d3b5e86e8
major refrest for wm(s), remove consts
...
--introduce also windows whitelist that can
be used in order to force tracking in some
windows
5 years ago
Michail Vourlakos
efaaf70297
x11: do not track popups at all cases
5 years ago
Michail Vourlakos
2db252b769
fix warnings
5 years ago
Michail Vourlakos
d3b5e2c4eb
remove gtk_frame_extents from window geometries
...
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment
BUG:417856
5 years ago
Michail Vourlakos
b82d9dfdbe
x11:validate windows added before accepting them
...
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
5 years ago
Michail Vourlakos
4df139f34f
ignore ksmserver fullscreen windows
...
--this way fullscreen windows from ksmserver
such as LogOut are totally ignored from Latte
for coloring,placement etc.
5 years ago
Michail Vourlakos
d5033d1bed
improve latte wayland ids discovery
...
--introduce new waylad ids discovery implementation
for View::Positioner
5 years ago
Michail Vourlakos
5363433b00
ignore fullscreen windows from Plasma and Latte
...
--drop isPlasmaDesktop flag for windows and use the
new wm approach for plasmaIgnoredWindows
5 years ago
Michail Vourlakos
4b1580c0bd
move View::HelperWindows in their own directory
...
--at the same time create a base SubWindow class for
all window helpers used by Views. Now ScreenEdgeGhostWindow
and FloatingGapWindow use the same window implementation
5 years ago
Michail Vourlakos
b681836232
expose WindowAbilities from LastActiveWindow API
...
--expose isClosable,isMinimizable, isMaximizable etc..
through the LastActiveWindow API for applets or containments
to use
5 years ago
Michail Vourlakos
e0e6f5f6b3
improve semantics for WM::setActiveEdge
5 years ago
Michail Vourlakos
c88329d278
x11:improve experience for Windows Always Cover
...
--simplify also some parts from windows calling window
manager values
5 years ago
Michail Vourlakos
d9e18794c8
simplify keepabove/below calling
...
--start a bit to work with "Windows Always Cover"
visibility mode
5 years ago
Michail Vourlakos
3554c4a006
improve some functionality used
5 years ago
Michail Vourlakos
72777d18c1
add functionality to latte window manager
...
--the Latte window manager has gained now
functions in order to set the window flags
properly and to update KeepAbove/KeepBelow
flags for windows
5 years ago
Michail Vourlakos
6b5f4a952a
dont drag/maximize windows from different desktops
...
--the last active window codepath provides a way to
drag and maximize/restore the last active window. This
should not occur when the last active window is not
in the current desktop and activity.
BUG:414089
FIXED-IN:0.9.5
5 years ago
Michail Vourlakos
f63200988e
ignore Plasma panels in Latte heuristics
5 years ago
Michail Vourlakos
a946e485e0
indent fixes
5 years ago
Michail Vourlakos
153f5dab27
remove obsolete draggingStarted signals/slots
...
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
6 years ago
Michail Vourlakos
42d94df47f
introduce windowCanBeMaximized
...
--trying to avoid interacting with windows
that DO NOT allow it
6 years ago
Michail Vourlakos
59f1d72fa3
improve canBeDragged implementation
...
--follow libtaskmanager case to support this
6 years ago
Michail Vourlakos
fcee8d98cc
x11 fixes for invalid windows
...
--when a window is stacked back to its parent window
for example the firefox case (dragging a tab to create
a new firefox window and redrag it afterwards to the
main window) the wm::windows array had inconsistent
window records.
--This is fixed and also any X11 transient changed signals
are not blocked for windowChanged signals
6 years ago
Michail Vourlakos
964f2282f2
consider main window also for dodge active
...
--if the main window is not active but is
touching the dock then the dock is not shown
for dodge active state
--fix the cleanup code in order to cleanup
windows that have a ghost wid ( 0 )
6 years ago
Michail Vourlakos
79f392723e
wm:support ignored windows
...
--x11 implementation is in place and wayland
case must be updated accordingly
6 years ago
Michail Vourlakos
91a9e7c0c5
improvements for effects area and painting
6 years ago
Michail Vourlakos
df3118fc98
Revert "remove workaround for X11 struts !compositing gap"
...
This reverts commit 37b708ef52
.
6 years ago
Michail Vourlakos
37b708ef52
remove workaround for X11 struts !compositing gap
6 years ago
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
6 years ago
Michail Vourlakos
d312598f60
provide builtin Activity,VDs switching
...
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
6 years ago
Michail Vourlakos
59a4d63ca6
improve activities and desktops WM filtering
6 years ago
Michail Vourlakos
51c11071dd
support toggle onAllDesktops for LastActiveWindow
6 years ago
Michail Vourlakos
af609ca53f
X11:track more LastActiveWindow properties
...
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
6 years ago
Michail Vourlakos
f3eacf169e
add actions for LastActiveWindow
6 years ago
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
6 years ago
Michail Vourlakos
a03655f176
new heuristic to identify plasma desktop window
6 years ago
Michail Vourlakos
54f1e3576e
ignore Desktops under X11
6 years ago
Michail Vourlakos
d44809eb25
enable drag dialog-child windows of skiptaskbar
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Michail Vourlakos
25c96d0d3a
support isOnAllDesktops for LastActiveWindow
6 years ago
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
6 years ago
Michail Vourlakos
97332cc8cf
introduce Display and Icon for WindowInfoWrap
6 years ago
Michail Vourlakos
ebaf81ddd8
remove deprecated code from AbstractWindowInterfa
6 years ago