|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
|
|
#include <X11/Xlib.h> |
|
|
|
|
#include <X11/Xutil.h> |
|
|
|
|
#include <X11/Xatom.h> |
|
|
|
|
#include <Evas_Engine_Software_X11.h> |
|
|
|
|
|
|
|
|
|
static Display *disp = NULL; |
|
|
|
@ -62,6 +63,14 @@ engine_software_xlib_args(const char *engine, int width, int height) |
|
|
|
|
printf("Evas can not setup the informations of the Software Xlib Engine\n"); |
|
|
|
|
goto destroy_window; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (fullscreen) |
|
|
|
|
{ |
|
|
|
|
Atom prop = XInternAtom(disp, "_NET_WM_STATE", False); |
|
|
|
|
Atom state = XInternAtom(disp, "_NET_WM_STATE_FULLSCREEN", False); |
|
|
|
|
unsigned long data = state; |
|
|
|
|
XChangeProperty(disp, win, prop, XA_ATOM, 32, PropModeReplace, &data, 1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
XStoreName(disp, win, "Expedite - Evas Test Suite"); |
|
|
|
|
chint.res_name = "expedite"; |
|
|
|
|