#include <stdbool.h>
#include <aul.h>
#include <aul_svc.h>
+#include <aul_rpc_port.h>
#include <bundle_internal.h>
#include <ttrace.h>
{
const char *bg_launch;
const char *below_app;
+ const char *rpc_port;
if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_STACK_CONTROL) {
if (__context.below_app) {
}
if (__context.hint & APPCORE_UI_BASE_HINT_WINDOW_AUTO_CONTROL) {
- if (!__context.bg_state)
- __raise_win();
+ if (!__context.bg_state) {
+ rpc_port = bundle_get_val(b, AUL_K_RPC_PORT);
+ if (!rpc_port)
+ __raise_win();
+ }
}
}