summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shelf.cpp2
-rw-r--r--src/shelf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shelf.cpp b/src/shelf.cpp
index 7c1c69b..fab86cc 100644
--- a/src/shelf.cpp
+++ b/src/shelf.cpp
@@ -637,7 +637,7 @@ ShelfScreen::handleEvent (XEvent *event)
bool
ShelfWindow::damageRect (bool initial,
- CompRect &rect)
+ const CompRect &rect)
{
bool status = false;
diff --git a/src/shelf.h b/src/shelf.h
index 59052df..a3f6e22 100644
--- a/src/shelf.h
+++ b/src/shelf.h
@@ -87,7 +87,7 @@ class ShelfWindow :
moveNotify (int, int, bool);
bool
- damageRect (bool, CompRect &);
+ damageRect (bool, const CompRect &);
bool
glPaint (const GLWindowPaintAttrib &,