MCPcopy Create free account
hub / github.com/GNOME/gnome-shell / _isMyWindow

Method _isMyWindow

js/ui/workspaceThumbnail.js:454–458  ·  view source on GitHub ↗
(actor)

Source from the content-addressed store, hash-verified

452
453 // Tests if @actor belongs to this workspace and monitor
454 _isMyWindow(actor) {
455 const win = actor.meta_window;
456 return win.located_on_workspace(this.metaWorkspace) &&
457 (win.get_monitor() === this.monitorIndex);
458 }
459
460 // Tests if @win should be shown in the Overview
461 _isOverviewWindow(win) {

Callers 4

_initMethod · 0.95
_doAddWindowMethod · 0.95
acceptDropInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected