graywolf icon indicating copy to clipboard operation
graywolf copied to clipboard

OSX install using yageek fork, graywolf hangs when using graphics

Open wiltonburke opened this issue 7 years ago • 1 comments

I installed graywolf using the fork yageek setup for osx installation. This works correctly when I run graywolf without graphics. However running with graphics the process hangs and when I abort the program I receive the following error:

XIO: fatal IO error 35 (Resource temporarily unavailable) on X server "/private/tmp/com.apple.launchd.3rHjgMkpM3/org.macosforge.xquartz:0" after 79 requests (79 known processed) with 20 events remaining.

To resolve this I removed the following while(TRUE) loop in src/Ylib/draw.c line 636

/* -------------------------------------------------------------
   Now wait to window to become visible.  This code is necessary 
   since some window managers (uwm) map the window as a ghost 
   image and wait for user to resize window.  Other window 
   managers (twm) map window as requested.  Need to accomodate
   both.
-------------------------------------------------------------- */

/* while( TRUE ){ if( XCheckTypedWindowEvent(dpyS,backS,VisibilityNotify,&event)){ if( event.xvisibility.state == VisibilityUnobscured ){ break ; } } } */

wiltonburke avatar Jan 06 '18 20:01 wiltonburke

Wanted to +1 this solution. It removed the hang on my MacOS 10.13.4 system. Removing this block might not be a great solution, but it has worked for me so far.

lsthiros avatar Apr 18 '18 01:04 lsthiros