Add a todo about the editor debug level

This commit is contained in:
Robbert van der Helm
2021-07-20 01:31:24 +02:00
parent f2ffb68b55
commit db8eb5b678
+2
View File
@@ -400,6 +400,8 @@ void Editor::handle_x11_events() noexcept {
// the window is unmapped `wine_window` doesn't exist and any X11
// function calls involving it will fail. All functions called from
// here should be able to handle that cleanly.
// TODO: Move all debug messages to a special editor debug level, which
// should be specified as <N>+editor
try {
std::unique_ptr<xcb_generic_event_t> generic_event;
while (generic_event.reset(xcb_poll_for_event(x11_connection.get())),