Fix compile failure window variable doesn't exist
Summary: Error was: ``` /home/carl/kdesrc/kde/workspace/kwin/plugins/platforms/x11/windowed/x11windowed_output.cpp: In member function ‘void KWin::X11WindowedOutput::initXInputForWindow()’: /home/carl/kdesrc/kde/workspace/kwin/plugins/platforms/x11/windowed/x11windowed_output.cpp:134:14: error: invalid use of non-static member function ‘xcb_window_t KWin::X11WindowedOutput::window() const’ 134 | Q_UNUSED(window) | ^~~~~~ In file included from /home/carl/kdesrc/kde/workspace/kwin/plugins/platforms/x11/windowed/x11windowed_output.cpp:20: /home/carl/kdesrc/kde/workspace/kwin/plugins/platforms/x11/windowed/x11windowed_output.h:50:18: note: declared here 50 | xcb_window_t window() const { | ``` Reviewers: #kwin, romangg Reviewed By: #kwin, romangg Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23957
This commit is contained in:
parent
726e6c1567
commit
0757a60858
1 changed files with 0 additions and 2 deletions
|
@ -130,8 +130,6 @@ void X11WindowedOutput::initXInputForWindow()
|
|||
evmasks[0].mask_len = sizeof(mask1);
|
||||
evmasks[0].mask = mask1;
|
||||
XISelectEvents(m_backend->display(), m_window, evmasks, 1);
|
||||
#else
|
||||
Q_UNUSED(window)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue