diff --git a/tiling.js b/tiling.js index 4e98ed707..5f33b64c3 100644 --- a/tiling.js +++ b/tiling.js @@ -541,7 +541,7 @@ export class Space extends Array { const k = column.indexOf(grabWindow); if (k < 0) { - throw new Error(`Anchor doesn't exist in column ${grabWindow.title}`); + throw new Error(`Anchor doesn't exist in column ${grabWindow ? grabWindow.title : "unknown"}`); } const gap = Settings.prefs.window_gap; @@ -741,7 +741,7 @@ export class Space extends Array { let resultingWidth, relayout; let allocator = allocators && allocators[i]; - if (inGrab && column.includes(inGrab.window) && !allocator) { + if (inGrab && selectedInColumn && column.includes(inGrab.window) && !allocator) { [resultingWidth, relayout] = this.layoutGrabColumn(column, x, y0, targetWidth, availableHeight, time, selectedInColumn); diff --git a/vm.nix b/vm.nix index 164621ccd..fca1360bd 100644 --- a/vm.nix +++ b/vm.nix @@ -5,6 +5,7 @@ environment.systemPackages = with pkgs; [ paperwm (lib.getBin libinput) + chromium ]; ### Set graphical session to auto-login GNOME @@ -33,6 +34,15 @@ ]; }; + #imports = [ ]; + #virtualisation.qemu.options = [ + # "-device qxl" + #]; + services.xserver.videoDrivers = [ "qxl" ]; + virtualisation.qemu.options = [ "-vga qxl" ]; + virtualisation.memorySize = 8192; + virtualisation.cores = 8; + ### Remove unnecessary dependencies #NOTE: This drops many GTK4 apps, re-enable if needed for testing. services.gnome.core-utilities.enable = false;