summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/triggers.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-08-24 20:55:24 +0900
committerMichele Calgaro <[email protected]>2022-08-25 18:25:48 +0900
commit7fed9587e9673983fe4128557baa33b23b71076f (patch)
tree8604505e8b463b97522e5a5ac68bf4dda018bbdf /khotkeys/shared/triggers.cpp
parent5e4ca4df9bb34e10a897e32e7e0ca8645b97f293 (diff)
downloadtdebase-7fed9587e9673983fe4128557baa33b23b71076f.tar.gz
tdebase-7fed9587e9673983fe4128557baa33b23b71076f.zip
khotkeys: added 'waiting' action to the list of available choices.
Signed-off-by: Michele Calgaro <[email protected]>
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;
}