mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
parent
f62baeda64
commit
41372a96ed
1 changed files with 3 additions and 1 deletions
|
@ -115,7 +115,9 @@ impl LinuxPlatform {
|
|||
callbacks: Mutex<Callbacks>,
|
||||
state: Mutex<LinuxPlatformState>,
|
||||
) -> Self {
|
||||
let (xcb_connection, x_root_index) = xcb::Connection::connect(None).unwrap();
|
||||
let (xcb_connection, x_root_index) =
|
||||
xcb::Connection::connect_with_extensions(None, &[xcb::Extension::Present], &[])
|
||||
.unwrap();
|
||||
let atoms = XcbAtoms::intern_all(&xcb_connection).unwrap();
|
||||
let xcb_connection = Arc::new(xcb_connection);
|
||||
let client_dispatcher: Arc<dyn ClientDispatcher + Send + Sync> =
|
||||
|
|
Loading…
Reference in a new issue