Mac OS X Window Server vs. X11: the insane task

前端 未结 2 1732
面向向阳花
面向向阳花 2021-02-10 00:59

Dedicated to all who likes low-level Window Server (CoreGraphicsPrivate.h, etc), X11 on Mac, SIMBL and other crazy stuff :)

There\'s a simple X11-emulated application on

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-10 01:27

    It is my understanding that X11 uses its own windows server and general stack. That is why it can run X11 apps without special ports.

    It only has a layer of responses that mimics that of Cocoa windows such that it can communicate with the general interface. Its not a Cocoa stack in disguise, its an X11 stack superficially disguised as Cocoa. As such, it only responds to only a subset of the Cocoa related messages.

    I think to do anything serious in X11 you have to use the X11 API from the start. In other words, write as if it was not intended to run on top of the Mac OS.

提交回复
热议问题