Freewins: Precision

Over the past few days, between exams and bombardment with assignments and homework, I’ve been working on improving the shaping method in freewins (*cough* rather than fixing glaring bugs). Thanks to some help from b0le, Freewins can now literally ‘shape’ the input prevention window. This is not the shaping that was originally in freewins where the input was removed, but instead defining a custom shape for the window. Think xlogo -shape, xeyes -shape or the gmplayer control bar. Anyways, after learning how to use XShapeCombineMask, shaping was fairly easy, as all I had to do was use cairo to ‘draw’ out what the window looked like so that XShape knew what to do. Yes, that means we depend on cairo now. If I get bugged enough, I’ll ifdef it out, but otherwise, thats the way it is.

Anyways, what this now means is that, say you rotate a window 45 Degrees clockwise, instead of having this huge dead space between corners, input is not accepted on that area, so you will click on the things you look like you are clicking on. It might be jarring for the current users, but it’s better in the long run, and warlock nagged me to do it.

Obligatory Video:

7 thoughts on “Freewins: Precision

  1. Things are really slow here, I think you still may be shaping too often. I’ll investigate it myself and see what’s going on. Also, there are still some damage bugs.

  2. TTnet, the default one😛 completely sucks..
    Superonline and turk.net the alternatives.. but they’re still “alternative” because very smaller than ttnet..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s