Avoid reopening inspector window when being opened

This commit is contained in:
Lawrence Lee
2021-05-07 22:26:28 -07:00
parent 9495c049c4
commit b2988ddbb3
2 changed files with 12 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ private:
bool initialized;
bool fullscreen; // window is shown in fullscreen mode
bool keyDown;
bool windowShowing;
sigc::connection delayconn;
Glib::ustring next_image_path;
@@ -65,6 +66,8 @@ private:
bool on_key_release(GdkEventKey *event);
bool on_key_press(GdkEventKey *event);
void on_window_hide();
rtengine::Coord button_pos;
bool on_button_press_event(GdkEventButton *event) override;
bool on_motion_notify_event(GdkEventMotion *event) override;