freebsd-ports/editors/setedit/files/patch-editmain.cc
Pav Lucistnik 1f3146b722 SETEdit is a friendly text editor.
It is a text mode application with windows, buttons, mouse support, etc. The
main target of the project are programmers so the editor is mainly oriented to
programming.

PR:		ports/86751
Submitted by:	Sten Feldman <exile@chamber.ee>
2005-10-07 19:39:57 +00:00

27 lines
637 B
C++

*** setedit/editmain.cc.orig Thu Sep 29 15:51:43 2005
--- setedit/editmain.cc Thu Sep 29 16:03:36 2005
***************
*** 2299,2320 ****
else
if (Clock)
KillClock();
-
- if (UseScreenSaver && TScreen::useScreenSaver())
- {
- int seconds=inIdleTime/clockResolution;
- if (seconds==screenSaverTimeMouse)
- {
- MouseEventType me;
- TMouse::getEvent(me);
- TRect r=deskTop->getExtent();
- if (me.where.x==r.b.x-1 && me.where.y==0)
- screenSaver();
- }
- else
- if (seconds>=screenSaverTime)
- screenSaver();
- }
}
--- 2299,2304 ----