Skip to content

Commit

Permalink
allow monitor indexes in MoveResizeTo
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Gallant (Ocelot) authored and Andrew Gallant (Ocelot) committed Aug 10, 2011
1 parent e9f1d21 commit 69899dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openbox/actions/moveresizeto.c
Expand Up @@ -112,7 +112,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
case PREV_MONITOR:
mon = (cmon == 0) ? (screen_num_monitors - 1) : (cmon - 1); break;
default:
g_assert_not_reached();
/* g_assert_not_reached(); */
/* Why not? It's valid to use a monitor index... */
;
}

area = screen_area(c->desktop, mon, NULL);
Expand Down

0 comments on commit 69899dc

Please sign in to comment.