I've only *quickly* looked at this, but the crash log does strike me as potentially a bug in CoreGraphics. Could you please file a radar (http://bugreport.apple.com) with the crash log.
Also, would you mind posting the patches that you described, so I can try it out on my system? It doesn't matter if they're not generalized enough to be integrated yet... as long as I can use them to trigger the bug. Thanks, Jeremy On Aug 26, 2012, at 05:47, doh123 <doh...@doh123.com> wrote: > I'm just looking for a bit of help, plus a suggestion (this "feature" I add > should be put in XQuartz) > > I add something to my custom build (WineskinX11) thats very minor thats not > normally in XQuartz, but you should really add it. My problem is that the > current way I have it working, it has always worked fine in 10.6 and 10.7, > but fails in 10.8... > > What I have added is to make Cmd+Opt+A be able to toggle back to captured > fullscreen. Normally in XQuartz if you want to multitask in a locked > fullscreen its a major pain, but you can Cmd+Opt+A to get out of fullscreen > mode.... but then often your stuck not being able to get back into it. What > I did to change the code was basically make it so Cmd+Opt+A wasn't disabled > in Rootless mode, and in quartzRandR.c added in a variable... > > QuartzModeInfo wsLastUsedMode; > > then down in QuartzRandRToggleFullscreen(void) When it toggles to rootless on > the Cmd+Opt+A key combo I added a line... > wsLastUsedMode = pQuartzScreen->currentMode; > Added in right before it calls QuartzRandRSetFakeRootless() > > In the code there if it was already in Rootless it normally just say that its > ignoring a change because its in rootless, but I changed that to run... > QuartzRandRSetMode(pScreen, &wsLastUsedMode, TRUE); > > > This has worked fine for a long time.. on 10.5, 10.6 and 10.7... but on 10.8 > its a different story. Cmd+Opt+A out of captured fullscreen works ok, but > going back in... if its not having to change resolutions (like 1280x800 > desktop and 1280x800 fullscreen) it occasionally works... but if the > fullscreen was any lower res, the X server always crashes... > > I put a crashlog here... http://pastebin.com/W4uJ6S5b > > That was a test build Wineskin wrapper of course running a game in Wine and > crashed trying to do the changed Cmd+Opt+A back into fullscreen. its > xorg-server 1.12.99.905 as you can see in the log, but I've tested with > multiple 1.12 versions and some earlier, and it happens in 10.8 on all of > them. This build runs fine on 10.6 for me. > > as a test, I opened an xterm and used xrandr to change back, but it crashes > too... so I don't think my code change is causing the crash specifically. > Now if I launch a normal XQuartz 2.7.2, and Cmd+Opt+A out and use xrandr to > get back to fullscreen it doesn't crash though... so I'm a bit at a loss of > why its happening, as I don't have any changes to the code for resolution > switching other than this one thing... I used to, but now that RandR and > screen capturing is working good in XQuartz, I took all my code out that did > that stuff. > > Any thoughts anyone has would be appreciated, and I really think this would > be a useful feature to add to XQuartz anyways, so people can toggle out and > back in to the captured fullscreen for multitasking without having to use in > game options to adjust resolutions or launch xterm to use xrandr. > > _______________________________________________ > Xquartz-dev mailing list > Xquartz-dev@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/xquartz-dev _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/xquartz-dev