Skip to content

Commit

Permalink
Fix return type of LayoutManager.getWorkAreaForMonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
schnz committed Feb 10, 2024
1 parent b1cc274 commit 9c6e9c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gnome-shell/src/ui/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type Gio from '@girs/gio-2.0';
import type Clutter from '@girs/clutter-13';
import type St from '@girs/st-13';
import type Meta from '@girs/meta-13';
import type Mtk from '@girs/mtk-13';

import { EventEmitter } from '../misc/signals.js';

Expand Down Expand Up @@ -207,7 +208,7 @@ export class LayoutManager extends GObject.Object {
*/
public removeChrome(actor: Clutter.Actor): void;

public getWorkAreaForMonitor(monitorIndex: number) : void
public getWorkAreaForMonitor(monitorIndex: number): Mtk.Rectangle;

/**
* This call guarantees that we return some monitor to simplify usage of it
Expand Down

0 comments on commit 9c6e9c3

Please sign in to comment.