Git Product home page Git Product logo

Comments (7)

ssokolow avatar ssokolow commented on May 18, 2024

Hmm. A libwnck bug would make sense but the whole reason I switched to libwnck was because the GDK approach also has bugs.

(When tiling applications like LibreOffice which set a non-default window gravity, using GDK to reposition gets a similar but more severe offset on all desktop environments unless you write a ridiculous amount of raw X11 code to detect it so you can fudge your positioning request to counteract it.)

If you consider that an acceptable trade-off, I can try adding an option to the config file to opt into using GDK for repositioning. Otherwise, I can only see two potential solutions:

  1. Get someone to patch libwnck for GTK+ 2.x to fix the problem.
  2. Wait for me to get caught up on my backlogged life enough to port this to GTK+ 3.x where, with luck, libwnck will be less buggy.

from quicktile.

travisallison avatar travisallison commented on May 18, 2024

I was unable to get it working using GDK without a hack. The hack can be seen in the pull request that I just made.

from quicktile.

ssokolow avatar ssokolow commented on May 18, 2024

For records cross-referencing, that's #55

from quicktile.

travisallison avatar travisallison commented on May 18, 2024

Sorry, I might have made a bunch of pull requests. I thought that there was a confirmation page before you submit the pull request. (I should have done compare first) Anyways, you can look at what I've done in the latest. As the commit says, I used a global variable. That way, the function signatures remain unchanged and you won't have to do much to remove the hack if you choose to add it in the first place. As the commit also says, unity has keyboard shortcuts that I just found which duplicates a lot of the functionality of quicktile.
http://askubuntu.com/questions/28086/what-are-unitys-keyboard-and-mouse-shortcuts

If you are going to rewrite the code for gtk3, then there's probably no need to add my unity hack. You definitely won't be hurting my feelings! I just thought you might want to know this info.

from quicktile.

ssokolow avatar ssokolow commented on May 18, 2024

I'll take a look at it anyway as soon as I can spare the time. I'm not sure how long it'll be before I can make room for the GTK+ 3 porting work.

from quicktile.

ssokolow avatar ssokolow commented on May 18, 2024

There's a GTK+ port now in the gtk3_port branch which uses libwnck 3.x.

If you're still listening, please test it and let me know if the problem is still present.

(And sorry for letting things fall to pieces for half a decade.)

from quicktile.

ssokolow avatar ssokolow commented on May 18, 2024

Closing for lack of response after two months.

from quicktile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.