Alan Coopersmith 16ea45e931 os: use winsock2.h definitions on mingw in xserver_poll.h
Avoids build warnings & failures, such as:

../os/xserver_poll.h:40: warning: "POLLNVAL" redefined
   40 | #define POLLNVAL        0x20
      |
/usr/share/mingw-w64/include/winsock2.h:1190: note: this is the location
 of the previous definition
 1190 | #define POLLNVAL   0x0004
      |
../os/xserver_poll.h:42:8: error: redefinition of ‘struct pollfd’
   42 | struct pollfd
      |        ^~~~~~
/usr/share/mingw-w64/include/winsock2.h:1192:16: note: originally defined here
 1192 | typedef struct pollfd {
      |                ^~~~~~

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2141>
2026-03-14 17:00:26 -07:00
2026-03-14 16:52:19 +00:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-14 16:52:19 +00:00
2026-03-14 16:52:19 +00:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-03 06:50:01 -03:00
2026-03-14 16:52:19 +00:00
2021-11-04 13:03:25 +00:00
2024-01-12 00:50:24 +00:00
2026-02-22 07:36:50 -06:00
2026-01-25 10:40:01 -08:00
2020-07-05 13:07:33 -07:00
2026-01-25 10:40:03 -08:00
2026-01-25 10:40:01 -08:00

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct

Description
Truly free fork of the XOrg project.
Readme 75 MiB
Languages
C 96.4%
Roff 1.1%
Objective-C 1%
Meson 0.9%
Shell 0.2%
Other 0.2%