forked from enlightenment/efl
ecore-x xlib errors now only print when sync is enabled
I give up. people continually complain about these and submit them as crashes, so now they're only visible if you set ECORE_X_SYNC. the next step is an #ifdef ISCOMFITOR.
This commit is contained in:
parent
26a6b01369
commit
42fb964592
|
@ -99,6 +99,7 @@ static int
|
|||
_ecore_x_error_handle(Display *d,
|
||||
XErrorEvent *ev)
|
||||
{
|
||||
if (!_ecore_xlib_sync) goto skip;
|
||||
switch (ev->error_code)
|
||||
{
|
||||
case BadRequest: /* bad request code */
|
||||
|
@ -153,6 +154,7 @@ _ecore_x_error_handle(Display *d,
|
|||
ERR("BadImplementation");
|
||||
break;
|
||||
}
|
||||
skip:
|
||||
if (d == _ecore_x_disp)
|
||||
{
|
||||
_error_request_code = ev->request_code;
|
||||
|
|
Loading…
Reference in New Issue