openbsd-ports/www/chromium/patches/patch-views_events_event_h
robert 1d1f0ea496 update to 15.0.874.102.
switch from using the hacked macosx transport dib to the linux one
which uses sysv shms.
make sure you also have a current kernel before using this version
2011-10-27 07:59:08 +00:00

13 lines
535 B
Plaintext

$OpenBSD: patch-views_events_event_h,v 1.2 2011/10/27 07:59:09 robert Exp $
--- views/events/event.h.orig Fri Oct 21 10:30:01 2011
+++ views/events/event.h Wed Oct 26 13:37:47 2011
@@ -91,7 +91,7 @@ class VIEWS_EXPORT Event {
#if defined(OS_WIN)
// Returns the EventFlags in terms of windows flags.
int GetWindowsFlags() const;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
// Get the views::Event flags from a native GdkEvent.
static int GetFlagsFromGdkEvent(NativeEvent native_event);
#endif