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/D7857master
parent
0ed609590b
commit
a264c2b5cf
Loading…
Reference in New Issue