Facebook
From Ungracious Iguana, 3 Years ago, written in C++.
">

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

from

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: view/view.php

Line Number: 33

- view diff
Embed
Download Paste or View Raw
Hits: 135
  1.   WId windowObject = this->winId();
  2.   objc_object* nsviewObject = reinterpret_cast<objc_object*>(windowObject);
  3.   objc_object* nsWindowObject = ((id (*)(id, SEL))objc_msgSend)(nsviewObject, sel_registerName("window"));
  4.   int NSWindowCollectionBehaviorCanJoinAllSpaces = 1 << 0;
  5.   ((id (*)(id, SEL, int))objc_msgSend)(nsWindowObject, sel_registerName("setCollectionBehavior"), NSWindowCollectionBehaviorCanJoinAllSpaces);
  6.  
  7.   // Ignore mouse events on Mac
  8.   // Qt::WindowTransparentForInput bug
  9.   // https://bugreports.qt.io/browse/QTBUG-45498
  10.   ((id (*)(id, SEL, bool))objc_msgSend)(nsWindowObject, sel_registerName("setIgnoresMouseEvents"), true);