dont assert when given an out-of-range desktop
This commit is contained in:
parent
718be4c911
commit
bfa46e06b6
1 changed files with 0 additions and 2 deletions
|
@ -639,8 +639,6 @@ void Screen::restack(bool raise, Client *client)
|
|||
|
||||
void Screen::changeDesktop(long desktop)
|
||||
{
|
||||
assert(desktop >= 0 && desktop < _num_desktops);
|
||||
|
||||
if (!(desktop >= 0 && desktop < _num_desktops)) return;
|
||||
|
||||
printf("Moving to desktop %ld\n", desktop);
|
||||
|
|
Loading…
Reference in a new issue