forked from enlightenment/efl
I'm not sure why I'm spending my time on this, but I've cleaned
this header file up. Macros first, enums, typedefs, then functions. I've moved the typedefs to the struct definitions as this makes the file a good deal shorter. I've also tried to group the calls by topic, but the lack of a consistent naming scheme makes this difficult. SVN revision: 5601
This commit is contained in:
parent
dc64dc044e
commit
cccefaa1bb
File diff suppressed because it is too large
Load Diff
|
@ -316,6 +316,7 @@ ecore_sync(void)
|
||||||
{
|
{
|
||||||
if (!disp)
|
if (!disp)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
XSync(disp, False);
|
XSync(disp, False);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1796,8 +1797,11 @@ ecore_window_dnd_advertise(Window win)
|
||||||
void
|
void
|
||||||
ecore_grab(void)
|
ecore_grab(void)
|
||||||
{
|
{
|
||||||
if (!disp) return;
|
if (!disp)
|
||||||
|
return;
|
||||||
|
|
||||||
x_grabs++;
|
x_grabs++;
|
||||||
|
|
||||||
if (x_grabs == 1)
|
if (x_grabs == 1)
|
||||||
XGrabServer(disp);
|
XGrabServer(disp);
|
||||||
}
|
}
|
||||||
|
@ -1805,8 +1809,11 @@ ecore_grab(void)
|
||||||
void
|
void
|
||||||
ecore_ungrab(void)
|
ecore_ungrab(void)
|
||||||
{
|
{
|
||||||
if (!disp) return;
|
if (!disp)
|
||||||
|
return;
|
||||||
|
|
||||||
x_grabs--;
|
x_grabs--;
|
||||||
|
|
||||||
if (x_grabs == 0)
|
if (x_grabs == 0)
|
||||||
{
|
{
|
||||||
XUngrabServer(disp);
|
XUngrabServer(disp);
|
||||||
|
|
Loading…
Reference in New Issue