Fix compile failure window variable doesn't exist
ClosedPublic

Authored by ognarb on Sep 15 2019, 10:47 AM.

Details

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 {
      |

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ognarb created this revision.Sep 15 2019, 10:47 AM
Restricted Application added a project: KWin. · View Herald TranscriptSep 15 2019, 10:47 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
ognarb requested review of this revision.Sep 15 2019, 10:47 AM
romangg accepted this revision.Sep 15 2019, 10:59 AM
This revision is now accepted and ready to land.Sep 15 2019, 10:59 AM
This revision was automatically updated to reflect the committed changes.