-
This is flagged by the automatic scanning tools. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Closes: #1673 Part-of: <!1524>
a7ba1e9f -
Back in 2008, when cleaning out unused/undefined stuff, some pieces have been forgotten in commit fb22d4d9. This was accidentially introduced by 68bd7ac1. Fixes: fb22d4d9 Fixes: 68bd7ac1 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1473>
1fdf97f2 -
Enrico Weigelt, metux IT consult . authored
The DDX callbacks (where core/DIX calls into DDX) aren't supposed to be called by drivers directly, so unexport them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1332>
e5c8b664 -
Trevor Davenport authored
On 32-bit, the shifts used to initialized the identity CTM overflow and result in zero instead of the intended 1. This results in a broken display (on at least i915) when using the modesetting xorg driver. Fix the invalid CTM by using ULL suffix on the shifts. Fixes:4e670f12 Signed-off-by:
Trevor Davenport <trevor_davenport@selinc.com> Part-of: <xorg/xserver!1526>
69beb656 -
Enrico Weigelt, metux IT consult . authored
Fix FTBS on BSD: In file included from ../dix/colormap.c:57: ../dix/colormap_priv.h:5:9: warning: '_XSERVER_DIX_COLORMAP_PRIV_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dix/colormap_priv.h:6:9: note: '_XSERVER_DIX_COLORMAP_PRIv_H' is defined here; did you mean '_XSERVER_DIX_COLORMAP_PRIV_H'? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _XSERVER_DIX_COLORMAP_PRIV_H 1 warning generated. [7/531] Compiling C object dix/liblibxserver_dix.a.p/devices.c.o In file included from ../dix/devices.c:62: ../dix/ptrveloc_priv.h:20:18: warning: redefinition of typedef 'PointerAccelerationProfileFunc' is a C11 feature [-Wtypedef-redefinition] typedef double (*PointerAccelerationProfileFunc) ^ ../include/ptrveloc.h:50:18: note: previous definition is here typedef double (*PointerAccelerationProfileFunc) ^ In file included from ../dix/devices.c:62: ../dix/ptrveloc_priv.h:33:3: warning: redefinition of typedef 'MotionTracker' is a C11 feature [-Wtypedef-redefinition] } MotionTracker, *MotionTrackerPtr; ^ ../include/ptrveloc.h:54:31: note: previous definition is here typedef struct _MotionTracker MotionTracker, *MotionTrackerPtr; ^ In file included from ../dix/devices.c:62: ../dix/ptrveloc_priv.h:33:19: warning: redefinition of typedef 'MotionTrackerPtr' is a C11 feature [-Wtypedef-redefinition] } MotionTracker, *MotionTrackerPtr; ^ ../include/ptrveloc.h:54:47: note: previous definition is here typedef struct _MotionTracker MotionTracker, *MotionTrackerPtr; ^ 3 warnings generated. [8/531] Compiling C object dix/liblibxserver_dix.a.p/main.c.o In file included from ../dix/main.c:86: ../dix/callback_priv.h:10:31: warning: redefinition of typedef 'CallbackListPtr' is a C11 feature [-Wtypedef-redefinition] typedef struct _CallbackList *CallbackListPtr; ^ ../include/callback.h:60:31: note: previous definition is here typedef struct _CallbackList *CallbackListPtr; /* also in misc.h */ ^ 1 warning generated. [9/531] Compiling C object dix/liblibxserver_dix.a.p/dispatch.c.o In file included from ../dix/dispatch.c:111: ../dix/screenint_priv.h:11:25: warning: redefinition of typedef 'ScreenPtr' is a C11 feature [-Wtypedef-redefinition] typedef struct _Screen *ScreenPtr; ^ ../include/screenint.h:55:25: note: previous definition is here typedef struct _Screen *ScreenPtr; ^ 1 warning generated. [10/531] Compiling C object dix/liblibxserver_dix.a.p/dixutils.c.o In file included from ../dix/dixutils.c:90: ../dix/callback_priv.h:10:31: warning: redefinition of typedef 'CallbackListPtr' is a C11 feature [-Wtypedef-redefinition] typedef struct _CallbackList *CallbackListPtr; ^ Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1530>
1fce9f43 -
Autumn Ashton authored
This fixes the scroll action in Steam Input in SteamOS/Gamescope when using the new libeis backend. Fixes: a1333342 ("xwayland: Add XTEST support using EIS") Signed-off-by:
Joshua Ashton <joshua@froggi.es> Part-of: <!1531>
7745fde2 -
For now it just chains to ResizeWindow hook. This is preparation work for the next commit, no functional change. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Part-of: <!1521>
539859bd -
Commit fa7b1c20 ("xwayland: Use ConfigNotify screen hook instead of ResizeWindow") replaced the WindowResize hook with ConfigNotify. However, that's breaking rootful Xwayland with libdecor because the root window size is already set so the libdecor size is not updated, and the root size will be reverted back as soon as the focus changes. Reinstate the rootful size change in ResizeWindow to avoid that issue. Closes: #1669 Closes: #1671 Fixes: fa7b1c20 - xwayland: Use ConfigNotify screen hook instead of ResizeWindow Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Part-of: <!1521>
31d6f999 -
This restores the handling of the XRandR emulation for Xwayland rootless where it was before commit fa7b1c20. Some compositors may trigger a protocol error if the viewport source is larger than the actual window size, having that handled in the window resize hook makes sure we do not regress. Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Part-of: <xorg/xserver!1521>
702a419c -
Enrico Weigelt, metux IT consult . authored
STREAMSCONN has been removed about a decade ago, but some comments have been forgotten to be cleaned. Fixes: b3e9c534 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1538>
a4cb4bc4 -
Need to include it only once. Fixes: be4c8444 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1542>
61d0c8e2 -
Left over from the builtin keyboard driver removed from the Xorg server in 2006 (commit 3eeb62e8). Requires xorg/driver/xf86-input-keyboard@40ef7d9e to build the current keyboard driver with this change. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <xorg/xserver!1541>
a4d298d8
- dix/colormap_priv.h 1 addition, 1 deletiondix/colormap_priv.h
- dix/dispatch.c 1 addition, 0 deletionsdix/dispatch.c
- dix/main.c 1 addition, 0 deletionsdix/main.c
- hw/kdrive/ephyr/ephyrinit.c 1 addition, 0 deletionshw/kdrive/ephyr/ephyrinit.c
- hw/kdrive/src/kdrive.c 2 additions, 0 deletionshw/kdrive/src/kdrive.c
- hw/vfb/InitOutput.c 1 addition, 0 deletionshw/vfb/InitOutput.c
- hw/xfree86/common/xf86Configure.c 1 addition, 0 deletionshw/xfree86/common/xf86Configure.c
- hw/xfree86/common/xf86Init.c 1 addition, 0 deletionshw/xfree86/common/xf86Init.c
- hw/xfree86/drivers/modesetting/drmmode_display.c 3 additions, 3 deletionshw/xfree86/drivers/modesetting/drmmode_display.c
- hw/xfree86/os-support/xf86_OSlib.h 0 additions, 11 deletionshw/xfree86/os-support/xf86_OSlib.h
- hw/xnest/Args.c 2 additions, 0 deletionshw/xnest/Args.c
- hw/xnest/Init.c 1 addition, 0 deletionshw/xnest/Init.c
- hw/xquartz/bundle/Resources/he.lproj/main.nib/designable.nib 1 addition, 1 deletionhw/xquartz/bundle/Resources/he.lproj/main.nib/designable.nib
- hw/xquartz/darwin.c 1 addition, 0 deletionshw/xquartz/darwin.c
- hw/xwayland/xwayland-screen.c 3 additions, 0 deletionshw/xwayland/xwayland-screen.c
- hw/xwayland/xwayland-screen.h 1 addition, 0 deletionshw/xwayland/xwayland-screen.h
- hw/xwayland/xwayland-window.c 22 additions, 3 deletionshw/xwayland/xwayland-window.c
- hw/xwayland/xwayland-window.h 4 additions, 0 deletionshw/xwayland/xwayland-window.h
- hw/xwayland/xwayland-xtest.c 1 addition, 0 deletionshw/xwayland/xwayland-xtest.c
- hw/xwayland/xwayland.c 1 addition, 0 deletionshw/xwayland/xwayland.c