Skip to content
Snippets Groups Projects
Commit 8f72df1c authored by Niels Möller's avatar Niels Möller
Browse files

Renamed the volume field of Bell requests to "percent", to conform to

traditional X usage.

Rev: lib/modules/Protocols.pmod/X.pmod/Requests.pmod:1.21
Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.24
parent 905771c6
No related branches found
No related tags found
No related merge requests found
......@@ -745,9 +745,9 @@ class Bell {
inherit request;
constant reqType = 104;
int volume;
int percent;
string to_string() { return build_request("", volume); }
string to_string() { return build_request("", percent); }
}
class AllocColor
......
......@@ -950,7 +950,7 @@ class Display
object Bell_req(int volume)
{
object req=Requests.Bell();
req->volume=volume;
req->percent=volume;
return req;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment