Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
jtaala committed Jul 19, 2024
2 parents d061be8 + 373a99e commit a3bbdc1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "https://github.com/paperwm/PaperWM",
"settings-schema": "org.gnome.shell.extensions.paperwm",
"shell-version": [ "45", "46" ],
"version-name": "46.13.4",
"version-name": "46.13.5",
"donations": {
"buymeacoffee": "jaytaala",
"patreon": "valpackett"
Expand Down
6 changes: 3 additions & 3 deletions navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ActionDispatcher {
this.keyPressCallbacks.push(handler);
}

show(backward, binding, mask) {
show(_backward, binding, mask) {
this._modifierMask = primaryModifier(mask);
this.navigator = getNavigator();
Topbar.fixTopBar();
Expand Down Expand Up @@ -150,7 +150,7 @@ class ActionDispatcher {
});
}

_keyPressEvent(actor, event) {
_keyPressEvent(_actor, event) {
if (!this._modifierMask) {
this._modifierMask = primaryModifier(event.get_state());
}
Expand Down Expand Up @@ -183,7 +183,7 @@ class ActionDispatcher {
return Clutter.EVENT_STOP;
}

_keyReleaseEvent(actor, event) {
_keyReleaseEvent(_actor, event) {
if (this._destroy) {
dismissDispatcher(Clutter.GrabState.KEYBOARD);
}
Expand Down
6 changes: 4 additions & 2 deletions tiling.js
Original file line number Diff line number Diff line change
Expand Up @@ -5201,7 +5201,6 @@ export function takeWindow(metaWindow, space, params) {
const animateTake = (window, existing) => {
navigator._moving.push(window);
if (!existing) {
// backgroundGroup.add_child(metaWindow.clone);
Utils.actor_add_child(backgroundGroup, metaWindow.clone);
}

Expand Down Expand Up @@ -5258,7 +5257,7 @@ export function takeWindow(metaWindow, space, params) {

// get the action dispatcher signal to connect to
Navigator.getActionDispatcher(Clutter.GrabState.KEYBOARD)
.addKeypressCallback((modmask, keysym, _event) => {
.addKeypressCallback((_modmask, keysym, _event) => {
switch (keysym) {
case Clutter.KEY_space: {
// remove the last window you got
Expand Down Expand Up @@ -5304,7 +5303,10 @@ export function takeWindow(metaWindow, space, params) {
});

signals.connectOneShot(navigator, 'destroy', () => {
// ensure keyboard grabstate is dimissed (in case moving stopped via pointer)
Navigator.dismissDispatcher(Clutter.GrabState.KEYBOARD);
navigator.showTakeHint(false);

let selectedSpace = spaces.selectedSpace;
navigator._moving.forEach(w => {
changeSpace(w);
Expand Down

0 comments on commit a3bbdc1

Please sign in to comment.