Commit Graph

196 Commits (30d54139a83e6897c4a9a13a14e2a46d50b849a9)

Author SHA1 Message Date
Michele Calgaro 2f0c2ae7b5
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 9ba68726b5
twin: avoid adding strings from lib subfolders in two .pot files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 014f6d2586
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 0fc56f21d4
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe 83e74d1e55
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 42f97b681b
twin: prevent cursor appearing off-window when untiling while moving
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe bc6893644c
twin: Add opaque tiling option
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Michele Calgaro 7bc43c68b3
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 814bf5fc4f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 22625693f1
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe 0339423ced
twin: Minor code cleanup and refactoring
Refactoring concerns active border code.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe becae3055b
twin: 25% zones for active corners
Added special checks that make corner activation easier: we assume
a 25% zone on the edge of each border where instead of half size
tiling we perform quarter size tiling. The rest 50% is left for
normal half size tiling.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 88ea716029
KWin: rename client libraries twin3_* -> twin_*
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 84ab47055d
Make TWin look for `twin_` libraries
This is now the preferred way of calling the decoration libraries
(in place of `twin3_`). The old names that start with `twin3_` are
still recognized for compatibility reasons.

This resolves issue #351.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 631172e074
kcmtwin: Move Active Borders options into a new tab
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 5b1934dd5d
TWin: Add active corner support to quick tiling
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Mavridis Philippe 31335a04ed
TWin: Active borders and snap tiling
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>
2 years ago
Denis Kozadaev 4d58a4ea8d
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro 8a63033319
TCC twin: add 'shade' to the left mouse button click menu for active windows. This resolves issue #334
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 65356d900d
Remove unnecessary accelerator from .ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
OBATA Akio e23eb42132 twin: fix unwated pointer reference for window ID
Just the ID is required.

Signed-off-by: OBATA Akio <obache@wizdas.com>
3 years ago
Michele Calgaro 3078b5fa12
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 11a496c359
Added checkbox to invert mouse wheel direction in window's titlebar and frame actions.
This resolves issue TDE/tde#64.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 08d0bb03c0
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 2f706891f3
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
aneejit1 036992eec5 Add missing include/link directories
In an environment where not everything is in /usr...

- drkonqi/CMakeLists.txt requires the libr library path to be specified.

- nsplugins/viewer/CMakeLists.txt requires the glib library path to be specified.

- tdm/backend/CMakeLists.txt was missing the include and link directories for libXau and libXDMCP.

- twin/compton-tde/CMakeLists.txt was missing include and link directories for the optionally selected libraries (libconfig, Xinerama, XRandR, OpenGL and PCRE).

Signed-off-by: aneejit1 <aneejit1@gmail.com>
5 years ago
Slávek Banko 587abbad86
Fix bad section for FocusStealingPreventionLevel value in twinrc.
This resolves issue #137.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 8250c8e423
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Matías Fonzo b52ef67d4a
Redirect some headers noticed by the compiler
[..]
In file included from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/common.h:102,
                 from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.h:10,
                 from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.c:12:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
[..]

For reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/pulls/64

Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Chris 7b55ca5987 Improve German translation and fix some desktop files.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 0a32a51059 Fix and streamline German and other translations in TCC.
Credits to Vitaly (Vita_Cell) from IRC for contributing ES and RU translations.

Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 0721f2d3f4 Fix remaining brandings in tdebase.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Slávek Banko b95b665c78
Add CMakeL10n rules.
Update TIMEZONES list.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 0911b4d0ca
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 661ed658b7
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 887cea6320
LIB_QT -> LIB_TQT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko e544c498c0 Update bug reports url to bugs.trinitydesktop.org
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Yuxuan Shui a94535c16e Avoid using 10bit FBConfigs
Fix weird color issue with Mesa 18.0
7 years ago
François Andriot cd2fc7ba91 Fix FTBFS with GCC7
Signed-off-by: François Andriot <francois.andriot@free.fr>
8 years ago
Timothy Pearson 09dce5e19f Fix invalid headers in PNG files and optimize for size 9 years ago
Timothy Pearson 2c901351d3 Clarify window shadow options
Remove incorrect dock shadow dependence on normal window shadows
10 years ago
Timothy Pearson 296f0f444b Add GUI option to control panel shadows
This resolves Bug 2189
10 years ago
Timothy Pearson ec96d63e30 Update all windows when compton settings are reloaded 10 years ago
Timothy Pearson 614d4d45f3 Fix update_compton_tde script 10 years ago
Timothy Pearson da5cf5e5bf Merge compton changes 10 years ago
Timothy Pearson ff6fa6e087 Fix compositor startup failure
Clean up build warnings
10 years ago
Timothy Pearson 01dcde0a04 Fix window control issues introduced in GIT hash 17b142dd
This relates to Bug 2220
10 years ago
Timothy Pearson c15178796e Fix passage of wid pointer to Window parameter in win_determine_greyscale_background
Thanks to Richard Grenville for catching that mistake!
10 years ago
Richard Grenville b02d2a74a5 Fix window fade in 10 years ago
Timothy Pearson 7cf0c0b4b8 Fix kdesktop_lock bad visual appearance due to incorrect focus stealing settings 10 years ago