diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2023-06-22 19:34:06 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2023-07-04 15:26:03 +0300 |
commit | 5b1934dd5dc3245fcfd4a771fd45ed30dcaace54 (patch) | |
tree | d8bc8f59988b5a54dc841f92b6e36bf4980424fd /twin/options.cpp | |
parent | d4d334c1af9256d6540b15e0188e9eb82b1fad55 (diff) | |
download | tdebase-5b1934dd5dc3245fcfd4a771fd45ed30dcaace54.tar.gz tdebase-5b1934dd5dc3245fcfd4a771fd45ed30dcaace54.zip |
TWin: Add active corner support to quick tiling
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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())); |