8 lines
196 B
JavaScript
8 lines
196 B
JavaScript
|
effects.windowAdded.connect(function (window) {
|
||
|
if (effect.grab(window, Effect.WindowAddedGrabRole)) {
|
||
|
sendTestResponse('ok');
|
||
|
} else {
|
||
|
sendTestResponse('fail');
|
||
|
}
|
||
|
});
|