Bonus: Added doxy and the @since stuffs (for Tom) ;)
NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61728
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EAPI int ecore_x_fd_get(void);
EAPI Ecore_X_Screen * ecore_x_default_screen_get(void);
EAPI void ecore_x_screen_size_get(const Ecore_X_Screen *screen, int *w, int *h);
+EAPI int ecore_x_screen_count_get(void);
EAPI void ecore_x_double_click_time_set(double t);
EAPI double ecore_x_double_click_time_get(void);
EAPI void ecore_x_flush(void);
if (h) *h = s->height_in_pixels;
}
+/**
+ * Retrieves the number of screens.
+ *
+ * @return The count of the number of screens.
+ * @ingroup Ecore_X_Display_Attr_Group
+ *
+ * @since 1.1
+ */
EAPI int
ecore_x_screen_count_get(void)
{
}
/**
+ * Retrieves the number of screens.
+ *
+ * @return The count of the number of screens.
+ * @ingroup Ecore_X_Display_Attr_Group
+ *
+ * @since 1.1
+ */
+EAPI int
+ecore_x_screen_count_get(void)
+{
+ LOGFN(__FILE__, __LINE__, __FUNCTION__);
+
+ return ScreenCount(_ecore_x_disp);
+}
+
+/**
* Sets the timeout for a double and triple clicks to be flagged.
*
* This sets the time between clicks before the double_click flag is