Skip to content

Commit 10244d7

Browse files
laurentlbmjackpot51
authored andcommitted
Move comment to else statement
1 parent c3dfe86 commit 10244d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,6 @@ export class Ext extends Ecs.System<ExtEvent> {
17901790
});
17911791

17921792
if (GNOME_VERSION?.startsWith("3.")) {
1793-
// GNOME 40 removed the first argument of the callback
17941793
this.connect(display, 'grab-op-begin', (_, _display, win, op) => {
17951794
this.on_grab_start(win, op);
17961795
});
@@ -1799,6 +1798,7 @@ export class Ext extends Ecs.System<ExtEvent> {
17991798
this.register_fn(() => this.on_grab_end(win, op));
18001799
});
18011800
} else {
1801+
// GNOME 40 removed the first argument of the callback
18021802
this.connect(display, 'grab-op-begin', (_display, win, op) => {
18031803
this.on_grab_start(win, op);
18041804
});

0 commit comments

Comments
 (0)