MCPcopy Index your code
hub / github.com/paperwm/PaperWM / workArea

Method workArea

tiling.js:518–526  ·  view source on GitHub ↗

* Returns current workArea parameters for this space. * @returns object with x, y, width, and height values for this WorkArea.

()

Source from the content-addressed store, hash-verified

516 * @returns object with x, y, width, and height values for this WorkArea.
517 */
518 workArea() {
519 let workArea = Main.layoutManager.getWorkAreaForMonitor(this.monitor.index);
520 return {
521 x: workArea.x - this.monitor.x,
522 y: workArea.y - this.monitor.y + Settings.prefs.vertical_margin,
523 width: workArea.width,
524 height: workArea.height - Settings.prefs.vertical_margin - Settings.prefs.vertical_margin_bottom,
525 };
526 }
527
528 layoutGrabColumn(column, x, y0, targetWidth, availableHeight, time, grabWindow) {
529 let space = this;

Callers 15

layoutMethod · 0.95
isVisibleMethod · 0.95
isFullyVisibleMethod · 0.95
visibleRatioMethod · 0.95
addWindowMethod · 0.95
findTargetWindowFunction · 0.80
layoutColumnSimpleMethod · 0.80
animateDownFunction · 0.80
ensuredXFunction · 0.80
resizeHIncFunction · 0.80
resizeHDecFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected