@@ -262,7 +262,7 @@ export class Space extends Array {
262262 this . _floating = [ ] ;
263263 this . _populated = false ;
264264
265- // default focusMode (can be overriden by saved user pref in Space.init method)
265+ // default focusMode (can be overridden by saved user pref in Space.init method)
266266 this . focusMode = FocusModes . DEFAULT ;
267267 this . focusModeIcon = new Topbar . FocusIcon ( {
268268 name : 'panel' ,
@@ -1331,7 +1331,7 @@ export class Space extends Array {
13311331 return [ Math . round ( vx ) , Math . round ( vy ) ] ;
13321332 }
13331333
1334- /** Transform global coordinates to scroll cooridinates (cloneContainer relative) */
1334+ /** Transform global coordinates to scroll coordinates (cloneContainer relative) */
13351335 globalToScroll ( gx , gy , { useTarget = false } = { } ) {
13361336 // Use the smart transform on the actor, as that's the one we scale etc.
13371337 // We can then use straight translation on the scroll which makes it possible to use target instead if wanted.
@@ -2282,7 +2282,7 @@ export const Spaces = class Spaces extends Map {
22822282
22832283 let primary = Main . layoutManager . primaryMonitor ;
22842284 if ( ! primary ) {
2285- // setup periodic timout to call layout on all spaces 5 times (1 second apart)
2285+ // setup periodic timeout to call layout on all spaces 5 times (1 second apart)
22862286 monitorChangeTimeout = Utils . periodic_timeout ( {
22872287 count : 5 ,
22882288 init : ( ) => {
@@ -3147,7 +3147,7 @@ export const Spaces = class Spaces extends Map {
31473147 let time = animate ? Settings . prefs . animation_time : 0 ;
31483148 let onComplete = ( ) => {
31493149 // Hide any spaces that aren't visible This
3150- // avoids a nasty preformance degregration in some
3150+ // avoids a nasty performance degregration in some
31513151 // cases
31523152 for ( const space of spaces . values ( ) ) {
31533153 if ( ! visible . get ( space ) ) {
@@ -3395,7 +3395,7 @@ export function hasTransient(metaWindow) {
33953395}
33963396
33973397/**
3398- * Conveniece method for checking if a window is floating.
3398+ * Convenience method for checking if a window is floating.
33993399 * Will determine what space this window is on.
34003400 * @param metaWindow
34013401 * @returns
@@ -3865,7 +3865,7 @@ class SaveState {
38653865
38663866 /**
38673867 * For monitors, since these are upgraded with "connector" field,
3868- * which we delete on disable. Beefore we delete this field, we want
3868+ * which we delete on disable. Before we delete this field, we want
38693869 * a copy on connector (and index) to restore space to monitor.
38703870 */
38713871 if ( spaces ?. monitors ) {
@@ -4569,7 +4569,7 @@ export function grabEnd(_metaWindow, _type) {
45694569
45704570/**
45714571 * Sets the selected window on other workspaces inactive.
4572- * Particularly noticable with multi-monitor setups.
4572+ * Particularly noticeable with multi-monitor setups.
45734573 */
45744574export function setAllWorkspacesInactive ( ) {
45754575 spaces . forEach ( s => s . setSelectionInactive ( ) ) ;
@@ -4651,7 +4651,7 @@ export function focus_handler(metaWindow) {
46514651
46524652 /**
46534653 * if there then clone.y shouldn't be 0. This can happen though if a window
4654- * is fullscreened when `layout` is called. In this case, when we focuse on a
4654+ * is fullscreened when `layout` is called. In this case, when we focus on a
46554655 * window that isn't fullscreen but has clone.y 0 ==> need a layout call.
46564656 */
46574657 if (
@@ -4921,7 +4921,7 @@ export function getCycleWindowWidths(metaWindow) {
49214921 let workArea = space . workArea ( ) ;
49224922
49234923 if ( steps [ 0 ] <= 1 ) {
4924- // Steps are specifed as ratios -> convert to pixels
4924+ // Steps are specified as ratios -> convert to pixels
49254925 // Make sure two windows of "compatible" width will have room:
49264926 let availableWidth = workArea . width - Settings . prefs . horizontal_margin * 2 - Settings . prefs . window_gap ;
49274927 steps = steps . map ( x => Math . floor ( x * availableWidth ) ) ;
@@ -5043,7 +5043,7 @@ export function activateLastWindow(_mw, space) {
50435043/**
50445044 * Calls `activateWindow` only after an actor is visible and rendered on the stage.
50455045 * The standard `Main.activateWindow(mw)` should be used in general, but this method
5046- * may be requried under certain use cases (such as activating a floating window
5046+ * may be required under certain use cases (such as activating a floating window
50475047 * programmatically before it's rendered, see
50485048 * https://github.com/paperwm/PaperWM/issues/448 for details).
50495049 */
@@ -5530,7 +5530,7 @@ export function takeWindow(metaWindow, space, options = {}) {
55305530 } ) ;
55315531
55325532 signals . connectOneShot ( navigator , 'destroy' , ( ) => {
5533- // ensure keyboard grabstate is dimissed (in case moving stopped via pointer)
5533+ // ensure keyboard grabstate is dismissed (in case moving stopped via pointer)
55345534 Navigator . dismissDispatcher ( Clutter . GrabState . KEYBOARD ) ;
55355535 navigator . showTakeHint ( false ) ;
55365536
0 commit comments