summaryrefslogtreecommitdiff
path: root/examples/notepad.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/notepad.c')
-rw-r--r--examples/notepad.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/notepad.c b/examples/notepad.c
index 92b9d44..9134653 100644
--- a/examples/notepad.c
+++ b/examples/notepad.c
@@ -1464,10 +1464,6 @@ static void on_event(struct editor *ed, const yasl_event *ev)
ed->running = false; return;
case YASL_EVENT_QUIT:
ed->running = false; return;
- case YASL_EVENT_DISPLAY_LOST:
- ed->failed = true;
- ed->running = false;
- return;
case YASL_EVENT_WINDOW:
ed->surface_scale = ev->window.scale;