wlserver: remove wlserver_run return value
It always returns 0.
This commit is contained in:
parent
cd0e12d050
commit
fc748ebd78
2 changed files with 2 additions and 3 deletions
|
@ -735,7 +735,7 @@ void wlserver_unlock(void)
|
|||
pthread_mutex_unlock(&waylock);
|
||||
}
|
||||
|
||||
int wlserver_run(void)
|
||||
void wlserver_run(void)
|
||||
{
|
||||
struct pollfd pollfd = {
|
||||
.fd = wl_event_loop_get_fd( wlserver.event_loop ),
|
||||
|
@ -774,7 +774,6 @@ int wlserver_run(void)
|
|||
wlr_xwayland_server_destroy(wlserver.wlr.xwayland_server);
|
||||
wl_display_destroy_clients(wlserver.display);
|
||||
wl_display_destroy(wlserver.display);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void wlserver_keyboardfocus( struct wlr_surface *surface )
|
||||
|
|
|
@ -76,7 +76,7 @@ int wlsession_open_kms( const char *device_name );
|
|||
|
||||
int wlserver_init( int argc, char **argv, bool bIsNested );
|
||||
|
||||
int wlserver_run(void);
|
||||
void wlserver_run(void);
|
||||
|
||||
void wlserver_lock(void);
|
||||
void wlserver_unlock(void);
|
||||
|
|
Loading…
Reference in a new issue