Bugzilla – Attachment 71031 Details for
Bug 38837
Reduce power consumption: timers must end eventually
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
better debugging patch
timer.debug.patch (text/plain), 1.25 KB, created by
Caolán McNamara
on 2012-12-05 15:31:17 UTC
(
hide
)
Description:
better debugging patch
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2012-12-05 15:31:17 UTC
Size:
1.25 KB
patch
obsolete
>diff --git a/vcl/inc/vcl/settings.hxx b/vcl/inc/vcl/settings.hxx >index 3a18de3..6c32738 100644 >--- a/vcl/inc/vcl/settings.hxx >+++ b/vcl/inc/vcl/settings.hxx >@@ -761,7 +761,7 @@ public: > long GetCursorSize() const > { return mpData->mnCursorSize; } > void SetCursorBlinkTime( long nBlinkTime ) >- { CopyData(); mpData->mnCursorBlinkTime = nBlinkTime; } >+ { CopyData(); mpData->mnCursorBlinkTime = STYLE_CURSOR_NOBLINKTIME; (void)nBlinkTime; } > long GetCursorBlinkTime() const > { return (long) mpData->mnCursorBlinkTime; } > >diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx >index 60147af..7a1a573 100644 >--- a/vcl/source/app/timer.cxx >+++ b/vcl/source/app/timer.cxx >@@ -130,6 +130,8 @@ void Timer::ImplTimerCallbackProc() > > // call Timeout > pTimerData->mbInTimeout = sal_True; >+ static int tick; >+ fprintf(stderr, "TICK %d\n", tick++); > pTimerData->mpSVTimer->Timeout(); > pTimerData->mbInTimeout = sal_False; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38837
:
59907
| 71031