Commit Graph

219 Commits (fb0f60cc2e2ad4bde5150582395b2c61ff40d5fe)

Author SHA1 Message Date
Michele Calgaro beb289c9a9
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 026828840f)
10 months ago
Michele Calgaro 577b0ec106
twin: add tileWindowToBorder() and rename previously introduced tileHorizontally(), tileVertically(), tileGrid() DCOP calls
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cc88c98f38)
11 months ago
Mavridis Philippe 62ce84146e
TWin: add tileHorizontally(), tileVertically(), tileGrid() DCOP calls
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 7482fe2283)
11 months ago
Michele Calgaro b81117094f
Fix twin crash when starting with 'Switch desktop' option set. This
resolves issue #455.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e7c3b4d5f)
12 months ago
Michele Calgaro b2fcd6f201
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2d7d2122cf)
1 year ago
Michele Calgaro 28b6fb9bca
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0d9263f836)
1 year ago
Michele Calgaro 1c65be77cd
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911)
1 year ago
Michele Calgaro 0e5ef873f0
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c4a6487c82)
1 year ago
Mavridis Philippe 6c06794072
TWin: Add DCOP method showWindowMenu(wid) for default menu position
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit ecd60bc6a5)
1 year ago
Mavridis Philippe 8447a9a65c
TWin showWindowMenu: add support for negative coordinates
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>
(cherry picked from commit 6b30fb0791)
1 year ago
Mavridis Philippe e67f30eb1f
twin: fix showWindowMenuAt(...) DCOP call
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>
(cherry picked from commit 6c0d9ec42e)
1 year ago
Michele Calgaro 9c73915ca7
twin: use separate bit to inhibit configure request messages. This resolves issue #434.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5bdd235fc)
1 year ago
Michele Calgaro 3f84b83e22
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1390bece9a)
1 year ago
Michele Calgaro b19e4cab88
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8aea8afbc5)
1 year ago
Michele Calgaro 6b5d95d534
twin: makes sure to notify an application on resizing events so that the window contents can get updated. This is particularly important for Virtual Terminal based application. This resolves issue TDE/tde#57 and issue #384.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5590077e66)
1 year ago
Michele Calgaro df3439920c
Fix unwanted window resizing. This resolves issue TDE/tde#57.
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 a9bd5b50e9)
1 year ago
Michele Calgaro 71b2eaec09
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 82c1dbe490)
1 year ago
Michele Calgaro 139b166e1a
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd3)
1 year ago
Michele Calgaro bf17c1e940
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 81ad1f9e3c)
1 year ago
Michele Calgaro 7272c289be
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 100f977221)
1 year ago
Michele Calgaro a49b0e2c53
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b965cbac5b)
1 year ago
Michele Calgaro 0bfe293635
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d15989)
1 year ago
Wantao Liu d6b95eea5a
twin: replace three dot ellipsis with equally spaced ellipsis
Signed-off-by: Wantao Liu <vantao@aosc.io>
(cherry picked from commit ecddb0fb6c)
1 year ago
Michele Calgaro 68cfcb9af6
twin: fix broken functionality introduced in recent commits
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5fde428606)
1 year ago
Michele Calgaro 95cc8dacd3
Fix FTBFS caused by commit dc36e4bf
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 22d8855473)
1 year ago
Michele Calgaro 9f1307134d
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2f0c2ae7b5)
1 year ago
Michele Calgaro dc36e4bfdb
twin: avoid adding strings from lib subfolders in two .pot files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9ba68726b5)
1 year ago
Michele Calgaro 8e1816900b
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 014f6d2586)
2 years ago
Michele Calgaro 5cfda35559
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0fc56f21d4)
2 years ago
Mavridis Philippe 7c193f33d7
twin: update Qt:: -> TQt::
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 83e74d1e55)
2 years ago
Mavridis Philippe 8a662b46fa
twin: prevent cursor appearing off-window when untiling while moving
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 42f97b681b)
2 years ago
Mavridis Philippe a64c483848
twin: Add opaque tiling option
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit bc6893644c)
2 years ago
Michele Calgaro 196b1629b9
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7bc43c68b3)
2 years ago
Michele Calgaro 5c10665b72
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 814bf5fc4f)
2 years ago
Michele Calgaro 76fa61f90d
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>
(cherry picked from commit 22625693f1)
2 years ago
Mavridis Philippe bb44b9863c
twin: Minor code cleanup and refactoring
Refactoring concerns active border code.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 0339423ced)
2 years ago
Mavridis Philippe 84c4397644
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>
(cherry picked from commit becae3055b)
2 years ago
Mavridis Philippe 93469d251f
kcmtwin: Move Active Borders options into a new tab
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 631172e074)
2 years ago
Mavridis Philippe e4d35cab44
TWin: Add active corner support to quick tiling
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 5b1934dd5d)
2 years ago
Mavridis Philippe ad771450f3
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>
(cherry picked from commit 31335a04ed)
2 years ago
Denis Kozadaev d984205f2e
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8d)
2 years ago
Michele Calgaro 218009e6d6
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>
(cherry picked from commit 8a63033319)
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