diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-12 10:03:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-12 10:03:13 +0000 |
| commit | e1fd32bcf5a07d8b9ab774d0f690112dec29cc8e (patch) | |
| tree | 7701cd4aaa387f22c51361ae74e9e2ef1c0c8149 /openbox/mouse.c | |
| parent | f4979de3f5257bf70591d4ccf0ecab7da567b27d (diff) | |
add an option for if the popup is used for desktop cycling. defaults on.
Diffstat (limited to 'openbox/mouse.c')
| -rw-r--r-- | openbox/mouse.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c index 6651a1f2..2624ecb9 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -121,8 +121,10 @@ static void fire_button(ObMouseAction a, ObFrameContext context, act->data.sendtodir.cancel = FALSE; } - if ((act->func == action_desktop_dir || - act->func == action_send_to_desktop_dir)) { + if (config_desktop_popup && + (act->func == action_desktop_dir || + act->func == action_send_to_desktop_dir)) + { keyboard_interactive_grab(state, c, context, act); } |
