https://bugs.freedesktop.org/show_bug.cgi?id=39983

--- Comment #22 from Tor Lillqvist <[email protected]> ---
Actually, I think the AOO patch is quite buggy... it uses
performSelector:withObject: to call the setCollectionBehavior method. That
method takes an integer (NSWindowCollectionBehavior bit mask) as parameter, but
it passes performSelector:withObject: an NSNumber object (pointer)... So
presumably what actually happens in the AOO code is that the NSNumber pointer
is interpreted as the bit mask, and (sometimes? always?) by coincidence it
happens to have the "right" bit on that makes the full-screen decoration to
appear. Heh.

So, either one should just use objc_msgSend() as in my patch to be on a lower
level, or the verbose NSInvocation API. Hmm.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to