test: user_time-0, iconic, sticky, urgent window

PS. fuck you ubuntu update-manager.
This commit is contained in:
Mike Blumenkrantz 2014-03-04 13:30:56 -05:00
parent 043a3c17e0
commit 47ef5c5be1
1 changed files with 20 additions and 0 deletions

20
src/tests/init_states.c Normal file
View File

@ -0,0 +1,20 @@
#include <Ecore_Evas.h>
#include <Ecore_X.h>
int
main(void)
{
Ecore_Evas *ee;
ecore_evas_init();
ee = ecore_evas_new(NULL, 0, 0, 200, 200, NULL);
ecore_evas_show(ee);
ecore_evas_urgent_set(ee, 1);
ecore_evas_iconified_set(ee, 1);
ecore_evas_sticky_set(ee, 1);
ecore_x_netwm_user_time_set(ecore_evas_window_get(ee), 0);
ecore_main_loop_begin();
return 0;
}