summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/triggers.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-08-24 20:55:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-08-25 20:38:45 +0900
commita2cb178bed086ae98097b5bded1817cc7704d2b4 (patch)
tree83bcb15c64826e0d153e6efe981d943242dae9d9 /khotkeys/shared/triggers.cpp
parent12007bb689082f356835ae6ad4412ee414230e83 (diff)
downloadtdebase-a2cb178bed086ae98097b5bded1817cc7704d2b4.tar.gz
tdebase-a2cb178bed086ae98097b5bded1817cc7704d2b4.zip
khotkeys: added 'waiting' action to the list of available choices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7fed9587e9673983fe4128557baa33b23b71076f)
Diffstat (limited to 'khotkeys/shared/triggers.cpp')
-rw-r--r--khotkeys/shared/triggers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/khotkeys/shared/triggers.cpp b/khotkeys/shared/triggers.cpp
index 115bc6687..5bd8dbe3e 100644
--- a/khotkeys/shared/triggers.cpp
+++ b/khotkeys/shared/triggers.cpp
@@ -277,6 +277,7 @@ void Window_trigger::window_changed( WId window_P, unsigned int dirty_P )
bool matches = windows()->match( Window_data( window_P ));
existing_windows[ window_P ] = matches;
if( active && matches && !was_match )
+ {
if( window_actions & WINDOW_APPEARS )
{
windows_handler->set_action_window( window_P );
@@ -287,6 +288,7 @@ void Window_trigger::window_changed( WId window_P, unsigned int dirty_P )
windows_handler->set_action_window( window_P );
data->execute();
}
+ }
kdDebug( 1217 ) << "Window_trigger::w_changed() : " << was_match << "|" << matches << endl;
}