X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFuncRequest.h;h=52fb1434aa7b3f3912f67970216da2803d9563e3;hb=29b9dd8b2f89f3741375ff5494aad03f22c7514f;hp=19f571a091c7503dcf7d90c37a4e81e370cf8103;hpb=a7018252b75316b7855f04c51be2342dc269f96c;p=lyx.git diff --git a/src/FuncRequest.h b/src/FuncRequest.h index 19f571a091..52fb1434aa 100644 --- a/src/FuncRequest.h +++ b/src/FuncRequest.h @@ -105,25 +105,25 @@ public: private: /// the action - FuncCode action_; + FuncCode action_ = LFUN_NOACTION; /// the action's string argument docstring argument_; /// who initiated the action - Origin origin_; + Origin origin_ = INTERNAL; /// to which view should be this command sent (see bug #11004) /// NULL=current view - frontend::GuiView* view_origin_; + frontend::GuiView* view_origin_ = nullptr; /// the x coordinate of a mouse press - int x_; + int x_ = 0; /// the y coordinate of a mouse press - int y_; + int y_ = 0; /// some extra information (like button number) - mouse_button::state button_; + mouse_button::state button_ = mouse_button::none; /// - KeyModifier modifier_; + KeyModifier modifier_ = NoModifier; /// Commands should be run synchronously when they /// are launched via "command-sequence" or "repeat" or "buffer-forall" - bool allow_async_; + bool allow_async_ = true; };