From 1b9a07dcbc4ffa650ad824cbf0db27cb67fb3cc9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 7 May 2003 22:53:21 +0000 Subject: fixed expose event --- src/Slit.cc | 5 ++++- src/Slit.hh | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Slit.cc b/src/Slit.cc index de71455..86648af 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.46 2003/05/06 01:45:17 rathnor Exp $ +// $Id: Slit.cc,v 1.47 2003/05/07 22:52:36 fluxgen Exp $ #include "Slit.hh" @@ -1059,6 +1059,9 @@ void Slit::configureRequestEvent(XConfigureRequestEvent &event) { reconfigure(); } +void Slit::exposeEvent(XExposeEvent &event) { + frame.window.clear(); +} void Slit::timeout() { if (do_auto_hide) { diff --git a/src/Slit.hh b/src/Slit.hh index 80dd95c..a9c3322 100644 --- a/src/Slit.hh +++ b/src/Slit.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -/// $Id: Slit.hh,v 1.25 2003/05/06 01:45:17 rathnor Exp $ +/// $Id: Slit.hh,v 1.26 2003/05/07 22:53:21 fluxgen Exp $ #ifndef SLIT_HH #define SLIT_HH @@ -101,6 +101,7 @@ public: void enterNotifyEvent(XCrossingEvent &event); void leaveNotifyEvent(XCrossingEvent &event); void configureRequestEvent(XConfigureRequestEvent &event); + void exposeEvent(XExposeEvent &event); //@} void moveToLayer(int layernum); -- cgit v0.11.2