Fix bad declarations
meta_screen_get_current_monitor now returns an integer, not a pointer.
This commit is contained in:
parent
277e8bdad9
commit
50bc4ad0e1
@ -105,7 +105,7 @@ find_next_cascade (MetaWindow *window,
|
||||
int window_width, window_height;
|
||||
int cascade_stage;
|
||||
MetaRectangle work_area;
|
||||
const MetaMonitorInfo* current;
|
||||
int current;
|
||||
|
||||
sorted = g_list_copy (windows);
|
||||
sorted = g_list_sort (sorted, northwestcmp);
|
||||
|
@ -3674,7 +3674,7 @@ meta_window_can_tile_maximized (MetaWindow *window)
|
||||
gboolean
|
||||
meta_window_can_tile_side_by_side (MetaWindow *window)
|
||||
{
|
||||
const MetaMonitorInfo *monitor;
|
||||
int monitor;
|
||||
MetaRectangle tile_area;
|
||||
MetaFrameBorders borders;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user