extra calls...

SVN revision: 5727
This commit is contained in:
Carsten Haitzler 2001-11-24 06:03:27 +00:00
parent 85ecd1a6fc
commit c4fa8d84c5
2 changed files with 14 additions and 2 deletions

View File

@ -742,6 +742,7 @@ extern "C"
void ecore_focus_window_set(Window win);
Window ecore_focus_window_get(void);
void ecore_focus_to_window(Window win);
void ecore_focus_mode_reset(void);
Atom ecore_atom_get(char *name);

View File

@ -482,6 +482,8 @@ ecore_window_set_background_pixmap(Window win, Pixmap pmap)
{
if (!disp)
return;
if (win == 0)
win = default_root;
XSetWindowBackgroundPixmap(disp, win, pmap);
}
@ -615,7 +617,8 @@ ecore_window_clear(Window win)
{
if (!disp)
return;
if (win == 0)
win = default_root;
XClearWindow(disp, win);
}
@ -624,7 +627,8 @@ ecore_window_clear_area(Window win, int x, int y, int w, int h)
{
if (!disp)
return;
if (win == 0)
win = default_root;
XClearArea(disp, win, x, y, w, h, False);
}
@ -1693,6 +1697,13 @@ ecore_focus_to_window(Window win)
XSetInputFocus(disp, win, RevertToNone, CurrentTime);
}
void
ecore_focus_mode_reset(void)
{
if (!disp) return;
XSetInputFocus(disp, default_root, RevertToPointerRoot, CurrentTime);
}
Atom
ecore_atom_get(char *name)
{