Skip to content
Snippets Groups Projects
Commit 68179282 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

The code is there, add prototype

(Old svn revision: 17977)
parent 64babeeb
No related branches found
No related tags found
No related merge requests found
......@@ -557,6 +557,23 @@ myDisplayGetScreenFromSystray (DisplayInfo *display, Window w)
return NULL;
}
ScreenInfo *
myDisplayGetDefaultScreen (DisplayInfo *display)
{
GSList *index;
ScreenInfo *screen = NULL;
g_return_val_if_fail (display != NULL, NULL);
index = display->screens;
if (index)
{
screen = (ScreenInfo *) index->data;
}
return screen;
}
Time
myDisplayUpdateCurentTime (DisplayInfo *display, XEvent *ev)
{
......@@ -597,22 +614,6 @@ myDisplayUpdateCurentTime (DisplayInfo *display, XEvent *ev)
return display->current_time;
}
ScreenInfo *
myDisplayGetDefaultScreen (DisplayInfo *display)
{
GSList *index;
ScreenInfo *screen = NULL;
g_return_val_if_fail (display != NULL, NULL);
index = display->screens;
if (index)
{
screen = (ScreenInfo *) index->data;
}
return screen;
}
Time
myDisplayGetCurrentTime (DisplayInfo *display)
{
......
......@@ -255,6 +255,7 @@ ScreenInfo * myDisplayGetScreenFromWindow (DisplayInfo *,
Window w);
ScreenInfo * myDisplayGetScreenFromSystray (DisplayInfo *,
Window);
ScreenInfo * myDisplayGetDefaultScreen (DisplayInfo *);
Time myDisplayUpdateCurentTime (DisplayInfo *,
XEvent *);
Time myDisplayGetCurrentTime (DisplayInfo *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment