e_mod_keyboard.c \
e_mod_keyboard.h \
e_mod_stack.c \
+ e_mod_private_data.h \
$(WL_SRC) \
$(ROT_SRC)
if (e_mod_pol_client_is_quickpanel(ec))
{
- ec->exp_iconify.skip_iconify = 1;
evas_object_move(ec->frame, -10000, -10000);
return EINA_FALSE;
}
if (e_mod_pol_client_is_noti(ec))
e_client_util_move_without_frame(ec, 0, 0);
- if (e_mod_pol_client_is_volume(ec))
- ec->exp_iconify.skip_iconify = 1;
-
if (!_pol_client_normal_check(ec)) return;
pd = eina_hash_find(hash_pol_desks, &ec->desk);
--- /dev/null
+#ifndef E_MOD_PRIVATE_DATA_H
+#define E_MOD_PRIVATE_DATA_H
+
+/* define layer values here */
+
+/* layer level - 999 */
+# define WM_POL_QUICKPANEL_LAYER E_LAYER_CLIENT_ALERT
+# define WM_POL_TOAST_POPUP_LAYER E_LAYER_CLIENT_ALERT
+
+/* layer level - E_LAYER_CLIENT_NOTIFICATION_TOP (800) */
+# define WM_POL_VOLUME_LAYER E_LAYER_CLIENT_NOTIFICATION_TOP
+
+/* layer level - E_LAYER_CLIENT_NOTIFICATION_HIGH (750) */
+/* layer level - E_LAYER_CLIENT_NOTIFICATION_NORMAL (700) */
+/* layer level - E_LAYER_CLIENT_NOTIFICATION_LOW (650) */
+
+/* layer level - E_LAYER_CLIENT_PRIO (600) */
+# define WM_POL_FLOATING_LAYER E_LAYER_CLIENT_PRIO
+
+/* layer level - E_LAYER_CLIENT_FULLSCREEN (350) */
+/* layer level - E_LAYER_CLIENT_ABOVE (250) */
+/* layer level - E_LAYER_CLIENT_NORMAL (200) */
+/* layer level - E_LAYER_CLIENT_BELOW (150) */
+
+#endif
+#include "e_mod_private_data.h"
#include "e_mod_main.h"
#include "e_mod_quickpanel.h"
#include "e_mod_indicator.h"
* so we should unmaximize it to move object to out of screen. */
e_client_unmaximize(ec, E_MAXIMIZE_BOTH);
- /* stacking it on the lock_screen, set layer to notification-high. */
- evas_object_layer_set(ec->frame, E_LAYER_CLIENT_NOTIFICATION_HIGH);
+ // set quickpanel layer
+ if (WM_POL_QUICKPANEL_LAYER != evas_object_layer_get(ec->frame))
+ {
+ evas_object_layer_set(ec->frame, WM_POL_QUICKPANEL_LAYER);
+ }
+ ec->layer = WM_POL_QUICKPANEL_LAYER;
+
+ // set skip iconify
+ ec->exp_iconify.skip_iconify = 1;
/* since we unmaximized it,
* so we should resize it directly as fullscreen. */
+#include "e_mod_private_data.h"
#include "e_mod_volume.h"
#include "e_mod_rotation.h"
_volume_del_hook =
e_client_hook_add(E_CLIENT_HOOK_DEL, _volume_hook_client_del, NULL);
+ // set volume layer
+ if (WM_POL_VOLUME_LAYER != evas_object_layer_get(ec->frame))
+ {
+ evas_object_layer_set(ec->frame, WM_POL_VOLUME_LAYER);
+ }
+ ec->layer = WM_POL_VOLUME_LAYER;
+
+ // set skip iconify
+ ec->exp_iconify.skip_iconify = 1;
+
return EINA_TRUE;
}