-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow XOpenIM to return NULL? #277
Copy link
Copy link
Closed
Labels
DS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?
Description
Winit will panic if XOpenIM returns NULL. It is too strict IMHO. As it stands, winit can't find a valid input method.
I would much prefer the way urxvt does it:
xim = XOpenIM (display->dpy, 0, 0, 0);
if (!xim)
return false;
This is in relation to alacritty/alacritty/issues/732
(I'm in no way an expert on X11.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - enhancementWouldn't this be the coolest?Wouldn't this be the coolest?