From 3608911a4c105b65c9049753759619e8d115b357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 1 Jan 2017 15:44:16 +0100 Subject: Fix warnings of unhandled events that we don't have to care about. --- plugingui/nativewindow_x11.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugingui/nativewindow_x11.cc') diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc index a4e9659..b579fb3 100644 --- a/plugingui/nativewindow_x11.cc +++ b/plugingui/nativewindow_x11.cc @@ -528,6 +528,12 @@ std::shared_ptr NativeWindowX11::translateXMessage(XEvent& xevent, } break; + case EnterNotify: + case LeaveNotify: + case MapNotify: + // There's nothing to do here atm. + break; + default: WARN(X11, "Unhandled xevent.type: %d\n", xevent.type); break; -- cgit v1.2.3