fjolnir / xnomad

A tiling window manager for OS X, written in tranquil.
484 stars 28 forks source link

Emacs.app doesn't get picked up #50

Closed tazjin closed 11 years ago

tazjin commented 11 years ago

Emacs.app currently never gets picked up by Xnomad, using both nightly builds and stable releases from http://emacsformacosx.com/builds

Apparently other window managers like Slate do pick it up so it seems to support the Accessibility API. What else could be wrong?

minimal commented 11 years ago

For some reason the latest release of Emacs sets the main window as AXTextField instead of AXWindow or AXApplication. To get it to pick up emacs I added AXTextField to the map of windows xnomad should manage:

https://github.com/minimal/xnomad/commit/7ac9b1f5cf0475694e8d42d3bb23bdcf93184a2a

tazjin commented 11 years ago

@minimal Thanks, awesome! I'll leave this open so that Fjölnir can decide whether he wants this in his master.

fjolnir commented 11 years ago

It would make more sense to post a patch to Emacs, than working around this in xnomad :)