Commit Graph

225 Commits (52814396afa42cdf4905bc54593868d5f07a63fb)

Author SHA1 Message Date
Michele Calgaro 2bc7176522
twin compton: use libpcre2 instead of libpcre
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Mavridis Philippe 66ebe21d5e
TWin, Kicker: Add icons for tiling menus
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
7 months ago
Michele Calgaro 4cd5817775
Add support for window tiling to the taskbar and window's popup menus. This relates to TDE/tdebase#349.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 026828840f
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro cc88c98f38
twin: add tileWindowToBorder() and rename previously introduced tileHorizontally(), tileVertically(), tileGrid() DCOP calls
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Mavridis Philippe 7482fe2283
TWin: add tileHorizontally(), tileVertically(), tileGrid() DCOP calls
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
11 months ago
Michele Calgaro 7e7c3b4d5f
Fix twin crash when starting with 'Switch desktop' option set. This
resolves issue #455.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
12 months ago
Michele Calgaro 2d7d2122cf
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 0d9263f836
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro a4241b7911
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro c4a6487c82
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Mavridis Philippe ecd60bc6a5
TWin: Add DCOP method showWindowMenu(wid) for default menu position
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Mavridis Philippe 6b30fb0791
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>
1 year ago
Mavridis Philippe 6c0d9ec42e
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>
1 year ago
Michele Calgaro f5bdd235fc
twin: use separate bit to inhibit configure request messages. This resolves issue #434.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 1390bece9a
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 8aea8afbc5
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 5590077e66
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>
1 year ago
Michele Calgaro a9bd5b50e9
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>
1 year ago
Michele Calgaro 82c1dbe490
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 36f2e08fd3
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 81ad1f9e3c
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 100f977221
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro b965cbac5b
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Mavridis Philippe 9e7b4bb1d6
TWin: Fix loading of window decoration configuration libraries
Accidentally broken by commit 84ab47055d.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Michele Calgaro 33c7d15989
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Wantao Liu ecddb0fb6c
twin: replace three dot ellipsis with equally spaced ellipsis
Signed-off-by: Wantao Liu <vantao@aosc.io>
1 year ago
Michele Calgaro 5fde428606
twin: fix broken functionality introduced in recent commits
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 22d8855473
Fix FTBFS caused by commit 9ba68726
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
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