summaryrefslogtreecommitdiffstats
path: root/twin
Commit message (Collapse)AuthorAgeFilesLines
* 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]>
* Desktop file translations:Slávek Banko2020-06-2837-7959/+110
| | | | | | | + 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 <[email protected]>
* Add missing include/link directoriesaneejit12020-06-191-0/+14
| | | | | | | | | | | | | | 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 <[email protected]>
* Fix bad section for FocusStealingPreventionLevel value in twinrc.Slávek Banko2020-04-061-5/+5
| | | | | | This resolves issue #137. Signed-off-by: Slávek Banko <[email protected]>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-303-10/+10
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Redirect some headers noticed by the compilerMatías Fonzo2020-01-271-1/+1
| | | | | | | | | | | | | | [..] 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 <[email protected]>
* Improve German translation and fix some desktop files.Chris2019-12-171-1/+1
| | | | Signed-off-by: Chris <[email protected]>
* Fix and streamline German and other translations in TCC.Chris2019-10-111-1/+2
| | | | | | Credits to Vitaly (Vita_Cell) from IRC for contributing ES and RU translations. Signed-off-by: Chris <[email protected]>
* Fix remaining brandings in tdebase.Chris2019-07-151-1/+1
| | | | Signed-off-by: Chris <[email protected]>
* Add CMakeL10n rules.Slávek Banko2018-12-097-0/+28
| | | | | | Update TIMEZONES list. Signed-off-by: Slávek Banko <[email protected]>
* Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.Michele Calgaro2018-09-256-10/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Add includes to UI files to resolve FTBFSSlávek Banko2018-09-193-50/+13
| | | | Signed-off-by: Slávek Banko <[email protected]>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-174-5/+5
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Update bug reports url to bugs.trinitydesktop.orgSlávek Banko2018-06-302-2/+2
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Avoid using 10bit FBConfigsYuxuan Shui2018-06-241-0/+10
| | | | Fix weird color issue with Mesa 18.0