summaryrefslogtreecommitdiff
path: root/tests/test-input-remover
diff options
authorSam Spilsbury <sam.spilsbury@canonical.com>2013-02-09 21:36:15 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2013-02-09 21:36:15 +0800
commit5c40621cbeb4ecd831a8af447beb1fd3988327fe (patch)
tree5c0825000755be5821782c2da96dac8c9852124a /tests/test-input-remover
parent05114760483481a766ce33f86978d680d5d069e2 (diff)
Save the saved input shape to a window property, so if compiz crashes
we can still recover the minimized window. Also fixed a crash in the tests. (LP: #851964) Fixes LP: #851964 (bzr r2998.5.5)
Diffstat (limited to 'tests/test-input-remover')
-rw-r--r--tests/test-input-remover/test-input-remover.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-input-remover/test-input-remover.cpp b/tests/test-input-remover/test-input-remover.cpp
index 3a3768c7c..79381b0e0 100644
--- a/tests/test-input-remover/test-input-remover.cpp
+++ b/tests/test-input-remover/test-input-remover.cpp
@@ -145,7 +145,7 @@ int main (int argc, char **argv)
if (argc == 3)
std::stringstream (argv[2]) >> std::dec >> time;
- remover = new compiz::WindowInputRemover (dpy, xid);
+ remover = new compiz::WindowInputRemover (dpy, xid, xid);
if (!remover)
return 1;