Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/core/constraints.c b/src/core/constraints.c
- index 56238406..9d39772b 100644
- --- a/src/core/constraints.c
- +++ b/src/core/constraints.c
- @@ -602,6 +602,10 @@ static void
- update_onscreen_requirements (MetaWindow *window,
- ConstraintInfo *info)
- {
- + window->require_fully_onscreen = false;
- + window->require_on_single_monitor = false;
- + window->require_titlebar_visible = false;
- + return;
- gboolean old;
- /* We only apply the various onscreen requirements to normal windows */
- @@ -1444,6 +1448,7 @@ constrain_aspect_ratio (MetaWindow *window,
- ConstraintPriority priority,
- gboolean check_only)
- {
- + return TRUE;
- double minr, maxr;
- gboolean constraints_are_inconsistent, constraint_already_satisfied;
- int fudge, new_width, new_height;
- @@ -1654,6 +1659,7 @@ constrain_to_single_monitor (MetaWindow *window,
- ConstraintPriority priority,
- gboolean check_only)
- {
- + return TRUE;
- MetaBackend *backend = meta_get_backend ();
- MetaMonitorManager *monitor_manager =
- meta_backend_get_monitor_manager (backend);
- @@ -1719,6 +1725,7 @@ constrain_titlebar_visible (MetaWindow *window,
- ConstraintPriority priority,
- gboolean check_only)
- {
- + return TRUE;
- gboolean unconstrained_user_action;
- gboolean retval;
- int bottom_amount;
- @@ -1807,6 +1814,7 @@ constrain_partially_onscreen (MetaWindow *window,
- ConstraintPriority priority,
- gboolean check_only)
- {
- + return TRUE;
- gboolean retval;
- int top_amount, bottom_amount;
- int horiz_amount_offscreen, vert_amount_offscreen;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement