Commit Graph

237 Commits (master)

Author SHA1 Message Date
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>
4 years ago
Michele Calgaro 3078b5fa12
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 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>
5 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>
6 years ago
Michele Calgaro 8250c8e423
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Matías Fonzo b52ef67d4a
Redirect some headers noticed by the compiler
[..]
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 <selk@dragora.org>
6 years ago
Chris 7b55ca5987 Improve German translation and fix some desktop files.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Chris 0a32a51059 Fix and streamline German and other translations in TCC.
Credits to Vitaly (Vita_Cell) from IRC for contributing ES and RU translations.

Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Chris 0721f2d3f4 Fix remaining brandings in tdebase.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Slávek Banko b95b665c78
Add CMakeL10n rules.
Update TIMEZONES list.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 0911b4d0ca
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 661ed658b7
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 887cea6320
LIB_QT -> LIB_TQT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko e544c498c0 Update bug reports url to bugs.trinitydesktop.org
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Yuxuan Shui a94535c16e Avoid using 10bit FBConfigs
Fix weird color issue with Mesa 18.0
7 years ago
François Andriot cd2fc7ba91 Fix FTBFS with GCC7
Signed-off-by: François Andriot <francois.andriot@free.fr>
8 years ago
Timothy Pearson 09dce5e19f Fix invalid headers in PNG files and optimize for size 9 years ago
Timothy Pearson 2c901351d3 Clarify window shadow options
Remove incorrect dock shadow dependence on normal window shadows
11 years ago
Timothy Pearson 296f0f444b Add GUI option to control panel shadows
This resolves Bug 2189
11 years ago
Timothy Pearson ec96d63e30 Update all windows when compton settings are reloaded 11 years ago
Timothy Pearson 614d4d45f3 Fix update_compton_tde script 11 years ago
Timothy Pearson da5cf5e5bf Merge compton changes 11 years ago
Timothy Pearson ff6fa6e087 Fix compositor startup failure
Clean up build warnings
11 years ago
Timothy Pearson 01dcde0a04 Fix window control issues introduced in GIT hash 17b142dd
This relates to Bug 2220
11 years ago
Timothy Pearson c15178796e Fix passage of wid pointer to Window parameter in win_determine_greyscale_background
Thanks to Richard Grenville for catching that mistake!
11 years ago
Richard Grenville b02d2a74a5 Fix window fade in 11 years ago
Timothy Pearson 7cf0c0b4b8 Fix kdesktop_lock bad visual appearance due to incorrect focus stealing settings 11 years ago
Timothy Pearson 17b142dd64 Send setActive signal when taking focus in Client::takeFocus
This relates to Bug 2189
Clean up minor formatting issues
11 years ago
Michele Calgaro a7c3b93497 Fixed Twin crashes caused by commit 84d7db0. This resolves bug 2218. 11 years ago
Michele Calgaro 6c5cd5674f Fixed incomplete documentation for handbook in Appearance & Themes -> Window Decorarions. This relates to bug 1850. 11 years ago
Timothy Pearson 0271348b00 Fix twin attempting to load a new compton-tde instance when one is already active 11 years ago
Timothy Pearson 0ae6c2cec5 Fix blur option not being written correctly
Add ability to set desaturated backgrounds from the control center
11 years ago
Timothy Pearson d8287f9787 Rewrite greyscale OpenGL system to use GLSL
Add ability to blend color and greyscale based on window alpha (actual window alpha currently set at 0.5 when blending is enabled)
Reenable greyscale logout effect when compositor is in use
11 years ago
Timothy Pearson f1baae5fff Fix greyscale filter 11 years ago
Timothy Pearson 68cba85373 Fix twin deleting comptontdepidfile when compton-tde already running on startup
Fix long-standing bug in calling desktop lock methods over DCOP from within kdesktop process
11 years ago
Timothy Pearson 3126f2cf71 Reload shadow radius during signal hander fast reconf 11 years ago
Timothy Pearson 3151f8b9d4 Disable shadows in compton-tde by default (i.e. if no configuration file could be found) 11 years ago
Timothy Pearson 534a069ee0 Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdebase 11 years ago
Timothy Pearson 682cf1b950 Fix compton-tde not reloading settings from correct directory after user login 11 years ago
Timothy Pearson 6a2b9ef024 Fix number of textures available to OpenGL greyscale filter 11 years ago
Timothy Pearson a582c6e22d Add optional global/per window greyscale transparency filter to compton-tde 11 years ago
Timothy Pearson 84d7db0195 Call setActive if new focus window is found and set when rotating focus to next available window
This resolves Bug 2189
11 years ago
Timothy Pearson f685dc8a29 Fix improperly sized string buffers in compton pid code 11 years ago
Timothy Pearson f3ee0c93cf Fix another syntax error in the compton-tde config module output 11 years ago
Timothy Pearson 0a8ecfb93b Fix syntax errors in compton-tde configuration module
Remove obsolete kompmgr
11 years ago
Timothy Pearson 154df4875e Minor update to compositor defaults 11 years ago
Timothy Pearson 9b9b436ba8 Write compton-tde pid file to tmp
This resolves Bug 887
11 years ago
Timothy Pearson cc05f1cba1 Add tooltip fade/shadow configuration to twin compositing options 11 years ago
Timothy Pearson 586eb3bc1d Remove extraneous PID debugging messages from compton-tde
This resolves Bug 645
11 years ago
Timothy Pearson 4527039a04 Add compositor option to enable/disable blurring of transparent window backgrounds 11 years ago
Timothy Pearson d9dd06564f Fix stupid mistake in previous commit 11 years ago
Timothy Pearson a3a88afd2e Fix broken window fade-in
Add additional fade debugging
Add separate configuration option for menu shadows
Fix up default shadow settings in configuration dialogs
11 years ago
Daniel Hahler a2ee4721b6 Add DEBUG_FADE
This adds printf_dbgf statements to debug issues with fading.
11 years ago
Richard Grenville ce4f259946 Bring shadow size and location in line with TDE's original xcompmgr compositor 11 years ago
Timothy Pearson 5bb5839ff7 Fix compilation errors from changed compton API 11 years ago
Timothy Pearson 8a7c183152 Add semi-automated update script 11 years ago
Timothy Pearson d74fed9b65 Merge remote-tracking branch 'compton-update/master'
Conflicts:
	twin/compton-tde/common.h
	twin/compton-tde/compton.c
	twin/compton-tde/opengl.c
11 years ago
Timothy Pearson 50b6f1f60f Fix exec icon location and bring it into XDG compliance 11 years ago
Timothy Pearson cce4a56a19 Fix remaining missing semicolons at end of Keywords strings 11 years ago
Timothy Pearson b9637c7590 Revert "Fix remaining missing semicolons at end of Keywords strings"
This reverts commit fd2369a8f0.
11 years ago
Timothy Pearson fd2369a8f0 Fix remaining missing semicolons at end of Keywords strings 11 years ago
Timothy Pearson 891da4b83e Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase 11 years ago
Timothy Pearson 0c11ace605 Fix missing semicolons at end of Keywords strings 11 years ago
François Andriot a6d7fd775b Fix FTBFS on openbsd because conflicting declaration in twin compton
Signed-off-by: François Andriot <francois.andriot@free.fr>"
11 years ago
Timothy Pearson aa8b192b5e Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance 11 years ago
Timothy Pearson ab197a37e3 Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance 11 years ago
Timothy Pearson 064f8056e2 Bring up, down, top, and bottom icons into XDG compliance 11 years ago
François Andriot 01d5f3ea4a Fix FTBFS because missing header in twin utils 11 years ago
Timothy Pearson 24db855178 Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications 11 years ago
Timothy Pearson ee9dade9cf Fix Keywords separators to match XDG desktop specifications 11 years ago
Timothy Pearson 0014712b08 Add handbookSection support to tabbed "Internet & Network" TDEControl modules
This relates to Bug 1850
11 years ago
Timothy Pearson 88a2e25514 Add mechanism by which sections of relevant docbooks may be opened automatically based on active tab in TDECModule
Fix up several tabbed TDEControl modules to use this mechanism
Fix a couple of docbooks with missing section IDs
This relates to Bug 1850
11 years ago
Slávek Banko d7235b31b1 twin/compton: make CONFIG_XSYNC autoconfigurable to fix FTBFS with older libXext versions which doesn't provide XSyncFence 12 years ago
Alexander Golubev 7c55134dee twin/compton-tde: make XRandR support optional in compot-tde 12 years ago
Alexander Golubev 30252262ce Move the Xinerama test to main ConfigureChecks.cmake 12 years ago
Alexander Golubev 394545c24c twin/compton-tde: transparent pass TDE build-time configure options to compot-tde 12 years ago
Alexander Golubev 3c75381e05 Remove useless cmake configuration options WITH_XEXT and WITH_XDAMAGE 12 years ago
Timothy Pearson 98f8df6427 Fix compton-tde FTBFS on older systems 12 years ago
Timothy Pearson 8083ca83ae Build compton-tde 12 years ago
Timothy Pearson 0f7f449bfc Merge working compton-tde branch 12 years ago
Timothy Pearson fb41c5018b Move sources to correct directory 12 years ago
Timothy Pearson 24e34ad989 Add basic support for a modified compton compositor instead of the old buggy kompmgr
Update additional Xorg atom names
12 years ago
Timothy Pearson 39cbbdb160 Rename TDE-specific atoms to avoid stomping on KDE atom names 12 years ago
Michele Calgaro 713c0a27e1 Move "Show Desktop" icon from Settings to Utility category.
This resolves bug 1903 and at the same time leaves the icon available to users.
Users can now even add this icon to a panel if they wish.
12 years ago
Darrell Anderson 98bc869973 Prevent Show Desktop from appearing in Settings->Desktop submenu.
Show Desktop is not a configurable kcontrol module.
12 years ago
Slávek Banko 1f3832a136 Removed unnecessary dependency on dbus-tqt and dbus-1-tqt 12 years ago