summaryrefslogtreecommitdiffstats
path: root/twin
Commit message (Collapse)AuthorAgeFilesLines
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-0522-28/+28
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* twin: add tileWindowToBorder() and rename previously introduced ↵Michele Calgaro2024-03-295-19/+30
| | | | | | tileHorizontally(), tileVertically(), tileGrid() DCOP calls Signed-off-by: Michele Calgaro <[email protected]>
* TWin: add tileHorizontally(), tileVertically(), tileGrid() DCOP callsMavridis Philippe2024-03-295-0/+58
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* Fix twin crash when starting with 'Switch desktop' option set. ThisMichele Calgaro2024-03-112-56/+76
| | | | | | resolves issue #455. Signed-off-by: Michele Calgaro <[email protected]>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-032-4/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-1632-374/+374
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-262-2/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* TWin: Add DCOP method showWindowMenu(wid) for default menu positionMavridis Philippe2023-12-213-2/+13
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* TWin showWindowMenu: add support for negative coordinatesMavridis Philippe2023-12-211-10/+13
| | | | | | | | 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 <[email protected]>
* twin: fix showWindowMenuAt(...) DCOP callMavridis Philippe2023-12-211-3/+5
| | | | | | | | 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 <[email protected]>
* twin: use separate bit to inhibit configure request messages. This resolves ↵Michele Calgaro2023-12-134-3/+5
| | | | | | issue #434. Signed-off-by: Michele Calgaro <[email protected]>
* Replaced various '#define' with actual strings - part 5Michele Calgaro2023-12-053-10/+10
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace 'Event' #define stringsMichele Calgaro2023-12-026-23/+23
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* twin: makes sure to notify an application on resizing events so that the ↵Michele Calgaro2023-12-011-0/+5
| | | | | | 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 <[email protected]>
* Fix unwanted window resizing. This resolves issue TDE/tde#57.Michele Calgaro2023-11-264-1/+14
| | | | | | 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 <[email protected]>
* Replaced various '#define' with actual strings - part 4Michele Calgaro2023-11-261-2/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-244-34/+34
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replaced time related '#define' with actual stringsMichele Calgaro2023-11-239-40/+40
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-217-13/+13
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace Qt with TQtMichele Calgaro2023-11-135-6/+6
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* TWin: Fix loading of window decoration configuration librariesMavridis Philippe2023-10-041-4/+1
| | | | | | Accidentally broken by commit 84ab47055d. Signed-off-by: Mavridis Philippe <[email protected]>
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-258-17/+17
| | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <[email protected]>
* twin: replace three dot ellipsis with equally spaced ellipsisWantao Liu2023-09-176-11/+11
| | | | Signed-off-by: Wantao Liu <[email protected]>
* twin: fix broken functionality introduced in recent commitsMichele Calgaro2023-09-153-3/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS caused by commit 9ba68726Michele Calgaro2023-09-143-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace various tqtinterface's TQ_* defines with actual typesMichele Calgaro2023-09-122-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* twin: avoid adding strings from lib subfolders in two .pot filesMichele Calgaro2023-09-124-0/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Drop USE_TQT4 codeMichele Calgaro2023-08-272-8/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Drop TQT_BASE_OBJECT* definesMichele Calgaro2023-08-187-8/+8
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* twin: update Qt:: -> TQt::Mavridis Philippe2023-08-1238-234/+234
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* twin: prevent cursor appearing off-window when untiling while movingMavridis Philippe2023-08-121-0/+12
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* twin: Add opaque tiling optionMavridis Philippe2023-08-127-123/+163
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* Drop TQT_TQ*_OBJECT definesMichele Calgaro2023-08-084-4/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-2036-52/+52
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the ↵Michele Calgaro2023-07-131-1/+1
| | | | | | merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro <[email protected]>
* twin: Minor code cleanup and refactoringMavridis Philippe2023-07-1010-217/+205
| | | | | | Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <[email protected]>
* twin: 25% zones for active cornersMavridis Philippe2023-07-101-19/+48
| | | | | | | | | 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 <[email protected]>
* KWin: rename client libraries twin3_* -> twin_*Mavridis Philippe2023-07-0738-99/+83
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* Make TWin look for `twin_` librariesMavridis Philippe2023-07-072-6/+3
| | | | | | | | | | 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 <[email protected]>
* kcmtwin: Move Active Borders options into a new tabMavridis Philippe2023-07-046-157/+246
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* TWin: Add active corner support to quick tilingMavridis Philippe2023-07-048-116/+180
| | | | Signed-off-by: Mavridis Philippe <[email protected]>
* TWin: Active borders and snap tilingMavridis Philippe2023-05-2712-421/+807
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* SunOS specific patchesDenis Kozadaev2023-05-222-0/+33
| | | | Signed-off-by: Denis Kozadaev <[email protected]>
* TCC twin: add 'shade' to the left mouse button click menu for active ↵Michele Calgaro2023-04-271-18/+15
| | | | | | windows. This resolves issue #334 Signed-off-by: Michele Calgaro <[email protected]>
* Remove unnecessary accelerator from .ui files.Michele Calgaro2022-09-073-27/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* twin: fix unwated pointer reference for window IDOBATA Akio2022-01-131-1/+1
| | | | | | Just the ID is required. Signed-off-by: OBATA Akio <[email protected]>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-051-3/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added checkbox to invert mouse wheel direction in window's titlebar and ↵Michele Calgaro2021-08-194-51/+78
| | | | | | | | frame actions. This resolves issue TDE/tde#64. Signed-off-by: Michele Calgaro <[email protected]>
* Removed code formatting modelines.Michele Calgaro2020-09-2231-67/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>