Use correct enum: typo in org_kde_kwin_server_decoration_mode
authorSylvain Becker <sylvain.becker@gmail.com>
Wed, 30 Oct 2019 17:59:20 +0100
changeset 13210802516cf7035
parent 13209 f872396dcc58
child 13211 59fa401ab8c5
Use correct enum: typo in org_kde_kwin_server_decoration_mode
instead of org_kde_kwin_server_decoration_manager_mode
src/video/wayland/SDL_waylandwindow.c
     1.1 --- a/src/video/wayland/SDL_waylandwindow.c	Wed Oct 30 17:35:40 2019 +0100
     1.2 +++ b/src/video/wayland/SDL_waylandwindow.c	Wed Oct 30 17:59:20 2019 +0100
     1.3 @@ -589,7 +589,7 @@
     1.4          const enum zxdg_toplevel_decoration_v1_mode mode = bordered ? ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE : ZXDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE;
     1.5          zxdg_toplevel_decoration_v1_set_mode(wind->server_decoration, mode);
     1.6      } else if ((viddata->kwin_server_decoration_manager) && (wind->kwin_server_decoration)) {
     1.7 -        const enum org_kde_kwin_server_decoration_mode mode = bordered ? ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER : ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_NONE;
     1.8 +        const enum org_kde_kwin_server_decoration_manager_mode mode = bordered ? ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER : ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_NONE;
     1.9          org_kde_kwin_server_decoration_request_mode(wind->kwin_server_decoration, mode);
    1.10      }
    1.11  }
    1.12 @@ -736,7 +736,7 @@
    1.13          data->kwin_server_decoration = org_kde_kwin_server_decoration_manager_create(c->kwin_server_decoration_manager, data->surface);
    1.14          if (data->kwin_server_decoration) {
    1.15              const SDL_bool bordered = (window->flags & SDL_WINDOW_BORDERLESS) == 0;
    1.16 -            const enum org_kde_kwin_server_decoration_mode mode = bordered ? ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER : ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_NONE;
    1.17 +            const enum org_kde_kwin_server_decoration_manager_mode mode = bordered ? ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_SERVER : ORG_KDE_KWIN_SERVER_DECORATION_MANAGER_MODE_NONE;
    1.18              org_kde_kwin_server_decoration_request_mode(data->kwin_server_decoration, mode);
    1.19          }
    1.20      }