if (!tzsr) return;
- ELOGF("COMP", "|tzsr(%p) ignore(%d)", NULL, ec, tzsr, ignore);
+ /* if client have to considers the output transform */
+ if (!ignore)
+ {
+ /* exception */
+ if (e_config->screen_rotation_client_ignore)
+ {
+ ELOGF("TRANSFORM", "|tzsr(%p) ignore_output_transform: client_ignore", NULL, ec, tzsr);
+ return;
+ }
+ }
+
+ ELOGF("TRANSFORM", "|tzsr(%p) ignore_output_transform(%d)", NULL, ec, tzsr, ignore);
tizen_screen_rotation_send_ignore_output_transform(tzsr->resource, ec->comp_data->surface, ignore);
}
#endif
E_CONFIG_VAL(D, T, screen_rotation_pre, UINT);
E_CONFIG_VAL(D, T, screen_rotation_setting, UINT);
+ E_CONFIG_VAL(D, T, screen_rotation_client_ignore, UCHAR);
E_CONFIG_VAL(D, T, eom_enable, UCHAR);
E_CONFIG_VAL(D, T, use_cursor_timer, INT);
E_CONFIG_VAL(D, T, cursor_timer_interval, INT);
E_CONFIG_LIMIT(e_config->keyboard.repeat_rate, -1, 1000); // 1 second
E_CONFIG_LIMIT(e_config->screen_rotation_pre, 0, 270);
E_CONFIG_LIMIT(e_config->screen_rotation_setting, 0, 270);
+ E_CONFIG_LIMIT(e_config->screen_rotation_client_ignore, 0, 1);
E_CONFIG_LIMIT(e_config->eom_enable, 0, 1);
E_CONFIG_LIMIT(e_config->use_cursor_timer, 0, 1);
E_CONFIG_LIMIT(e_config->sleep_for_dri, 0, 1);
#endif
unsigned int screen_rotation_pre; // screen-rotation value as default (0/90/180/270)
unsigned int screen_rotation_setting; // screen-rotation value which is set in runtime (0/90/180/270)
+ Eina_Bool screen_rotation_client_ignore; // client ignores screen rotation (0/1)
Eina_Bool eom_enable; // 0: eom disable, 1: eom enable
int use_cursor_timer; // boolean value for enabling cursor timer (default : disable : 0)
int cursor_timer_interval; // time value the cursor will be displayed in second (default : 5)