From a264c2b5cf14cc22fe23e90eae854c2d5536ad4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Sun, 17 Sep 2017 09:42:17 +0200 Subject: [PATCH] Change default argument of grabXKeyboard to XCB_WINDOW_NONE Summary: The implementation of grabXKeyboard checks whether the passed in arg is XCB_WINDOW_NONE and sets the arg to rootWindow. Thus we don't need to have rootWindow as the default argument, but can have none as the default arg. Test Plan: Compiles, test which uses the default arg still passes Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7857 --- utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.h b/utils.h index c48dd11593..1c9c6295d1 100644 --- a/utils.h +++ b/utils.h @@ -158,7 +158,7 @@ template using ScopedCPointer = QScopedPointer