| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements next peaces of logic:
- If opacity is not completely opaque by default, changing it to opaque
won't result it resetting the flag anymore.
- Also in such a case the X11 property will be set for completely opaque
windows as well. That way we can restore it in case of WM restart.
- On WM initialization we check if the X11 opacity property has value we
would expectto be left behind by previous WM instance and if it does
we won't set the custom_opacity flag.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 04b43be9b261f36edc4b0300a9784ec5dcbe1c52)
|
| |
|
|
|
|
|
|
|
|
| |
Before this the keepAbove() windows were always completely when inactive
regardless whether active windows have some degree of translucency or
not. But as prompt in the config says they should be just treated as
active.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 97e3bd0ca6cdc58c1915038eaf28822a60d0206e)
|
| |
|
|
|
|
|
|
|
|
|
| |
* deduplicate big chunk of code in updateOpacity()
* move logic to get desired opacity according to rules into a dedicated
function (defaultOpacity()).
* Replace floating point arithmetics with pure integer one in function
associated to converting to/from percents.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7a5b6c55a2f750986ede116b8f09bda2588de3a9)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because of this old workaround translucency for inactive windows were
not applied correctly: they were almost always using translucency
settings for active windows.
I don't see any regressions caused by removing it and I can't reproduce
the original bug[1].
[1]: http://bugs.trinitydesktop.org/show_bug.cgi?id=2220
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 264f1faae9d684b38b3c3fea27912a153546e8b9)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also set window's opacity after it's getting managed by twin.
This resolves issue with windows that don't require input get
transparent after move/resize.
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/698
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/699
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit da7db78bfe13860fe8d63654ed4c3427f14f373c)
|
| |
|
|
|
|
|
|
|
|
| |
During discussion it was decided that it would be better to use more
traditional constants for True/False in X11 calls after all.
This effectively fixes-up the changes made by e8fcdbfe9.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit c7d8ac7d97ca9e593be1851ac1cfe4953e545d40)
|
| |
|
|
|
|
|
|
|
|
|
| |
X API calls for some reason were missed in previous commits.
Note: Traditionally X Api uses "True" and "False" definitions, but for
consistency with the rest of code base it would be better to use modern
counterparts.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit e8fcdbfe90d505ea5c8092915abaa07d08422886)
|
| |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
|
| |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
|
| |
|
|
|
|
|
| |
issue #434.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5bdd235fc583f6674581df993165b9e7ae8774c)
|
| |
|
|
|
|
|
| |
Some applications (like xfce4-terminal) try to manage their sizes by requesting the window manager a different size. The WM responds by resizing the window and the application tries once again to adjust its own size. This can lead to a repeated loop of request-resize which results in the application window to either shrink to the minimum allowed size or expand to the display size.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a9bd5b50e9b77b8b360dd3620013a320733139aa)
|
| |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
|
| |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 81ad1f9e3c9d494edc38a7aad96fdcab9d44a795)
|
| |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 100f977221b7319815eb9617f56a067cb0383853)
|
| |
|
|
|
|
|
| |
QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
|
| |
|
|
|
|
|
| |
Refactoring concerns active border code.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit is a squash of the commits of TDE/tdebase#331.
In short, this backports some improvements to existing electric border
functionality from KDE, adds the snap tiling (or aerosnap) feature and
brings rudimentary support for active corners, which will be fully
implemented in a later PR.
The options dialog and the documentation has been updated to reflect
these changes.
Additionally, a new relevant option is introduced: an option for
restoring the original size of maximized/tiled windows when the user
starts dragging them. The option is set to be off by default,
preserving the traditional behaviour of KDE 3.x/TDE.
Last but not least, the term "electric" in relation to borders and
corners is replaced by "active" for clarity to the users.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 31335a04ed9bc01fd3ede33afde40d6f3359f2e9)
|
| |
|
|
|
| |
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8daf1a3cb91b7d8c6e574dd6f5bdb685)
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: François Andriot <francois.andriot@free.fr>
|
| |
|
|
| |
This relates to Bug 2220
|
| |
|
|
|
| |
This relates to Bug 2189
Clean up minor formatting issues
|
| |
|
|
|
|
| |
next available window
This resolves Bug 2189
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Based on KDE GIT commit 8a02a383
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This needs some additional work before it can be enabled
|
| | |
|
| |
|
|
| |
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
|
| | |
|
| |
|