diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci index 7b6f41e00..10546ba91 100644 --- a/build-scripts/SDL_migration.cocci +++ b/build-scripts/SDL_migration.cocci @@ -2334,3 +2334,23 @@ expression e; @@ - SDL_WINDOW_INPUT_GRABBED + SDL_WINDOW_MOUSE_GRABBED +@@ +SDL_DisplayMode *e; +@@ +( +- e->w ++ e->screen_w +| +- e->h ++ e->screen_h +) +@@ +SDL_DisplayMode e; +@@ +( +- e.w ++ e.screen_w +| +- e.h ++ e.screen_h +)