diff options
author | Mavridis Philippe <[email protected]> | 2023-06-22 19:34:06 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2023-07-04 15:28:28 +0300 |
commit | e4d35cab44f278b3f3a82906a55c06a150da0ae5 (patch) | |
tree | e73ccdea23e05fd5fd369ded0af9e7793ed76caa /twin/options.cpp | |
parent | 87b9269efb6aa965c1979972be7bdb045ef1ea58 (diff) | |
download | tdebase-e4d35cab44f278b3f3a82906a55c06a150da0ae5.tar.gz tdebase-e4d35cab44f278b3f3a82906a55c06a150da0ae5.zip |
TWin: Add active corner support to quick tiling
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 5b1934dd5dc3245fcfd4a771fd45ed30dcaace54)
Diffstat (limited to 'twin/options.cpp')
-rw-r--r-- | twin/options.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/twin/options.cpp b/twin/options.cpp index 3d237255b..6a0963910 100644 --- a/twin/options.cpp +++ b/twin/options.cpp @@ -136,6 +136,7 @@ unsigned long Options::updateSettings() if (active_border_delay == -1) { active_border_delay = config->readNumEntry("ElectricBorderDelay", 150); } + active_border_distance = config->readNumEntry("ActiveBorderDistance", 10); OpTitlebarDblClick = windowOperation( config->readEntry("TitlebarDoubleClickCommand", "Shade"), true ); d->OpMaxButtonLeftClick = windowOperation( config->readEntry("MaximizeButtonLeftClickCommand", "Maximize"), true ); @@ -397,6 +398,11 @@ int Options::activeBorderDelay() return active_border_delay; } +int Options::borderActivationDistance() + { + return active_border_distance; + } + bool Options::checkIgnoreFocusStealing( const Client* c ) { return ignoreFocusStealingClasses.contains(TQString::fromLatin1(c->resourceClass())); |