summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-10-06 08:51:01 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-10-06 08:51:01 +0000
commit5f9f2fbec4e279e1270a2d73c38efeab4c7f6512 (patch)
tree57e61f2297c7a67a604d7549527e8004c14a2e9e /usr.bin
parent332449180817869239112bacb3d56470a4f50154 (diff)
Another simple update for xwindows, from 5.x.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/file/magdir/xwindows25
1 files changed, 17 insertions, 8 deletions
diff --git a/usr.bin/file/magdir/xwindows b/usr.bin/file/magdir/xwindows
index 5ff3046e7ca..628098e8fa8 100644
--- a/usr.bin/file/magdir/xwindows
+++ b/usr.bin/file/magdir/xwindows
@@ -1,4 +1,4 @@
-# $OpenBSD: xwindows,v 1.3 2008/05/14 20:45:35 chl Exp $
+# $OpenBSD: xwindows,v 1.4 2015/10/06 08:51:00 nicm Exp $
#------------------------------------------------------------------------------
# xwindows: file(1) magic for various X/Window system file formats.
@@ -10,7 +10,7 @@
>0 byte =0 obsolete
0 string xkm Compiled XKB Keymap: msb,
>3 byte >0 version %d
->0 byte =0 obsolete
+>3 byte =0 obsolete
# xfsdump archive
0 string xFSdump0 xfsdump archive
@@ -18,9 +18,18 @@
# Jaleo XFS files
0 long 395726 Jaleo XFS file
->4 long x - version %ld
->8 long x - [%ld -
->20 long x %ldx
->24 long x %ldx
->28 long 1008 YUV422]
->28 long 1000 RGB24]
+>4 long x - version %d
+>8 long x - [%d -
+>20 long x \b%dx
+>24 long x \b%dx
+>28 long 1008 \bYUV422]
+>28 long 1000 \bRGB24]
+
+# Xcursor data
+# X11 mouse cursor format defined in libXcursor, see
+# http://www.x.org/archive/X11R6.8.1/doc/Xcursor.3.html
+# http://cgit.freedesktop.org/xorg/lib/libXcursor/tree/include/X11/Xcursor/Xcursor.h
+0 string Xcur Xcursor data
+!:mime image/x-xcursor
+>10 leshort x version %d
+>>8 leshort x \b.%d