Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これが私がいくつかのGLXコードで見た例です:
display = XOpenDisplay(0); // ... xcb_connection_t *connection = XGetXCBConnection(display); // ... XCloseDisplay(display);
そこに何もないことに気づきxcb_disconnectました。これは正しいです?また、connectionディスプレイを閉じた後も有効ですか?
xcb_disconnect
connection
XCloseDisplayXCB 接続オブジェクトはディスプレイから派生しているため、ディスプレイが閉じられると接続が無効になるのは理にかなっているように思われます。
XCloseDisplay