dap-mode icon indicating copy to clipboard operation
dap-mode copied to clipboard

double clicking dap-ui-controls shouldn't select

Open billop opened this issue 3 years ago • 2 comments

Often times I am spamming left click on the dap-ui-controls floating frame, but sometimes I left click so fast that it registers as a double click and I end up selecting the "text" in the frame. So not only does it eat up the second click, but it also eats up subsequent clicks for a short but very annoying time.

Any way to tell emacs to never select anything in the frame?

billop avatar Jan 21 '22 19:01 billop

We may try to bind double click to nothing in dap-ui-controls-mode (or to no-op)

yyoncho avatar Jan 21 '22 20:01 yyoncho

So that definitely works from end-user config side, but the side effect is that it affects double click in any buffer with dap-ui-controls-mode enabled. Is there an easy way to change the binding within only the posframe with buttons?

ghost avatar Jan 21 '22 22:01 ghost