Remove simple uses of ClutterRectangle

https://bugzilla.gnome.org/show_bug.cgi?id=699975
This commit is contained in:
Jasper St. Pierre
2013-05-08 21:53:20 -04:00
parent 9c839cdc70
commit db89648f62
5 changed files with 10 additions and 10 deletions

View File

@ -43,7 +43,7 @@ let dragMonitors = [];
function _getEventHandlerActor() {
if (!eventHandlerActor) {
eventHandlerActor = new Clutter.Rectangle({ width: 0, height: 0 });
eventHandlerActor = new Clutter.Actor({ width: 0, height: 0 });
Main.uiGroup.add_actor(eventHandlerActor);
// We connect to 'event' rather than 'captured-event' because the capturing phase doesn't happen
// when you've grabbed the pointer.