summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-16 12:22:24 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-16 12:22:24 +0000
commit623807a1484340a9631214fb705e3e8b2dc394ea (patch)
treef7f2089d4ee736395db098ceb408b1c8b297262f
parentcae1379bf391295cbd714f52dccc3cde7f229006 (diff)
downloadmarex-dev-623807a1484340a9631214fb705e3e8b2dc394ea.tar.gz
marex-dev-623807a1484340a9631214fb705e3e8b2dc394ea.tar.bz2
Fix highlighted viewport not updating during drag
git-svn-id: file:///beryl/trunk@4096 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/wall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/wall.c b/beryl-plugins/src/wall.c
index f38a622..74b7b90 100644
--- a/beryl-plugins/src/wall.c
+++ b/beryl-plugins/src/wall.c
@@ -1515,7 +1515,7 @@ static void wallPaintTransformedScreen(CompScreen * s,
ws->mouseOverViewY = j;
ws->newCursorX = i * s->width + cursor[0];
ws->newCursorY = j * s->height + cursor[1];
- if (ws->anyClick)
+ if (ws->anyClick || ws->dndState != DnDNone)
{
ws->origVX = i; // Used to save last viewport interaction was in