Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 1425423
Author: Jose Maranan <[email protected]>
Date:   Tue Nov 2 14:36:28 2021 -0400

    chore: do not re-render on meta/ws/monitor change

    This seems to impact GNOME-40+ drag/drop not sure why yet.

commit 345e1fb
Author: Jose Maranan <[email protected]>
Date:   Sat Oct 30 07:29:52 2021 -0400

    fix: when opening apps from overview, should tile

    Fixes #77

commit 45cfa30
Author: Jose Maranan <[email protected]>
Date:   Wed Nov 3 11:30:54 2021 -0400

    Update issue templates

commit 71d98d1
Author: Jose Maranan <[email protected]>
Date:   Wed Nov 3 10:18:07 2021 -0400

    docs: update tests for drag/drop

commit d6400d4
Author: Jose Maranan <[email protected]>
Date:   Wed Nov 3 09:55:18 2021 -0400

    fix: update checking for mod keys using Clutter

    Fixes #74
  • Loading branch information
jmmaranan committed Nov 3, 2021
1 parent 99e8608 commit 854f525
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions window.js
Original file line number Diff line number Diff line change
Expand Up @@ -1584,15 +1584,16 @@ var WindowManager = GObject.registerClass(
if (focusNodeWindow.grabMode === GRAB_TYPES.MOVING && focusNodeWindow.mode === WINDOW_MODES.TILE)
focusNodeWindow.mode = WINDOW_MODES.GRAB_TILE;

this.renderTree("grab-op-begin");
this.freezeRender();
focusNodeWindow.initGrabOp = grabOp;
focusNodeWindow.initRect = Utils.removeGapOnRect(frameRect, gaps);
}
this.renderTree("grab-op-begin");
this.freezeRender();
Logger.debug(`grab op begin ${grabOp}, orientation ${orientation}, direction ${direction}`);
}

_handleGrabOpEnd(_display, _metaWindow, grabOp) {
this.unfreezeRender();
let focusMetaWindow = this.focusMetaWindow;
if (!focusMetaWindow) return;
let focusNodeWindow = this.findNodeWindow(focusMetaWindow);
Expand All @@ -1611,7 +1612,6 @@ var WindowManager = GObject.registerClass(
}
}
this._grabCleanup(focusNodeWindow);
this.unfreezeRender();

if (focusMetaWindow.get_maximized() === 0) {
this.renderTree("grab-op-end");
Expand Down

0 comments on commit 854f525

Please sign in to comment.