summaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-05 01:24:32 +0000
committerDana Jansens <danakj@orodu.net>2002-07-05 01:24:32 +0000
commite15e4a9e03dd7b64004b76ca84b07c12c251f67b (patch)
treed582a21b04ffdbac8935395da9f30c8230f5f1dd /src/Slit.cc
parentbe2f47223c17c399e05436a34ba4140f2fc44fc9 (diff)
make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 171432af..336daeb3 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -625,7 +625,7 @@ void Slit::shutdown(void) {
}
-void Slit::buttonPressEvent(XButtonEvent *e) {
+void Slit::buttonPressEvent(const XButtonEvent *e) {
if (e->window != frame.window) return;
if (e->button == Button1 && (! on_top)) {
@@ -659,7 +659,7 @@ void Slit::buttonPressEvent(XButtonEvent *e) {
}
-void Slit::enterNotifyEvent(XCrossingEvent *) {
+void Slit::enterNotifyEvent(const XCrossingEvent *) {
if (! do_auto_hide)
return;
@@ -671,7 +671,7 @@ void Slit::enterNotifyEvent(XCrossingEvent *) {
}
-void Slit::leaveNotifyEvent(XCrossingEvent *) {
+void Slit::leaveNotifyEvent(const XCrossingEvent *) {
if (! do_auto_hide)
return;
@@ -683,7 +683,7 @@ void Slit::leaveNotifyEvent(XCrossingEvent *) {
}
-void Slit::configureRequestEvent(XConfigureRequestEvent *e) {
+void Slit::configureRequestEvent(const XConfigureRequestEvent *e) {
if (! blackbox->validateWindow(e->window))
return;
@@ -737,7 +737,7 @@ void Slit::toggleAutoHide(void) {
}
-void Slit::unmapNotifyEvent(XUnmapEvent *e) {
+void Slit::unmapNotifyEvent(const XUnmapEvent *e) {
removeClient(e->window);
}