aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-07 22:53:21 (GMT)
committerfluxgen <fluxgen>2003-05-07 22:53:21 (GMT)
commit1b9a07dcbc4ffa650ad824cbf0db27cb67fb3cc9 (patch)
tree7dfb72e0f4c696af38c4d4aaa303edf6918a83b0
parentb04a5bb1c8e7520eea0208a360b220831cf5cdef (diff)
downloadfluxbox_pavel-1b9a07dcbc4ffa650ad824cbf0db27cb67fb3cc9.zip
fluxbox_pavel-1b9a07dcbc4ffa650ad824cbf0db27cb67fb3cc9.tar.bz2
fixed expose event
-rw-r--r--src/Slit.cc5
-rw-r--r--src/Slit.hh3
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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.46 2003/05/06 01:45:17 rathnor Exp $ 25// $Id: Slit.cc,v 1.47 2003/05/07 22:52:36 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -1059,6 +1059,9 @@ void Slit::configureRequestEvent(XConfigureRequestEvent &event) {
1059 reconfigure(); 1059 reconfigure();
1060} 1060}
1061 1061
1062void Slit::exposeEvent(XExposeEvent &event) {
1063 frame.window.clear();
1064}
1062 1065
1063void Slit::timeout() { 1066void Slit::timeout() {
1064 if (do_auto_hide) { 1067 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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25/// $Id: Slit.hh,v 1.25 2003/05/06 01:45:17 rathnor Exp $ 25/// $Id: Slit.hh,v 1.26 2003/05/07 22:53:21 fluxgen Exp $
26 26
27#ifndef SLIT_HH 27#ifndef SLIT_HH
28#define SLIT_HH 28#define SLIT_HH
@@ -101,6 +101,7 @@ public:
101 void enterNotifyEvent(XCrossingEvent &event); 101 void enterNotifyEvent(XCrossingEvent &event);
102 void leaveNotifyEvent(XCrossingEvent &event); 102 void leaveNotifyEvent(XCrossingEvent &event);
103 void configureRequestEvent(XConfigureRequestEvent &event); 103 void configureRequestEvent(XConfigureRequestEvent &event);
104 void exposeEvent(XExposeEvent &event);
104 //@} 105 //@}
105 106
106 void moveToLayer(int layernum); 107 void moveToLayer(int layernum);