projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b964c9
)
overlay: Fix compilation warning when not having xrandr
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 6 Oct 2014 17:23:33 +0000
(18:23 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 6 Oct 2014 17:52:06 +0000
(18:52 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
overlay/x11/position.c
patch
|
blob
|
history
diff --git
a/overlay/x11/position.c
b/overlay/x11/position.c
index
f430281
..
cd00353
100644
(file)
--- a/
overlay/x11/position.c
+++ b/
overlay/x11/position.c
@@
-76,10
+76,11
@@
static enum position get_position(struct config *config)
static void screen_size(Display *dpy, struct config *config,
int *scr_x, int *scr_y, int *scr_width, int *scr_height)
{
- const char *crtc;
Screen *scr;
#ifdef HAVE_XRANDR
+ const char *crtc;
+
crtc = config_get_value(config, "x11", "crtc");
if (crtc) {
XRRScreenResources *res;