summaryrefslogtreecommitdiff
path: root/src/shelf.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-08-05 00:09:38 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-08-05 00:09:38 +0800
commit540873ce41df4415d4f11f45c49956bd2f0ed946 (patch)
tree331ed9efa21758417d1b8ce8e16bfe1fe578d423 /src/shelf.cpp
parent6cba4ae8c5a8b28f4fed1e8652da0c50ffc268f6 (diff)
downloadshelf-540873ce41df4415d4f11f45c49956bd2f0ed946.tar.gz
shelf-540873ce41df4415d4f11f45c49956bd2f0ed946.tar.bz2
Interface ::damageRect correctly, previous behaviour would damage the entire window region and not the miniaturized one
Diffstat (limited to 'src/shelf.cpp')
-rw-r--r--src/shelf.cpp2
1 files changed, 1 insertions, 1 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;