~thomir-deactivatedaccount/autopilot/trunk-make-click-call-more-pedantic

« back to all changes in this revision

Viewing changes to autopilot/process/_bamf.py

  • Committer: Thomi Richards
  • Date: 2014-02-26 19:13:39 UTC
  • mfrom: (406.2.39 autopilot)
  • Revision ID: thomi.richards@canonical.com-20140226191339-689x4coi2bchzhy4
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
505
505
        geometry = self._x_win.get_geometry()
506
506
        origin = GdkX11.X11Window.foreign_new_for_display(
507
507
            Gdk.Display().get_default(), self._xid).get_origin()
508
 
        return (origin[0], origin[1], geometry.width, geometry.height)
 
508
        return (origin[1], origin[2], geometry.width, geometry.height)
509
509
 
510
510
    @property
511
511
    def is_maximized(self):