Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions westeros-compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9597,7 +9597,6 @@ static void wstKeyboardSetFocus( WstKeyboard *keyboard, WstSurface *surface )
if ( keyboard->focus )
{
serial= wl_display_next_serial( compositor->ctx->display );
surfaceClient= wl_resource_get_client( keyboard->focus->resource );
wl_resource_for_each( resource, &keyboard->focusResourceList )
{
wl_keyboard_send_leave( resource, serial, keyboard->focus->resource );
Expand Down Expand Up @@ -10176,8 +10175,11 @@ static void wstRemoveTempFile( int fd )

if ( haveTempFilename )
{
DEBUG( "removing tempory file (%s)", link );
remove( link );
DEBUG( "removing temporary file (%s)", link );
if ( remove( link ) != 0 )
{
ERROR("Failed to remove temporary file (%s): %s", link, strerror(errno));
}
}
}

Expand Down
Loading