summaryrefslogtreecommitdiff
path: root/put.c
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-02-10 13:55:33 +0100
committerDanny Baumann <dannybaumann@web.de>2008-02-10 13:55:33 +0100
commitf2491d641b81d4bf7afde5fe19e64947745e17da (patch)
tree3d38101d1bb96509e5878981c029764ea01509c9 /put.c
parent95a45bd61d0e159c5e0b4339a29fd231fbfe0446 (diff)
downloadput-f2491d641b81d4bf7afde5fe19e64947745e17da.tar.gz
put-f2491d641b81d4bf7afde5fe19e64947745e17da.tar.bz2
Use window's head instead of current head.
Diffstat (limited to 'put.c')
-rw-r--r--put.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/put.c b/put.c
index cfde9b1..d8afa73 100644
--- a/put.c
+++ b/put.c
@@ -370,7 +370,7 @@ putInitiate (CompDisplay *d,
/* no head given, so use the current head if this wasn't
a double tap */
if (pd->lastType != type || pd->lastWindow != w->id)
- head = s->currentOutputDev;
+ head = outputDeviceForWindow (w);
}
else
{