diff options
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); } |
