Skip to content

Commit

Permalink
gTile@shuairan: fix terminal won't move after resize (#544)
Browse files Browse the repository at this point in the history
* for the move_resize_window, add metaWindow.move_frame that forces a move after the resize of move_resize_frame.  This fixes the issue with the terminal only resizing but not moving

* build 5.4 with changes
  • Loading branch information
DJWightman authored Dec 22, 2023
1 parent 6bd8d0d commit 3e70639
Show file tree
Hide file tree
Showing 4 changed files with 588 additions and 633 deletions.
7 changes: 4 additions & 3 deletions gTile@shuairan/files/gTile@shuairan/5.4/gTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ __webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"disable": () => (/* binding */ disable),
"enable": () => (/* binding */ enable),
"init": () => (/* binding */ init)
disable: () => (/* binding */ disable),
enable: () => (/* binding */ enable),
init: () => (/* binding */ init)
});

;// CONCATENATED MODULE: ../base/ui/GridSettingsButton.ts
Expand Down Expand Up @@ -1493,6 +1493,7 @@ const move_resize_window = (metaWindow, x, y, width, height) => {
if (!metaWindow)
return;
metaWindow.move_resize_frame(true, x, y, width, height);
metaWindow.move_frame(true, x, y);
};
const get_window_center = (window) => {
const pos_x = window.get_frame_rect().width / 2 + window.get_frame_rect().x;
Expand Down
Loading

0 comments on commit 3e70639

Please sign in to comment.