Question...

Where/How would I go about putting a shortcut key command in Xquartz?

basically when the display is captured, theres no way to switch to another 
program.  What I'd like to do is somehow bind pressing CMD+Tab CMD+H and/or 
CMD+M (since they do nothing) to actually do something.  I'd like to find a way 
to make any of these release display capturing and then Hide Xquartz.  Then 
have Xquartz, anytime after that just happened when its reactivated, to capture 
the screen again like before...

basically anything for multitasking of some sort is good even if its not ideal  
:-)

attached is the current screen capturing patch that seems to work ok so far.

Attachment: dcapture.patch
Description: Binary data


On Jan 23, 2011, at 6:49 PM, Jeremy Huddleston wrote:

> 
> On Jan 23, 2011, at 16:37, doh123 wrote:
> 
>> yeah, the captured display is always like a 2 billion level on the shielding 
>> window...  I'm just not sure how to actually code the changes to tell it to 
>> change the windowing levels so it will use the max one.  
> 
> Change rooted_window_levels in xpr.h
> 
>> Can I just call the xpr function and reset the levels?  I'm just a bit 
>> clueless on the structure of the program and what part does what 
>> functions... so feel a little lost when hacking away at the code.
>> 
>> I don't think any other app is really grabbing focus.  Doesn't an app that 
>> grabs focus actually change the top menu bar?
> 
> If you search the archives, you'll see that these are applications that grab 
> focus and then drop it (or run and have a very small life).
> 
>> What happens is, every window (rootless or fullscreen) including the 
>> shielding window, lose focus... nothing else really grabs focus, and Xquartz 
>> is still the active application... its just all windows lose focus for a 
>> second or two, then the last window that was in focus comes back into focus 
>> if you haven't click on anything.  Its not actually changing to another 
>> app...  I've reproduced this on many many machines now, even with bare 
>> minimum software running to get OSX to run, including getting rid of 
>> Dashboard or anything else that could be problematic, and it never 
>> changes... just once an hour or two, sometimes only takes 10 minutes... its 
>> totally random... just "poof" and all X11 windows lose focus... then come 
>> back.  Its highly annoying in fullscreen since it hides the shielding window 
>> and you lose the whole fullscreen and see the desktop... it happens more 
>> often when I'm not running quartz-wm than when I am. (I never run it in 
>> fullscreen)
> 
> Yep.  That's consistent with what has been reported over the past few years.  
> Some people were able to fix this by disabling lastfm, itunes helper, ical 
> helper, growl, and some others.
> 
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev

_______________________________________________
Xquartz-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev

Reply via email to