forked from enlightenment/efl
parent
85ecd1a6fc
commit
c4fa8d84c5
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue