By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 690
Collapse All | Expand All

(-)a/tdm/config.def (+11 lines)
Lines 2016-2021 Comment: Link Here
2016
Description:
2016
Description:
2017
 If true then the SAK anti-spoofing dialog will be utilized
2017
 If true then the SAK anti-spoofing dialog will be utilized
2018
2018
2019
Key: UseKDMCTL
2020
Type: bool
2021
Default: true
2022
User: greeter
2023
Instance: #*/!
2024
Comment:
2025
  Turn this off if you are happy not using kdmctl and want to reduce the CPU load of
2026
  idle kdm_greeter processes.
2027
Description:
2028
  If true then the KDMCTL FIFO is monitored.
2029
2019
Key: UseAdminSession
2030
Key: UseAdminSession
2020
Type: bool
2031
Type: bool
2021
Default: false
2032
Default: false
(-)a/tdm/kfrontend/kgapp.cpp (+3 lines)
Lines 71-76 bool argb_visual_available = false; Link Here
71
bool has_twin = false;
71
bool has_twin = false;
72
bool is_themed = false;
72
bool is_themed = false;
73
bool trinity_desktop_lock_use_sak = TRUE;
73
bool trinity_desktop_lock_use_sak = TRUE;
74
bool trinity_tdm_use_kdmctl = TRUE;
74
TQPoint primaryScreenPosition;
75
TQPoint primaryScreenPosition;
75
76
76
static int
77
static int
Lines 208-213 kg_main( const char *argv0 ) Link Here
208
	TDEProcess *dcop = 0;
209
	TDEProcess *dcop = 0;
209
	TDEProcess *twin = 0;
210
	TDEProcess *twin = 0;
210
211
212
	trinity_tdm_use_kdmctl = _useKDMCTL;
213
211
#ifdef BUILD_TSAK
214
#ifdef BUILD_TSAK
212
	trinity_desktop_lock_use_sak = _useSAK;
215
	trinity_desktop_lock_use_sak = _useSAK;
213
#else
216
#else
(-)a/tdm/kfrontend/kgreeter.cpp (-6 / +15 lines)
Lines 92-97 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Link Here
92
#define FIFO_FILE "/tmp/tdesocket-global/tdm/tdmctl-%1"
92
#define FIFO_FILE "/tmp/tdesocket-global/tdm/tdmctl-%1"
93
#define FIFO_SAK_FILE "/tmp/tdesocket-global/tdm/tdmctl-sak-%1"
93
#define FIFO_SAK_FILE "/tmp/tdesocket-global/tdm/tdmctl-sak-%1"
94
94
95
extern bool trinity_tdm_use_kdmctl;
96
95
class UserListView : public KListView {
97
class UserListView : public KListView {
96
  public:
98
  public:
97
        UserListView( bool _them, TQWidget *parent = 0, const char *name = 0 )
99
        UserListView( bool _them, TQWidget *parent = 0, const char *name = 0 )
Lines 229-234 void KGreeter::done(int r) { Link Here
229
}
231
}
230
232
231
void KGreeter::handleInputPipe(void) {
233
void KGreeter::handleInputPipe(void) {
234
235
	/*
236
	*       This stops kdm_greet eating CPU monitoring the kdmctl FIFO.
237
	*	 Enabled/disabled with UseKDMCTL in kdmrc
238
	*/
239
	if( !trinity_tdm_use_kdmctl ) return;
240
232
	if (closingDown) {
241
	if (closingDown) {
233
		::unlink(mPipeFilename.ascii());
242
		::unlink(mPipeFilename.ascii());
234
		return;
243
		return;
Lines 278-291 void KGreeter::handleInputPipe(void) { Link Here
278
	int numread;
287
	int numread;
279
	TQString inputcommand = "";
288
	TQString inputcommand = "";
280
	while ((!inputcommand.contains('\n')) && (!closingDown)) {
289
	while ((!inputcommand.contains('\n')) && (!closingDown)) {
281
		numread = ::read(mPipe_fd, readbuf, 2048);
290
		if((numread = ::read(mPipe_fd, readbuf, 2048)) > 0 ) {
282
		readbuf[numread] = 0;
291
		       readbuf[numread] = 0;
283
		readbuf[2047] = 0;
292
		       readbuf[2047] = 0;
284
		inputcommand += readbuf;
293
		       inputcommand += readbuf;
294
		}
285
		if (!tqApp->hasPendingEvents()) {
295
		if (!tqApp->hasPendingEvents()) {
286
			usleep(500);
296
			usleep(500);
287
		}
297
		} else tqApp->processEvents();
288
		tqApp->processEvents();
289
	}
298
	}
290
	if (closingDown) {
299
	if (closingDown) {
291
		::unlink(mPipeFilename.ascii());
300
		::unlink(mPipeFilename.ascii());

Return to bug 690