some defines, a fix for ecores main loop so if an idle enterer generates

events we dont sit and wait on timers or fd's before processing them.


SVN revision: 12145
This commit is contained in:
Carsten Haitzler 2004-11-08 00:08:26 +00:00
parent 288842f199
commit db82afca3b
3 changed files with 66 additions and 56 deletions

View File

@ -500,6 +500,8 @@ _ecore_main_loop_iterate_internal(int once_only)
in_main_loop--;
return;
}
if (!_ecore_event_exist())
{
/* init flags */
have_event = have_signal = 0;
next_time = _ecore_timer_next_get();
@ -577,6 +579,7 @@ _ecore_main_loop_iterate_internal(int once_only)
}
}
}
}
#ifndef WIN32
if (_ecore_fps_debug)
{

View File

@ -716,6 +716,14 @@ typedef enum _Ecore_X_Window_Configure_Mask {
ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE = (1 << 6)
} Ecore_X_Window_Configure_Mask;
typedef enum _Ecore_X_Window_Stack_Mode {
ECORE_X_WINDOW_STACK_ABOVE = 0,
ECORE_X_WINDOW_STACK_BELOW = 1,
ECORE_X_WINDOW_STACK_TOP_IF = 2,
ECORE_X_WINDOW_STACK_BOTTOM_IF = 3,
ECORE_X_WINDOW_STACK_OPPOSITE = 4
} Ecore_X_Window_Stack_Mode;
/* Window layer constants */
#define ECORE_X_WINDOW_LAYER_BELOW 2
#define ECORE_X_WINDOW_LAYER_NORMAL 4

View File

@ -325,13 +325,12 @@ ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
}
/* FIXME: move these things in here as they are icccm related */
/* get/set min.max etc. size */
/* get/set wm protocols */
/* get/set title */
/* get/set name/class */
/* get/set machine */
/* get/set command */
/* get/set icon name */
/* get/set wm protocols */
/* get/set colormap windows */
/* get/set window role */
/* get/set client leader */