mirror of
https://github.com/elementary/gala.git
synced 2024-12-26 10:44:46 +03:00
Removed commented code and fixed spacing
This commit is contained in:
parent
c2f2054dcb
commit
b65e75cccd
@ -212,8 +212,8 @@ namespace Gala
|
|||||||
plugin.begin_modal ();
|
plugin.begin_modal ();
|
||||||
|
|
||||||
int width, height;
|
int width, height;
|
||||||
//screen.get_size (out width, out height);
|
|
||||||
unowned Meta.Rectangle area;
|
unowned Meta.Rectangle area;
|
||||||
|
|
||||||
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
||||||
width = area.width;
|
width = area.width;
|
||||||
height = area.height;
|
height = area.height;
|
||||||
|
@ -126,8 +126,8 @@ namespace Gala
|
|||||||
}
|
}
|
||||||
|
|
||||||
unowned Rectangle area;
|
unowned Rectangle area;
|
||||||
|
|
||||||
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
||||||
//plugin.screen.get_active_workspace ().get_work_area_all_monitors (out area);
|
|
||||||
|
|
||||||
var n_wins = windows.length ();
|
var n_wins = windows.length ();
|
||||||
var index = 0;
|
var index = 0;
|
||||||
@ -185,8 +185,8 @@ namespace Gala
|
|||||||
});
|
});
|
||||||
|
|
||||||
int width, height;
|
int width, height;
|
||||||
//plugin.get_screen ().get_size (out width, out height);
|
|
||||||
unowned Rectangle area;
|
unowned Rectangle area;
|
||||||
|
|
||||||
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
||||||
width = area.width;
|
width = area.width;
|
||||||
height = area.height;
|
height = area.height;
|
||||||
@ -314,8 +314,8 @@ namespace Gala
|
|||||||
animating = true;
|
animating = true;
|
||||||
|
|
||||||
int width, height;
|
int width, height;
|
||||||
//plugin.get_screen ().get_size (out width, out height);
|
|
||||||
unowned Rectangle area;
|
unowned Rectangle area;
|
||||||
|
|
||||||
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
plugin.screen.get_monitor_geometry (plugin.screen.get_primary_monitor (), out area);
|
||||||
width = area.width;
|
width = area.width;
|
||||||
height = area.height;
|
height = area.height;
|
||||||
|
Loading…
Reference in New Issue
Block a user