|
|
@@ -797,7 +797,7 @@ protected:
|
|
|
mode_ = Mode::Normal;
|
|
|
command_buffer_.clear();
|
|
|
message_line_ = "Cancelled";
|
|
|
- if (drawing_area_) drawing_area_->queue_draw();
|
|
|
+ if (content_widget_) queue_redraw_all_windows(content_widget_);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
@@ -820,20 +820,20 @@ protected:
|
|
|
|
|
|
mode_ = Mode::Normal;
|
|
|
command_buffer_.clear();
|
|
|
- if (drawing_area_) drawing_area_->queue_draw();
|
|
|
+ if (content_widget_) queue_redraw_all_windows(content_widget_);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
if (key_name == "Backspace") {
|
|
|
if (!command_buffer_.empty()) command_buffer_.pop_back();
|
|
|
- if (drawing_area_) drawing_area_->queue_draw();
|
|
|
+ if (content_widget_) queue_redraw_all_windows(content_widget_);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
// Simple character input
|
|
|
if (key_name.length() == 1 && !is_control && !is_lumacs_meta) {
|
|
|
command_buffer_ += key_name;
|
|
|
- if (drawing_area_) drawing_area_->queue_draw();
|
|
|
+ if (content_widget_) queue_redraw_all_windows(content_widget_);
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
@@ -936,8 +936,8 @@ protected:
|
|
|
}
|
|
|
|
|
|
// Request redraw after processing input
|
|
|
- if (drawing_area_) {
|
|
|
- drawing_area_->queue_draw();
|
|
|
+ if (content_widget_) {
|
|
|
+ queue_redraw_all_windows(content_widget_);
|
|
|
}
|
|
|
return true;
|
|
|
}
|