wayland: Minor whitespace fix

This commit is contained in:
Ethan Lee 2021-02-12 14:31:43 -05:00 committed by Ozkan Sezer
parent 0e9fd0f8bb
commit a99eec7751
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ void Wayland_SetWindowTitle(_THIS, SDL_Window * window)
{ {
SDL_WindowData *wind = window->driverdata; SDL_WindowData *wind = window->driverdata;
SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata;
if (window->title != NULL) { if (window->title != NULL) {
if (viddata->shell.xdg) { if (viddata->shell.xdg) {
xdg_toplevel_set_title(wind->shell_surface.xdg.roleobj.toplevel, window->title); xdg_toplevel_set_title(wind->shell_surface.xdg.roleobj.toplevel, window->title);