angelalui153 / shiftit

Automatically exported from code.google.com/p/shiftit
0 stars 0 forks source link

Does not work for X11 windows #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Either local or remotely-shown X11 windows are not affected by any of the 
commands.

What version of the product are you using?
XQuartz 2.3.4 (xorg-server 1.4.2-apple53)

On what operating system?
10.6.3

Are you using a dual monitor?
no

Please provide any additional information below.
I am pretty sure this something basic about X11 windows, but I was wondering if 
there's some 
way to get them to listen to Shiftit. I typically display a lot of remote 
windows, and arranging 
them without Shiftit is a nightmare. 

Original issue reported on code.google.com by peter.kh...@gmail.com on 11 May 2010 at 9:04

GoogleCodeExporter commented 8 years ago
Functions in these files can be called from WindowSizer.m when dealing with X11 
windows.  You need to link with X11 and Glib libraries as well, but it works on 
my end.  Also, I don't know if this is the proper place to submit this, but 
here goes.

Original comment by knightqu...@gmail.com on 20 Aug 2010 at 1:36

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks! I don't actually know OSX programming well enough to make use of your 
advice. Have you gotten the whole thing to work? If so, could you post all 
necessary changes (e.g. WindowSizer.m), or even a whole source tarball? Would 
love to get this to work. 

Original comment by peter.kh...@gmail.com on 4 Sep 2010 at 2:52

GoogleCodeExporter commented 8 years ago
One problem I am having with this is that my mac is a x64 Mac Mini.  Because of 
this, it only has the x64 version of libX11.a, the library file that allows 
access to the X11 windows.  In summary, I don't know how to set up Xcode to 
compile anything other than an x64 binary on my system, so I had to modify the 
project's target type.  Having said that, here are the files that I have made 
changes to.  You will have to add libX11.a and libglib-2.0.dylib to your 
project.  I installed libglib-2.0.dylib through the MacPorts command "sudo port 
install glib2".  libX11.a was, I assume, installed with either X11 or Xcode.  
If you have a 64-bit Mac, you will have to change the project to build a 64-bit 
executable.  To do this, expand the Targets category in Xcode, right-click the 
Shiftit target, and click Get Info.  Under the build tab, change Architectures 
to "64-bit Intel".  At this point, it should compile.

If anyone has a solution on how to build a universal binary, I would love to 
hear it.

Original comment by knightqu...@gmail.com on 4 Sep 2010 at 8:38

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

I forked this app as it is no longer in development. Today I added the X11 
support so if you want, you can check it out and test it. It's here: 
http://github.com/fikovnik/ShiftIt/tree/refactoring in the refactoring branch. 
I have not made a new release (I need to properly test it first) so you have to 
build it yourself. Please feel free to submit any issues you find.

/cheers
Filip

Original comment by krikava on 17 Oct 2010 at 11:42