summaryrefslogtreecommitdiffstats
path: root/twin
Commit message (Collapse)AuthorAgeFilesLines
* twin compton: use libpcre2 instead of libpcreMichele Calgaro2024-08-187-65/+51
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2bc7176522c8cb2b154894312e2687686d7885d8)
* TWin, Kicker: Add icons for tiling menusMavridis Philippe2024-08-0411-26/+17
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 66ebe21d5ef4cbeb0983d2456833f3e24fe44f0a)
* Add support for window tiling to the taskbar and window's popup menus. This ↵Michele Calgaro2024-08-042-1/+41
| | | | | | | relates to TDE/tdebase#349. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4cd5817775a7e3618081bfed788f361307cfef41)
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-0522-28/+28
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f)
* twin: add tileWindowToBorder() and rename previously introduced ↵Michele Calgaro2024-03-295-19/+30
| | | | | | | tileHorizontally(), tileVertically(), tileGrid() DCOP calls Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cc88c98f3884e8446e5cce409fb6d8e6c87b2c96)
* TWin: add tileHorizontally(), tileVertically(), tileGrid() DCOP callsMavridis Philippe2024-03-295-0/+58
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 7482fe22830ce974a15e3a132dcc3ac6cee1a65f)
* Fix twin crash when starting with 'Switch desktop' option set. ThisMichele Calgaro2024-03-112-56/+76
| | | | | | | resolves issue #455. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7e7c3b4d5f4d2793eff2edb278da4bee29097e04)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2d7d2122cf33aa713cebef95981305039c798003)
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-042-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0d9263f836b892b03742c494bd236d57b63ebb19)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-1632-374/+374
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* Replace various '#define' strings - part 6Michele Calgaro2023-12-262-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
* TWin: Add DCOP method showWindowMenu(wid) for default menu positionMavridis Philippe2023-12-213-2/+13
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit ecd60bc6a5f5181bb5013bea114fae5d8efaab47)
* 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 <mavridisf@gmail.com> (cherry picked from commit 6b30fb07918385ab02a97c27df5e3e2954f03487)
* 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 <mavridisf@gmail.com> (cherry picked from commit 6c0d9ec42e6c08afe9235995f6b19c4c72606aa8)
* twin: use separate bit to inhibit configure request messages. This resolves ↵Michele Calgaro2023-12-134-3/+5
| | | | | | | issue #434. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f5bdd235fc583f6674581df993165b9e7ae8774c)
* Replaced various '#define' with actual strings - part 5Michele Calgaro2023-12-053-10/+10
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1390bece9a81780610a9aee6f7d543f72bf57d1a)
* Replace 'Event' #define stringsMichele Calgaro2023-12-026-23/+23
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8aea8afbc5fcc3bfd0d6234bf91436cbb290ed43)
* twin: makes sure to notify an application on resizing events so that the ↵Michele Calgaro2023-12-021-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 <michele.calgaro@yahoo.it> (cherry picked from commit 5590077e66774b629235516744993014360c3d25)
* 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 <michele.calgaro@yahoo.it> (cherry picked from commit a9bd5b50e9b77b8b360dd3620013a320733139aa)
* Replaced various '#define' with actual strings - part 4Michele Calgaro2023-11-261-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7)
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-254-34/+34
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
* Replaced time related '#define' with actual stringsMichele Calgaro2023-11-239-40/+40
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 81ad1f9e3c9d494edc38a7aad96fdcab9d44a795)
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-217-13/+13
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 100f977221b7319815eb9617f56a067cb0383853)
* Replace Qt with TQtMichele Calgaro2023-11-145-6/+6
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-258-17/+17
| | | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
* twin: replace three dot ellipsis with equally spaced ellipsisWantao Liu2023-09-176-11/+11
| | | | | Signed-off-by: Wantao Liu <vantao@aosc.io> (cherry picked from commit ecddb0fb6c027ef4610b09aa57142bf5024cd288)
* twin: fix broken functionality introduced in recent commitsMichele Calgaro2023-09-153-3/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5fde4286063666e491dcabb7f9e4c22ca6ed963c)
* Fix FTBFS caused by commit dc36e4bfMichele Calgaro2023-09-143-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 22d88554731788bd413c1930ee0e13ef1ab30b3a)
* Replace various tqtinterface's TQ_* defines with actual typesMichele Calgaro2023-09-122-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2f0c2ae7b5a9144566dad971c4231709d19ece7a)
* twin: avoid adding strings from lib subfolders in two .pot filesMichele Calgaro2023-09-124-0/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9ba68726b5f486af09b7e1d6dd3cd2a8394e2ea4)
* Drop USE_TQT4 codeMichele Calgaro2023-08-312-8/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 014f6d2586905e03681aa6fb9a85c2c8190e53f4)
* Drop TQT_BASE_OBJECT* definesMichele Calgaro2023-08-187-8/+8
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
* twin: update Qt:: -> TQt::Mavridis Philippe2023-08-1238-234/+234
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 83e74d1e550db6a814ec252968b601f6a9b14f9b)
* twin: prevent cursor appearing off-window when untiling while movingMavridis Philippe2023-08-121-0/+12
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 42f97b681bd0a2bab49875cbcae5cacef4dfa7c2)
* twin: Add opaque tiling optionMavridis Philippe2023-08-127-123/+163
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit bc6893644c1ae2dc82c9a30b5c1d6cb3d0f193e1)
* Drop TQT_TQ*_OBJECT definesMichele Calgaro2023-08-084-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-2036-52/+52
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84)
* 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 <michele.calgaro@yahoo.it> (cherry picked from commit 22625693f124aae09863f4d33e30b625a96c3557)
* twin: Minor code cleanup and refactoringMavridis Philippe2023-07-1010-217/+205
| | | | | | | Refactoring concerns active border code. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 0339423ced3db53f9155c6c174d9508517358f9c)
* 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 <mavridisf@gmail.com> (cherry picked from commit becae3055bfd5da737f63d5558695030db91a3a9)
* kcmtwin: Move Active Borders options into a new tabMavridis Philippe2023-07-046-157/+246
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 631172e074ee702ff468b81e3a5c956515a2061a)
* TWin: Add active corner support to quick tilingMavridis Philippe2023-07-048-116/+180
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 5b1934dd5dc3245fcfd4a771fd45ed30dcaace54)
* 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 <mavridisf@gmail.com> (cherry picked from commit 31335a04ed9bc01fd3ede33afde40d6f3359f2e9)
* SunOS specific patchesDenis Kozadaev2023-05-232-0/+33
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 4d58a4ea8daf1a3cb91b7d8c6e574dd6f5bdb685)
* 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 <michele.calgaro@yahoo.it> (cherry picked from commit 8a630333192980368e8c245962e29684f846b161)
* Remove unnecessary accelerator from .ui files.Michele Calgaro2022-09-073-27/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* twin: fix unwated pointer reference for window IDOBATA Akio2022-01-131-1/+1
| | | | | | Just the ID is required. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-051-3/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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 <michele.calgaro@yahoo.it>
* Removed code formatting modelines.Michele Calgaro2020-09-2231-67/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>