mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 06:08:42 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
a7ab741633
commit
ed2f489555
2 changed files with 17 additions and 17 deletions
|
@ -2480,7 +2480,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height)
|
|||
}
|
||||
else
|
||||
{
|
||||
XSetWMNormalHints(_dpy, _win, StdHints);
|
||||
XSetWMNormalHints(_dpy, _win, StdHints);
|
||||
}
|
||||
|
||||
if (width != _CurrentMode.Width || height != _CurrentMode.Height)
|
||||
|
|
|
@ -106,22 +106,22 @@ void CUnixEventEmitter::createIM()
|
|||
#endif
|
||||
}
|
||||
|
||||
void CUnixEventEmitter::closeIM()
|
||||
{
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
if (_ic)
|
||||
{
|
||||
XDestroyIC(_ic);
|
||||
_ic = 0;
|
||||
}
|
||||
|
||||
if (_im)
|
||||
{
|
||||
XCloseIM(_im);
|
||||
_im = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
void CUnixEventEmitter::closeIM()
|
||||
{
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
if (_ic)
|
||||
{
|
||||
XDestroyIC(_ic);
|
||||
_ic = 0;
|
||||
}
|
||||
|
||||
if (_im)
|
||||
{
|
||||
XCloseIM(_im);
|
||||
_im = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void CUnixEventEmitter::submitEvents(CEventServer & server, bool allWindows)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue