| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
| |
The option has been broken for more than a decade (since replacement of
kompmgr with compton-tde) and it is nontrivial to fix it.
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/706
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
| |
This fixes the issue raised in comments to PR #704[1].
[1]: https://mirror.git.trinitydesktop.org/gitea/gitea/TDE/tdebase/pulls/704#issuecomment-81007
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
| |
* change setOpacity() prototype to receive only opacity.
* rename { setPopupClientOpacity => setPopupClientTransparancy() } to
better reflect what the function does
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
| |
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make signal handlers just set a flag and move all actual logic into the
main loop. A general reminder: it's a UB to have stuff like malloc() in
signal handlers.
This partially reverts some changes made by fbd3a27d6e. Now to reset
compton config the whole session will be recreated from scratch.
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Before that to reload settings compton-tde was using SIGUSR2; and
SIGUSR1 wasn't actully used, but was designated for something wierd.
This commit removes old SIGUSR1 handler and uses SIGUSR1 to reload the
settings instead of SIGUSR2.
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes compton launch on systems with several X11 Screens. And also
in case of multiple sessions for the same user.
Also:
- move the file to tde's proper tmp dir.
- deduplicate some code
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/673
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
| |
`WORK_AROUND_FGLRX` is not defined anywhere in the build system. And the
code under the #ifdefs was broken for decades as `restartOnSigterm` is
not declared, defined or used anywhere.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: rbell <riley.bell@vfemail.net>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: rbell <riley.bell@vfemail.net>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
| |
|
|
|
|
| |
relates to TDE/tdebase#349.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
|
|
| |
tileHorizontally(), tileVertically(), tileGrid() DCOP calls
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
| |
|
|
|
|
| |
resolves issue #455.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
| |
|
|
|
|
|
|
| |
Negative coordinates change the popup menu origins:
* Negative X: origin is right edge instead of left;
* Negative Y: origin is bottom edge instead of top.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
| |
|
|
|
|
|
|
| |
Before it only called slotWindowOperations(), which showed the operations menu of the current window at a preset position, ignoring all arguments passed to showWindowMenuAt.
This commit implpements the correct behaviour of the function which takes all arguments into account.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
| |
|
|
|
|
| |
issue #434.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
| |
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|