Commit e6c27385 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak

toplevel: Rename phosh_toplevel_raise to _activate for consistency

parent 7c4e39a5
......@@ -64,7 +64,7 @@ on_activity_clicked (PhoshOverview *self, PhoshActivity *activity)
phosh_activity_get_app_id (activity),
phosh_activity_get_title (activity));
phosh_toplevel_raise (toplevel, phosh_wayland_get_wl_seat (phosh_wayland_get_default ()));
phosh_toplevel_activate (toplevel, phosh_wayland_get_wl_seat (phosh_wayland_get_default ()));
g_signal_emit (self, signals[ACTIVITY_RAISED], 0);
}
......
......@@ -332,7 +332,7 @@ phosh_toplevel_is_activated (PhoshToplevel *self) {
void
phosh_toplevel_raise (PhoshToplevel *self, struct wl_seat *seat) {
phosh_toplevel_activate (PhoshToplevel *self, struct wl_seat *seat) {
g_return_if_fail (PHOSH_IS_TOPLEVEL (self));
zwlr_foreign_toplevel_handle_v1_activate (self->handle, seat);
}
......
......@@ -22,5 +22,5 @@ const gchar *phosh_toplevel_get_title (PhoshToplevel *self);
const gchar *phosh_toplevel_get_app_id (PhoshToplevel *self);
gboolean phosh_toplevel_is_configured (PhoshToplevel *self);
gboolean phosh_toplevel_is_activated (PhoshToplevel *self);
void phosh_toplevel_raise (PhoshToplevel *self, struct wl_seat *seat);
void phosh_toplevel_activate (PhoshToplevel *self, struct wl_seat *seat);
void phosh_toplevel_close (PhoshToplevel *self);
......@@ -63,7 +63,7 @@ phosh_toplevel_is_activated (PhoshToplevel *self) {
void
phosh_toplevel_raise (PhoshToplevel *self, struct wl_seat *seat) {
phosh_toplevel_activate (PhoshToplevel *self, struct wl_seat *seat) {
g_return_if_fail (PHOSH_IS_TOPLEVEL (self));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment