mirror of
https://github.com/FranP-code/wintile.git
synced 2025-10-13 00:33:46 +00:00
Fixed restoring of apps started maximized
This commit is contained in:
@@ -223,6 +223,10 @@ function sendMove(direction) {
|
|||||||
_log("monitorToLeft: " + monitorToLeft);
|
_log("monitorToLeft: " + monitorToLeft);
|
||||||
_log("monitorToRight: " + monitorToRight);
|
_log("monitorToRight: " + monitorToRight);
|
||||||
|
|
||||||
|
// First, check if maximized and apply a wintile state if so
|
||||||
|
if (!app.wintile && app.maximized_horizontally && app.maximizedVertically) {
|
||||||
|
initApp(app, true);
|
||||||
|
}
|
||||||
if (!app.wintile) {
|
if (!app.wintile) {
|
||||||
// We are not in a tile. Reset and find the most logical position
|
// We are not in a tile. Reset and find the most logical position
|
||||||
_log('Not in tile.')
|
_log('Not in tile.')
|
||||||
|
|||||||
Reference in New Issue
Block a user