NO-OP: whitespace, indent

This commit is contained in:
Robin Gareus 2019-04-08 19:53:33 +02:00
parent 8a7e452265
commit 50303d90bd
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
8 changed files with 264 additions and 267 deletions

View File

@ -88,14 +88,14 @@ bool
Editor::mouse_sample (samplepos_t& where, bool& in_track_canvas) const
{
/* gdk_window_get_pointer() has X11's XQueryPointer semantics in that it only
pays attentions to subwindows. this means that menu windows are ignored, and
if the pointer is in a menu, the return window from the call will be the
the regular subwindow *under* the menu.
this matters quite a lot if the pointer is moving around in a menu that overlaps
the track canvas because we will believe that we are within the track canvas
when we are not. therefore, we track enter/leave events for the track canvas
and allow that to override the result of gdk_window_get_pointer().
* pays attentions to subwindows. this means that menu windows are ignored, and
* if the pointer is in a menu, the return window from the call will be the
* the regular subwindow *under* the menu.
*
* this matters quite a lot if the pointer is moving around in a menu that overlaps
* the track canvas because we will believe that we are within the track canvas
* when we are not. therefore, we track enter/leave events for the track canvas
* and allow that to override the result of gdk_window_get_pointer().
*/
if (!within_track_canvas) {
@ -420,18 +420,17 @@ Editor::step_mouse_mode (bool next)
void
Editor::button_selection (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type)
{
/* in object/audition/timefx/gain-automation mode,
any button press sets the selection if the object
can be selected. this is a bit of hack, because
we want to avoid this if the mouse operation is a
region alignment.
note: not dbl-click or triple-click
Also note that there is no region selection in internal edit mode, otherwise
for operations operating on the selection (e.g. cut) it is not obvious whether
to cut notes or regions.
* any button press sets the selection if the object
* can be selected. this is a bit of hack, because
* we want to avoid this if the mouse operation is a
* region alignment.
*
* note: not dbl-click or triple-click
*
* Also note that there is no region selection in internal edit mode, otherwise
* for operations operating on the selection (e.g. cut) it is not obvious whether
* to cut notes or regions.
*/
MouseMode eff_mouse_mode = effective_mouse_mode ();
@ -1399,8 +1398,7 @@ Editor::button_press_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemTyp
bool
Editor::button_press_dispatch (GdkEventButton* ev)
{
/* this function is intended only for buttons 4 and above.
*/
/* this function is intended only for buttons 4 and above. */
Gtkmm2ext::MouseButton b (ev->state, ev->button);
return button_bindings->activate (b, Gtkmm2ext::Bindings::Press);
@ -1409,8 +1407,7 @@ Editor::button_press_dispatch (GdkEventButton* ev)
bool
Editor::button_release_dispatch (GdkEventButton* ev)
{
/* this function is intended only for buttons 4 and above.
*/
/* this function is intended only for buttons 4 and above. */
Gtkmm2ext::MouseButton b (ev->state, ev->button);
return button_bindings->activate (b, Gtkmm2ext::Bindings::Release);