Change to priority classes. Will probably require some fixings.

- Now using priority classes internally and in protocol
- Converting (depreciated) priorty numbers to the classes BACKGROUND,
  INFO and FOREGROUND
- Added menu_goto command (only works when menu not active)
This commit is contained in:
robijn
2003-02-27 21:20:20 +00:00
parent 4a7ef8d847
commit 71922063b8
19 changed files with 372 additions and 292 deletions
+3 -9
View File
@@ -210,10 +210,7 @@ client_add_screen (Client * c, Screen * s)
LL_Push (c->screenlist, (void *) s);
/* Now, add it to the screenlist...*/
if (screenlist_add (s) < 0) {
report (RPT_ERR, "client_add_screen: Error queueing new screen");
return -1;
}
screenlist_add (s);
return 0;
}
@@ -232,11 +229,8 @@ client_remove_screen (Client * c, Screen * s)
LL_Remove (c->screenlist, (void *) s);
/* Now, remove it from the screenlist...*/
if (screenlist_remove_all (s) < 0) {
/* Not a serious error..*/
report (RPT_ERR, "%s: Error dequeueing screen", __FUNCTION__);
return 0;
}
screenlist_remove (s);
return 0;
}