#include "workspaces-server-protocol.h"
#include "../shared/config-parser.h"
+#define ENABLE_TIZEN
+
#define DEFAULT_NUM_WORKSPACES 1
#define DEFAULT_WORKSPACE_CHANGE_ANIMATION_LENGTH 200
shsurf->class = strdup(class);
}
+#ifdef ENABLE_TIZEN
+/* Extended to raise shell surface */
+static void
+shell_surface_raise(struct wl_client *client,
+ struct wl_resource *resource)
+{
+ struct shell_surface *shsurf = resource->data;
+ struct weston_seat *seat;
+ struct weston_compositor *ec = shsurf->surface->compositor;
+
+ wl_list_for_each(seat, &ec->seat_list, link) {
+ activate(shsurf->shell, shsurf->surface, seat);
+ }
+}
+#endif
+
static struct weston_output *
get_default_output(struct weston_compositor *compositor)
{
shell_surface_set_popup,
shell_surface_set_maximized,
shell_surface_set_title,
+#ifdef ENABLE_TIZEN
+ shell_surface_set_class,
+ shell_surface_raise // extended to raise app window
+#else
shell_surface_set_class
+#endif`
};
static void