mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
Rename function to begin with output_
This commit is contained in:
parent
b966ed5b4b
commit
59f9e27ee0
3 changed files with 6 additions and 6 deletions
|
|
@ -930,14 +930,14 @@ actions_run(struct view *activator, struct server *server,
|
|||
{
|
||||
const char *output_name = action_get_str(action, "output_name",
|
||||
NULL);
|
||||
virtual_output_add(server, output_name);
|
||||
output_add_virtual(server, output_name);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_VIRTUAL_OUTPUT_REMOVE:
|
||||
{
|
||||
const char *output_name = action_get_str(action, "output_name",
|
||||
NULL);
|
||||
virtual_output_remove(server, output_name);
|
||||
output_remove_virtual(server, output_name);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_INVALID:
|
||||
|
|
|
|||
|
|
@ -780,7 +780,7 @@ handle_output_power_manager_set_mode(struct wl_listener *listener, void *data)
|
|||
}
|
||||
|
||||
void
|
||||
virtual_output_add(struct server *server, const char *output_name)
|
||||
output_add_virtual(struct server *server, const char *output_name)
|
||||
{
|
||||
if (output_name) {
|
||||
/*
|
||||
|
|
@ -805,7 +805,7 @@ virtual_output_add(struct server *server, const char *output_name)
|
|||
}
|
||||
|
||||
void
|
||||
virtual_output_remove(struct server *server, const char *output_name)
|
||||
output_remove_virtual(struct server *server, const char *output_name)
|
||||
{
|
||||
struct output *output;
|
||||
wl_list_for_each(output, &server->outputs, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue