Fix missing displays on sesman restart

This commit is contained in:
matt335672
2024-12-18 12:42:11 +00:00
parent 9225fe0686
commit 0806b2b978
3 changed files with 17 additions and 6 deletions
+1 -4
View File
@@ -208,10 +208,7 @@ ercp_get_session_announce_event(struct trans *trans,
if (rv == 0)
{
if (display != NULL)
{
*display = i_display;
}
*display = i_display;
*uid = (uid_t)i_uid;
*type = (enum scp_session_type)i_type;
*start_width = i_width;
-1
View File
@@ -188,7 +188,6 @@ ercp_send_session_announce_event(struct trans *trans,
*
* @param trans EICP transport
* @param[out] display Display used by session.
* Pointer can be NULL if this is already known.
* @param[out] uid UID of user logged in to session
* @param[out] type Session type
* @param[out] start_width Starting width of seenio