Remove unused SM_CLIENT_ID stuff
This commit is contained in:
parent
79879a8119
commit
171b282f9f
|
@ -164,7 +164,6 @@ EwinGetHints(EWin * ewin)
|
|||
MWM_GetHints(ewin, 0);
|
||||
ICCCM_GetInfo(ewin); /* NB! Need group info first */
|
||||
HintsGetWindowHints(ewin);
|
||||
SessionGetInfo(ewin);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various contributors
|
||||
* Copyright (C) 2004-2014 Kim Woelders
|
||||
* Copyright (C) 2004-2020 Kim Woelders
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to
|
||||
|
@ -175,7 +175,4 @@ int ICCCM_ProcessPropertyChange(EWin * ewin,
|
|||
void MWM_GetHints(EWin * ewin, EX_Atom atom_change);
|
||||
void MWM_SetInfo(void);
|
||||
|
||||
/* session.c */
|
||||
void SessionGetInfo(EWin * ewin);
|
||||
|
||||
#endif /* _HINTS_H_ */
|
||||
|
|
|
@ -293,10 +293,6 @@ callback_shutdown_cancelled(SmcConn smc_conn, SmPointer client_data __UNUSED__)
|
|||
SmcSaveYourselfDone(smc_conn, False);
|
||||
}
|
||||
|
||||
#if 0 /* Unused */
|
||||
static EX_Atom atom_sm_client_id;
|
||||
#endif
|
||||
|
||||
static IceConn ice_conn;
|
||||
|
||||
static void
|
||||
|
@ -411,10 +407,6 @@ SessionInit(void)
|
|||
if (Mode.wm.window)
|
||||
return;
|
||||
|
||||
#if 0 /* Unused */
|
||||
atom_sm_client_id = ex_atom_get("SM_CLIENT_ID");
|
||||
#endif
|
||||
|
||||
#if USE_SM
|
||||
ice_init();
|
||||
#endif
|
||||
|
@ -427,24 +419,6 @@ SessionInit(void)
|
|||
Conf.session.cmd_halt = Estrdup("poweroff");
|
||||
}
|
||||
|
||||
void
|
||||
SessionGetInfo(EWin * ewin __UNUSED__)
|
||||
{
|
||||
#if 0 /* Unused */
|
||||
#if USE_SM
|
||||
if (atom_sm_client_id == NoXID)
|
||||
return;
|
||||
EFREE_NULL(ewin->session_id);
|
||||
if (ewin->icccm.client_leader != NoXID)
|
||||
ewin->session_id =
|
||||
ex_window_prop_string_get(ewin->icccm.client_leader,
|
||||
atom_sm_client_id);
|
||||
#else
|
||||
ewin = NULL;
|
||||
#endif /* USE_SM */
|
||||
#endif
|
||||
}
|
||||
|
||||
#if USE_SM
|
||||
void
|
||||
SetSMID(const char *smid)
|
||||
|
|
Loading…
Reference in New Issue