1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-20 18:50:15 +03:00

36 Commits

Author SHA1 Message Date
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.
2019-08-26 16:30:48 +03:00
Michail Vourlakos
42d94df47f introduce windowCanBeMaximized
--trying to avoid interacting with windows
that DO NOT allow it
2019-07-31 16:44:43 +03:00
Michail Vourlakos
59f1d72fa3 improve canBeDragged implementation
--follow libtaskmanager case to support this
2019-07-31 16:34:05 +03:00
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
2019-07-23 12:08:58 +03:00
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 )
2019-07-23 00:17:46 +03:00
Michail Vourlakos
3a465782e1 wayland:improve latte windows id discovering 2019-07-15 19:15:53 +03:00
Michail Vourlakos
c85d24ac37 use WM:IgnoredWindows infrastructure for wayland
--improvements for IgnoredWindows infrastructure
all over the relevant classes
2019-07-15 14:53:40 +03:00
Michail Vourlakos
5546a237a2 update struts propertly on wayland startup
BUG: 408977
2019-06-24 17:27:42 +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
59a4d63ca6 improve activities and desktops WM filtering 2019-06-08 00:31:30 +03:00
Michail Vourlakos
51c11071dd support toggle onAllDesktops for LastActiveWindow 2019-06-02 01:57:03 +03:00
Michail Vourlakos
f3eacf169e add actions for LastActiveWindow 2019-06-02 01:16:44 +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
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
25c96d0d3a support isOnAllDesktops for LastActiveWindow 2019-05-31 17:44:04 +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
ad788130ab REFACTOR:add WindowSystem namespace 2019-05-11 15:47:22 +03:00
Michail Vourlakos
7b094d7007 dont drag last active window when is minimized 2019-05-11 09:55:06 +03:00
Michail Vourlakos
c735792c30 REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03:00
Michail Vourlakos
555fc966b0 activate config windows under wayland environment
--add heuristic method in wayland interface in order to
return the internal id of a window by using its appId
and its geometry
2019-04-01 23:50:25 +03:00
Michail Vourlakos
83b5b2323a fix calculations for left subtracked mask 2019-03-09 11:50:16 +02:00
Michail Vourlakos
0bb2c14017 set keepAbove for all Latte windows under wayland 2019-03-08 19:51:29 +02:00
Michail Vourlakos
14afda3dc1 under wayland recognize plasma shell better
--the plasma desktop is now identified as the
org.kde.plasmashell window that has the size
of a QScreen->geometry()
2019-02-11 19:40:24 +02:00
Michail Vourlakos
68805c4a98 ignore latte windows from wm tracking 2019-02-11 18:40:13 +02:00
Steffen Coenen
56cfb42734 Fix autohide behaviour after dragging a panel
Summary:
Currently, when dragging a window from the panel to move it, it breaks the autohide behaviour of active docks/panels. This change imitates a release event on X11 to circumvent these problems.

BUG: 403104

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18194
2019-01-14 18:50:10 +02:00
Michail Vourlakos
57ab5f3b3f refactor:move screenedgewindow to ViewPart:: 2018-12-09 00:15:17 +02:00
Michail Vourlakos
1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types 2018-12-07 18:55:35 +02:00
Michail Vourlakos
f2a90aafe6 refactor:rename dock term to view term 2018-12-06 16:09:42 +02:00
Michail Vourlakos
25d9d4ed17 refactor:rename DockCorona to Latte::Corona 2018-12-06 14:35:34 +02:00
Michail Vourlakos
39368a41de REFACTOR:rename DockView to Latte::View
--move all classes related to Latte::View
from dock/ folder to view/ folder
2018-12-06 12:15:58 +02:00
Michail Vourlakos
2099b8ed36 add headers comments for all c++ files 2018-12-02 02:05:52 +02:00
Michail Vourlakos
deefa6f32e REFACTOR:move wm related classes to wm folder 2018-12-02 01:29:18 +02:00