This file is indexed.

/usr/share/doc/libghc-x11-doc/html/X11.txt is in libghc-x11-doc 1.6.1.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | A binding to the X11 graphics library
--   
--   A Haskell binding to the X11 graphics library. The binding is a direct
--   translation of the C binding; for documentation of these calls, refer
--   to <a>The Xlib Programming Manual</a>, available online at
--   <a>http://tronche.com/gui/x/xlib/</a>.
@package X11
@version 1.6.1.2


module Graphics.X11.XScreenSaver
compiledWithXScreenSaver :: Bool


-- | A collection of type declarations for interfacing with X11.
module Graphics.X11.Types
type XID = Word64
type Mask = Word64
type Atom = Word64
type VisualID = Word64
type Time = Word64
type Window = XID
type Drawable = XID
type Font = XID
type Pixmap = XID
type Cursor = XID
type Colormap = XID
type GContext = XID
type KeyCode = Word8
type SizeID = Word16
type SubpixelOrder = Word16
type Connection = Word16
type RROutput = Word64
type RRCrtc = Word64
type RRMode = Word64
type XRRModeFlags = Word64
type KeySym = XID
xK_VoidSymbol :: KeySym
xK_BackSpace :: KeySym
xK_Tab :: KeySym
xK_Linefeed :: KeySym
xK_Clear :: KeySym
xK_Return :: KeySym
xK_Pause :: KeySym
xK_Scroll_Lock :: KeySym
xK_Sys_Req :: KeySym
xK_Escape :: KeySym
xK_Delete :: KeySym
xK_Multi_key :: KeySym
xK_Codeinput :: KeySym
xK_SingleCandidate :: KeySym
xK_MultipleCandidate :: KeySym
xK_PreviousCandidate :: KeySym
xK_Home :: KeySym
xK_Left :: KeySym
xK_Up :: KeySym
xK_Right :: KeySym
xK_Down :: KeySym
xK_Prior :: KeySym
xK_Page_Up :: KeySym
xK_Next :: KeySym
xK_Page_Down :: KeySym
xK_End :: KeySym
xK_Begin :: KeySym
xK_Select :: KeySym
xK_Print :: KeySym
xK_Execute :: KeySym
xK_Insert :: KeySym
xK_Undo :: KeySym
xK_Redo :: KeySym
xK_Menu :: KeySym
xK_Find :: KeySym
xK_Cancel :: KeySym
xK_Help :: KeySym
xK_Break :: KeySym
xK_Mode_switch :: KeySym
xK_script_switch :: KeySym
xK_Num_Lock :: KeySym
xK_KP_Space :: KeySym
xK_KP_Tab :: KeySym
xK_KP_Enter :: KeySym
xK_KP_F1 :: KeySym
xK_KP_F2 :: KeySym
xK_KP_F3 :: KeySym
xK_KP_F4 :: KeySym
xK_KP_Home :: KeySym
xK_KP_Left :: KeySym
xK_KP_Up :: KeySym
xK_KP_Right :: KeySym
xK_KP_Down :: KeySym
xK_KP_Prior :: KeySym
xK_KP_Page_Up :: KeySym
xK_KP_Next :: KeySym
xK_KP_Page_Down :: KeySym
xK_KP_End :: KeySym
xK_KP_Begin :: KeySym
xK_KP_Insert :: KeySym
xK_KP_Delete :: KeySym
xK_KP_Equal :: KeySym
xK_KP_Multiply :: KeySym
xK_KP_Add :: KeySym
xK_KP_Separator :: KeySym
xK_KP_Subtract :: KeySym
xK_KP_Decimal :: KeySym
xK_KP_Divide :: KeySym
xK_KP_0 :: KeySym
xK_KP_1 :: KeySym
xK_KP_2 :: KeySym
xK_KP_3 :: KeySym
xK_KP_4 :: KeySym
xK_KP_5 :: KeySym
xK_KP_6 :: KeySym
xK_KP_7 :: KeySym
xK_KP_8 :: KeySym
xK_KP_9 :: KeySym
xK_F1 :: KeySym
xK_F2 :: KeySym
xK_F3 :: KeySym
xK_F4 :: KeySym
xK_F5 :: KeySym
xK_F6 :: KeySym
xK_F7 :: KeySym
xK_F8 :: KeySym
xK_F9 :: KeySym
xK_F10 :: KeySym
xK_F11 :: KeySym
xK_L1 :: KeySym
xK_F12 :: KeySym
xK_L2 :: KeySym
xK_F13 :: KeySym
xK_L3 :: KeySym
xK_F14 :: KeySym
xK_L4 :: KeySym
xK_F15 :: KeySym
xK_L5 :: KeySym
xK_F16 :: KeySym
xK_L6 :: KeySym
xK_F17 :: KeySym
xK_L7 :: KeySym
xK_F18 :: KeySym
xK_L8 :: KeySym
xK_F19 :: KeySym
xK_L9 :: KeySym
xK_F20 :: KeySym
xK_L10 :: KeySym
xK_F21 :: KeySym
xK_R1 :: KeySym
xK_F22 :: KeySym
xK_R2 :: KeySym
xK_F23 :: KeySym
xK_R3 :: KeySym
xK_F24 :: KeySym
xK_R4 :: KeySym
xK_F25 :: KeySym
xK_R5 :: KeySym
xK_F26 :: KeySym
xK_R6 :: KeySym
xK_F27 :: KeySym
xK_R7 :: KeySym
xK_F28 :: KeySym
xK_R8 :: KeySym
xK_F29 :: KeySym
xK_R9 :: KeySym
xK_F30 :: KeySym
xK_R10 :: KeySym
xK_F31 :: KeySym
xK_R11 :: KeySym
xK_F32 :: KeySym
xK_R12 :: KeySym
xK_F33 :: KeySym
xK_R13 :: KeySym
xK_F34 :: KeySym
xK_R14 :: KeySym
xK_F35 :: KeySym
xK_R15 :: KeySym
xK_Shift_L :: KeySym
xK_Shift_R :: KeySym
xK_Control_L :: KeySym
xK_Control_R :: KeySym
xK_Caps_Lock :: KeySym
xK_Shift_Lock :: KeySym
xK_Meta_L :: KeySym
xK_Meta_R :: KeySym
xK_Alt_L :: KeySym
xK_Alt_R :: KeySym
xK_Super_L :: KeySym
xK_Super_R :: KeySym
xK_Hyper_L :: KeySym
xK_Hyper_R :: KeySym
xK_space :: KeySym
xK_exclam :: KeySym
xK_quotedbl :: KeySym
xK_numbersign :: KeySym
xK_dollar :: KeySym
xK_percent :: KeySym
xK_ampersand :: KeySym
xK_apostrophe :: KeySym
xK_quoteright :: KeySym
xK_parenleft :: KeySym
xK_parenright :: KeySym
xK_asterisk :: KeySym
xK_plus :: KeySym
xK_comma :: KeySym
xK_minus :: KeySym
xK_period :: KeySym
xK_slash :: KeySym
xK_0 :: KeySym
xK_1 :: KeySym
xK_2 :: KeySym
xK_3 :: KeySym
xK_4 :: KeySym
xK_5 :: KeySym
xK_6 :: KeySym
xK_7 :: KeySym
xK_8 :: KeySym
xK_9 :: KeySym
xK_colon :: KeySym
xK_semicolon :: KeySym
xK_less :: KeySym
xK_equal :: KeySym
xK_greater :: KeySym
xK_question :: KeySym
xK_at :: KeySym
xK_A :: KeySym
xK_B :: KeySym
xK_C :: KeySym
xK_D :: KeySym
xK_E :: KeySym
xK_F :: KeySym
xK_G :: KeySym
xK_H :: KeySym
xK_I :: KeySym
xK_J :: KeySym
xK_K :: KeySym
xK_L :: KeySym
xK_M :: KeySym
xK_N :: KeySym
xK_O :: KeySym
xK_P :: KeySym
xK_Q :: KeySym
xK_R :: KeySym
xK_S :: KeySym
xK_T :: KeySym
xK_U :: KeySym
xK_V :: KeySym
xK_W :: KeySym
xK_X :: KeySym
xK_Y :: KeySym
xK_Z :: KeySym
xK_bracketleft :: KeySym
xK_backslash :: KeySym
xK_bracketright :: KeySym
xK_asciicircum :: KeySym
xK_underscore :: KeySym
xK_grave :: KeySym
xK_quoteleft :: KeySym
xK_a :: KeySym
xK_b :: KeySym
xK_c :: KeySym
xK_d :: KeySym
xK_e :: KeySym
xK_f :: KeySym
xK_g :: KeySym
xK_h :: KeySym
xK_i :: KeySym
xK_j :: KeySym
xK_k :: KeySym
xK_l :: KeySym
xK_m :: KeySym
xK_n :: KeySym
xK_o :: KeySym
xK_p :: KeySym
xK_q :: KeySym
xK_r :: KeySym
xK_s :: KeySym
xK_t :: KeySym
xK_u :: KeySym
xK_v :: KeySym
xK_w :: KeySym
xK_x :: KeySym
xK_y :: KeySym
xK_z :: KeySym
xK_braceleft :: KeySym
xK_bar :: KeySym
xK_braceright :: KeySym
xK_asciitilde :: KeySym
xK_nobreakspace :: KeySym
xK_exclamdown :: KeySym
xK_cent :: KeySym
xK_sterling :: KeySym
xK_currency :: KeySym
xK_yen :: KeySym
xK_brokenbar :: KeySym
xK_section :: KeySym
xK_diaeresis :: KeySym
xK_copyright :: KeySym
xK_ordfeminine :: KeySym
xK_guillemotleft :: KeySym
xK_notsign :: KeySym
xK_hyphen :: KeySym
xK_registered :: KeySym
xK_macron :: KeySym
xK_degree :: KeySym
xK_plusminus :: KeySym
xK_twosuperior :: KeySym
xK_threesuperior :: KeySym
xK_acute :: KeySym
xK_mu :: KeySym
xK_paragraph :: KeySym
xK_periodcentered :: KeySym
xK_cedilla :: KeySym
xK_onesuperior :: KeySym
xK_masculine :: KeySym
xK_guillemotright :: KeySym
xK_onequarter :: KeySym
xK_onehalf :: KeySym
xK_threequarters :: KeySym
xK_questiondown :: KeySym
xK_Agrave :: KeySym
xK_Aacute :: KeySym
xK_Acircumflex :: KeySym
xK_Atilde :: KeySym
xK_Adiaeresis :: KeySym
xK_Aring :: KeySym
xK_AE :: KeySym
xK_Ccedilla :: KeySym
xK_Egrave :: KeySym
xK_Eacute :: KeySym
xK_Ecircumflex :: KeySym
xK_Ediaeresis :: KeySym
xK_Igrave :: KeySym
xK_Iacute :: KeySym
xK_Icircumflex :: KeySym
xK_Idiaeresis :: KeySym
xK_ETH :: KeySym
xK_Eth :: KeySym
xK_Ntilde :: KeySym
xK_Ograve :: KeySym
xK_Oacute :: KeySym
xK_Ocircumflex :: KeySym
xK_Otilde :: KeySym
xK_Odiaeresis :: KeySym
xK_multiply :: KeySym
xK_Ooblique :: KeySym
xK_Ugrave :: KeySym
xK_Uacute :: KeySym
xK_Ucircumflex :: KeySym
xK_Udiaeresis :: KeySym
xK_Yacute :: KeySym
xK_THORN :: KeySym
xK_Thorn :: KeySym
xK_ssharp :: KeySym
xK_agrave :: KeySym
xK_aacute :: KeySym
xK_acircumflex :: KeySym
xK_atilde :: KeySym
xK_adiaeresis :: KeySym
xK_aring :: KeySym
xK_ae :: KeySym
xK_ccedilla :: KeySym
xK_egrave :: KeySym
xK_eacute :: KeySym
xK_ecircumflex :: KeySym
xK_ediaeresis :: KeySym
xK_igrave :: KeySym
xK_iacute :: KeySym
xK_icircumflex :: KeySym
xK_idiaeresis :: KeySym
xK_eth :: KeySym
xK_ntilde :: KeySym
xK_ograve :: KeySym
xK_oacute :: KeySym
xK_ocircumflex :: KeySym
xK_otilde :: KeySym
xK_odiaeresis :: KeySym
xK_division :: KeySym
xK_oslash :: KeySym
xK_ugrave :: KeySym
xK_uacute :: KeySym
xK_ucircumflex :: KeySym
xK_udiaeresis :: KeySym
xK_yacute :: KeySym
xK_thorn :: KeySym
xK_ydiaeresis :: KeySym
type EventMask = Mask
noEventMask :: EventMask
keyPressMask :: EventMask
keyReleaseMask :: EventMask
buttonPressMask :: EventMask
buttonReleaseMask :: EventMask
enterWindowMask :: EventMask
leaveWindowMask :: EventMask
pointerMotionMask :: EventMask
pointerMotionHintMask :: EventMask
button1MotionMask :: EventMask
button2MotionMask :: EventMask
button3MotionMask :: EventMask
button4MotionMask :: EventMask
button5MotionMask :: EventMask
buttonMotionMask :: EventMask
keymapStateMask :: EventMask
exposureMask :: EventMask
visibilityChangeMask :: EventMask
structureNotifyMask :: EventMask
resizeRedirectMask :: EventMask
substructureNotifyMask :: EventMask
substructureRedirectMask :: EventMask
focusChangeMask :: EventMask
propertyChangeMask :: EventMask
colormapChangeMask :: EventMask
ownerGrabButtonMask :: EventMask
rrScreenChangeNotifyMask :: EventMask
rrCrtcChangeNotifyMask :: EventMask
rrOutputChangeNotifyMask :: EventMask
rrOutputPropertyNotifyMask :: EventMask
type EventType = Word32
keyPress :: EventType
keyRelease :: EventType
buttonPress :: EventType
buttonRelease :: EventType
motionNotify :: EventType
enterNotify :: EventType
leaveNotify :: EventType
focusIn :: EventType
focusOut :: EventType
keymapNotify :: EventType
expose :: EventType
graphicsExpose :: EventType
noExpose :: EventType
visibilityNotify :: EventType
createNotify :: EventType
destroyNotify :: EventType
unmapNotify :: EventType
mapNotify :: EventType
mapRequest :: EventType
reparentNotify :: EventType
configureNotify :: EventType
configureRequest :: EventType
gravityNotify :: EventType
resizeRequest :: EventType
circulateNotify :: EventType
circulateRequest :: EventType
propertyNotify :: EventType
selectionClear :: EventType
selectionRequest :: EventType
selectionNotify :: EventType
colormapNotify :: EventType
clientMessage :: EventType
mappingNotify :: EventType
rrScreenChangeNotify :: EventType
rrNotify :: EventType
rrNotifyCrtcChange :: EventType
rrNotifyOutputChange :: EventType
rrNotifyOutputProperty :: EventType
lASTEvent :: EventType
type Modifier = CUInt
shiftMapIndex :: Modifier
lockMapIndex :: Modifier
controlMapIndex :: Modifier
mod1MapIndex :: Modifier
mod2MapIndex :: Modifier
mod3MapIndex :: Modifier
mod4MapIndex :: Modifier
mod5MapIndex :: Modifier
anyModifier :: Modifier
type KeyMask = Modifier
noModMask :: KeyMask
shiftMask :: KeyMask
lockMask :: KeyMask
controlMask :: KeyMask
mod1Mask :: KeyMask
mod2Mask :: KeyMask
mod3Mask :: KeyMask
mod4Mask :: KeyMask
mod5Mask :: KeyMask
type ButtonMask = Modifier
button1Mask :: ButtonMask
button2Mask :: ButtonMask
button3Mask :: ButtonMask
button4Mask :: ButtonMask
button5Mask :: ButtonMask
type Button = Word32
button1 :: Button
button2 :: Button
button3 :: Button
button4 :: Button
button5 :: Button
type NotifyMode = CInt
notifyNormal :: NotifyMode
notifyGrab :: NotifyMode
notifyUngrab :: NotifyMode
notifyWhileGrabbed :: NotifyMode
notifyHint :: NotifyMode
type NotifyDetail = CInt
notifyAncestor :: NotifyDetail
notifyVirtual :: NotifyDetail
notifyInferior :: NotifyDetail
notifyNonlinear :: NotifyDetail
notifyNonlinearVirtual :: NotifyDetail
notifyPointer :: NotifyDetail
notifyPointerRoot :: NotifyDetail
notifyDetailNone :: NotifyDetail
type Visibility = CInt
visibilityUnobscured :: Visibility
visibilityPartiallyObscured :: Visibility
visibilityFullyObscured :: Visibility

-- | Place of window relative to siblings (used in Circulation requests or
--   events)
type Place = CInt
placeOnTop :: Place
placeOnBottom :: Place
type Protocol = CInt
familyInternet :: Protocol
familyDECnet :: Protocol
familyChaos :: Protocol
type PropertyNotification = CInt
propertyNewValue :: PropertyNotification
propertyDelete :: PropertyNotification
type ColormapNotification = CInt
colormapUninstalled :: ColormapNotification
colormapInstalled :: ColormapNotification
type GrabMode = CInt
grabModeSync :: GrabMode
grabModeAsync :: GrabMode
type GrabStatus = CInt
grabSuccess :: GrabStatus
alreadyGrabbed :: GrabStatus
grabInvalidTime :: GrabStatus
grabNotViewable :: GrabStatus
grabFrozen :: GrabStatus
type AllowEvents = CInt
asyncPointer :: AllowEvents
syncPointer :: AllowEvents
replayPointer :: AllowEvents
asyncKeyboard :: AllowEvents
syncKeyboard :: AllowEvents
replayKeyboard :: AllowEvents
asyncBoth :: AllowEvents
syncBoth :: AllowEvents
type FocusMode = CInt
revertToNone :: FocusMode
revertToPointerRoot :: FocusMode
revertToParent :: FocusMode
type ErrorCode = CInt
success :: ErrorCode
badRequest :: ErrorCode
badValue :: ErrorCode
badWindow :: ErrorCode
badPixmap :: ErrorCode
badAtom :: ErrorCode
badCursor :: ErrorCode
badFont :: ErrorCode
badMatch :: ErrorCode
badDrawable :: ErrorCode
badAccess :: ErrorCode
badAlloc :: ErrorCode
badColor :: ErrorCode

-- | Xlib functions with return values of type <tt>Status</tt> return zero
--   on failure and nonzero on success.
badGC :: ErrorCode
badIDChoice :: ErrorCode
badName :: ErrorCode
badLength :: ErrorCode
badImplementation :: ErrorCode
firstExtensionError :: ErrorCode
lastExtensionError :: ErrorCode
type Status = CInt
throwIfZero :: String -> IO Status -> IO ()
type WindowClass = CInt
copyFromParent :: WindowClass
inputOutput :: WindowClass
inputOnly :: WindowClass
type AttributeMask = Mask
cWBackPixmap :: AttributeMask
cWBackPixel :: AttributeMask
cWBorderPixmap :: AttributeMask
cWBorderPixel :: AttributeMask
cWBitGravity :: AttributeMask
cWWinGravity :: AttributeMask
cWBackingStore :: AttributeMask
cWBackingPlanes :: AttributeMask
cWBackingPixel :: AttributeMask
cWOverrideRedirect :: AttributeMask
cWSaveUnder :: AttributeMask
cWEventMask :: AttributeMask
cWDontPropagate :: AttributeMask
cWColormap :: AttributeMask
cWCursor :: AttributeMask
type CloseDownMode = CInt
destroyAll :: CloseDownMode
retainPermanent :: CloseDownMode
retainTemporary :: CloseDownMode
type QueryBestSizeClass = CInt
cursorShape :: QueryBestSizeClass
tileShape :: QueryBestSizeClass
stippleShape :: QueryBestSizeClass
type GXFunction = CInt
gXclear :: GXFunction
gXand :: GXFunction
gXandReverse :: GXFunction
gXcopy :: GXFunction
gXandInverted :: GXFunction
gXnoop :: GXFunction
gXxor :: GXFunction
gXor :: GXFunction
gXnor :: GXFunction
gXequiv :: GXFunction
gXinvert :: GXFunction
gXorReverse :: GXFunction
gXcopyInverted :: GXFunction
gXorInverted :: GXFunction
gXnand :: GXFunction
gXset :: GXFunction
type LineStyle = CInt
lineSolid :: LineStyle
lineOnOffDash :: LineStyle
lineDoubleDash :: LineStyle
type CapStyle = CInt
capNotLast :: CapStyle
capButt :: CapStyle
capRound :: CapStyle
capProjecting :: CapStyle
type JoinStyle = CInt
joinMiter :: JoinStyle
joinRound :: JoinStyle
joinBevel :: JoinStyle
type FillStyle = CInt
fillSolid :: FillStyle
fillTiled :: FillStyle
fillStippled :: FillStyle
fillOpaqueStippled :: FillStyle
type FillRule = CInt
evenOddRule :: FillRule
windingRule :: FillRule
type SubWindowMode = CInt
clipByChildren :: SubWindowMode
includeInferiors :: SubWindowMode
type CoordinateMode = CInt
coordModeOrigin :: CoordinateMode
coordModePrevious :: CoordinateMode
type PolygonShape = CInt
complex :: PolygonShape
nonconvex :: PolygonShape
convex :: PolygonShape
type ArcMode = CInt
arcChord :: ArcMode
arcPieSlice :: ArcMode
type GCMask = CInt
gCFunction :: GCMask
gCPlaneMask :: GCMask
gCForeground :: GCMask
gCBackground :: GCMask
gCLineWidth :: GCMask
gCLineStyle :: GCMask
gCCapStyle :: GCMask
gCJoinStyle :: GCMask
gCFillStyle :: GCMask
gCFillRule :: GCMask
gCTile :: GCMask
gCStipple :: GCMask
gCTileStipXOrigin :: GCMask
gCTileStipYOrigin :: GCMask
gCFont :: GCMask
gCSubwindowMode :: GCMask
gCGraphicsExposures :: GCMask
gCClipXOrigin :: GCMask
gCClipYOrigin :: GCMask
gCClipMask :: GCMask
gCDashOffset :: GCMask
gCDashList :: GCMask
gCArcMode :: GCMask
gCLastBit :: GCMask
type CirculationDirection = CInt
raiseLowest :: CirculationDirection
lowerHighest :: CirculationDirection
type ByteOrder = CInt
lSBFirst :: ByteOrder
mSBFirst :: ByteOrder
type ColormapAlloc = CInt
allocNone :: ColormapAlloc
allocAll :: ColormapAlloc
type MappingRequest = CInt
mappingModifier :: MappingRequest
mappingKeyboard :: MappingRequest
mappingPointer :: MappingRequest
type ChangeSaveSetMode = CInt
setModeInsert :: ChangeSaveSetMode
setModeDelete :: ChangeSaveSetMode
type BitGravity = CInt
forgetGravity :: BitGravity
northWestGravity :: BitGravity
northGravity :: BitGravity
northEastGravity :: BitGravity
westGravity :: BitGravity
centerGravity :: BitGravity
eastGravity :: BitGravity
southWestGravity :: BitGravity
southGravity :: BitGravity
southEastGravity :: BitGravity
staticGravity :: BitGravity
type WindowGravity = CInt
unmapGravity :: WindowGravity
type BackingStore = CInt
notUseful :: BackingStore
whenMapped :: BackingStore
always :: BackingStore
doRed :: Word8
doGreen :: Word8
doBlue :: Word8
type FontDirection = CInt
fontLeftToRight :: FontDirection
fontRightToLeft :: FontDirection
type ImageFormat = CInt
xyBitmap :: ImageFormat
xyPixmap :: ImageFormat
zPixmap :: ImageFormat
type Rotation = Word16
type Reflection = Word16
xRR_Rotate_0 :: Rotation
xRR_Rotate_90 :: Rotation
xRR_Rotate_180 :: Rotation
xRR_Rotate_270 :: Rotation
xRR_Reflect_X :: Reflection
xRR_Reflect_Y :: Reflection
xRR_Connected :: Connection
xRR_Disconnected :: Connection
xRR_UnknownConnection :: Connection


-- | A collection of type declarations for interfacing with Xlib.
module Graphics.X11.Xlib.Types

-- | pointer to an X11 <tt>Display</tt> structure
newtype Display
Display :: (Ptr Display) -> Display

-- | pointer to an X11 <tt>Screen</tt> structure
newtype Screen
Screen :: (Ptr Screen) -> Screen

-- | pointer to an X11 <tt>Visual</tt> structure
newtype Visual
Visual :: (Ptr Visual) -> Visual

-- | pointer to an X11 <tt>GC</tt> structure
newtype GC
GC :: (Ptr GC) -> GC

-- | pointer to an X11 <tt>XGCValues</tt> structure
data GCValues

-- | pointer to an X11 <tt>XSetWindowAttributes</tt> structure
data SetWindowAttributes

-- | counterpart of an X11 <tt>XVisualInfo</tt> structure
data VisualInfo
VisualInfo :: Visual -> VisualID -> ScreenNumber -> CInt -> CInt -> CULong -> CULong -> CULong -> CInt -> CInt -> VisualInfo
visualInfo_visual :: VisualInfo -> Visual
visualInfo_visualID :: VisualInfo -> VisualID
visualInfo_screen :: VisualInfo -> ScreenNumber
visualInfo_depth :: VisualInfo -> CInt
visualInfo_class :: VisualInfo -> CInt
visualInfo_redMask :: VisualInfo -> CULong
visualInfo_greenMask :: VisualInfo -> CULong
visualInfo_blueMask :: VisualInfo -> CULong
visualInfo_colormapSize :: VisualInfo -> CInt
visualInfo_bitsPerRGB :: VisualInfo -> CInt

-- | pointer to an X11 <tt>XImage</tt> structure
newtype Image
Image :: (Ptr Image) -> Image

-- | counterpart of an X11 <tt>XPoint</tt> structure
data Point
Point :: !Position -> !Position -> Point
pt_x :: Point -> !Position
pt_y :: Point -> !Position

-- | counterpart of an X11 <tt>XRectangle</tt> structure
data Rectangle
Rectangle :: !Position -> !Position -> !Dimension -> !Dimension -> Rectangle
rect_x :: Rectangle -> !Position
rect_y :: Rectangle -> !Position
rect_width :: Rectangle -> !Dimension
rect_height :: Rectangle -> !Dimension

-- | counterpart of an X11 <tt>XArc</tt> structure
data Arc
Arc :: Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> Arc
arc_x :: Arc -> Position
arc_y :: Arc -> Position
arc_width :: Arc -> Dimension
arc_height :: Arc -> Dimension
arc_angle1 :: Arc -> Angle
arc_angle2 :: Arc -> Angle

-- | counterpart of an X11 <tt>XSegment</tt> structure
data Segment
Segment :: Position -> Position -> Position -> Position -> Segment
seg_x1 :: Segment -> Position
seg_y1 :: Segment -> Position
seg_x2 :: Segment -> Position
seg_y2 :: Segment -> Position

-- | counterpart of an X11 <tt>XColor</tt> structure
data Color
Color :: Pixel -> Word16 -> Word16 -> Word16 -> Word8 -> Color
color_pixel :: Color -> Pixel
color_red :: Color -> Word16
color_green :: Color -> Word16
color_blue :: Color -> Word16
color_flags :: Color -> Word8
type Pixel = Word64
type Position = Int32
type Dimension = Word32
type Angle = CInt
type ScreenNumber = Word32
type Buffer = CInt
instance Typeable Display
instance Typeable Screen
instance Typeable Visual
instance Typeable GC
instance Typeable GCValues
instance Typeable SetWindowAttributes
instance Typeable Image
instance Typeable VisualInfo
instance Typeable Point
instance Typeable Rectangle
instance Typeable Arc
instance Typeable Segment
instance Typeable Color
instance Eq Display
instance Ord Display
instance Show Display
instance Data Display
instance Eq Screen
instance Ord Screen
instance Show Screen
instance Data Screen
instance Eq Visual
instance Ord Visual
instance Show Visual
instance Data Visual
instance Eq GC
instance Ord GC
instance Show GC
instance Data GC
instance Eq GCValues
instance Ord GCValues
instance Show GCValues
instance Data GCValues
instance Eq SetWindowAttributes
instance Ord SetWindowAttributes
instance Show SetWindowAttributes
instance Data SetWindowAttributes
instance Eq Image
instance Ord Image
instance Show Image
instance Data Image
instance Eq VisualInfo
instance Show VisualInfo
instance Eq Point
instance Show Point
instance Data Point
instance Eq Rectangle
instance Read Rectangle
instance Show Rectangle
instance Data Rectangle
instance Eq Arc
instance Show Arc
instance Eq Segment
instance Show Segment
instance Data Segment
instance Eq Color
instance Show Color
instance Data Color
instance Storable Color
instance Storable Segment
instance Storable Arc
instance Storable Rectangle
instance Storable Point
instance Storable VisualInfo


-- | A collection of FFI declarations for interfacing with Xlib Displays.
module Graphics.X11.Xlib.Display

-- | interface to the X11 library function <tt>XAllPlanes()</tt>.
allPlanes_aux :: Pixel

-- | interface to the X11 library function <tt>XBlackPixel()</tt>.
blackPixel :: Display -> ScreenNumber -> Pixel

-- | interface to the X11 library function <tt>XWhitePixel()</tt>.
whitePixel :: Display -> ScreenNumber -> Pixel

-- | interface to the X11 library function <tt>XConnectionNumber()</tt>.
connectionNumber :: Display -> CInt

-- | interface to the X11 library function <tt>XDefaultColormap()</tt>.
defaultColormap :: Display -> ScreenNumber -> Colormap

-- | interface to the X11 library function <tt>XDefaultGC()</tt>.
defaultGC :: Display -> ScreenNumber -> GC

-- | interface to the X11 library function <tt>XDefaultDepth()</tt>.
defaultDepth :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XDefaultScreen()</tt>.
defaultScreen :: Display -> ScreenNumber

-- | interface to the X11 library function
--   <tt>XDefaultScreenOfDisplay()</tt>.
defaultScreenOfDisplay :: Display -> Screen

-- | interface to the X11 library function <tt>XDisplayHeight()</tt>.
displayHeight :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XDisplayHeightMM()</tt>.
displayHeightMM :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XDisplayWidth()</tt>.
displayWidth :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XDisplayWidthMM()</tt>.
displayWidthMM :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XMaxRequestSize()</tt>.
maxRequestSize :: Display -> CInt

-- | interface to the X11 library function
--   <tt>XDisplayMotionBufferSize()</tt>.
displayMotionBufferSize :: Display -> CInt

-- | interface to the X11 library function
--   <tt>XResourceManagerString()</tt>.
resourceManagerString :: Display -> String

-- | interface to the X11 library function
--   <tt>XScreenResourceString()</tt>.
screenResourceString :: Screen -> String

-- | interface to the X11 library function <tt>XDisplayString()</tt>.
displayString :: Display -> String

-- | interface to the X11 library function <tt>XImageByteOrder()</tt>.
imageByteOrder :: Display -> CInt

-- | interface to the X11 library function <tt>XProtocolRevision()</tt>.
protocolRevision :: Display -> CInt

-- | interface to the X11 library function <tt>XProtocolVersion()</tt>.
protocolVersion :: Display -> CInt

-- | interface to the X11 library function <tt>XServerVendor()</tt>.
serverVendor :: Display -> String

-- | interface to the X11 library function <tt>XScreenCount()</tt>.
screenCount :: Display -> CInt

-- | interface to the X11 library function <tt>XDefaultVisual()</tt>.
defaultVisual :: Display -> ScreenNumber -> Visual

-- | interface to the X11 library function <tt>XDisplayCells()</tt>.
displayCells :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XDisplayPlanes()</tt>.
displayPlanes :: Display -> ScreenNumber -> CInt

-- | interface to the X11 library function <tt>XScreenOfDisplay()</tt>.
screenOfDisplay :: Display -> ScreenNumber -> Screen

-- | interface to the X11 library function <tt>XDefaultRootWindow()</tt>.
defaultRootWindow :: Display -> Window

-- | interface to the X11 library function <tt>XRootWindow()</tt>.
rootWindow :: Display -> ScreenNumber -> IO Window

-- | interface to the X11 library function <tt>XQLength()</tt>.
qLength :: Display -> IO CInt

-- | interface to the X11 library function <tt>XNoOp()</tt>.
noOp :: Display -> IO ()

-- | interface to the X11 library function <tt>XOpenDisplay()</tt>.
openDisplay :: String -> IO Display

-- | interface to the X11 library function <tt>XCloseDisplay()</tt>.
closeDisplay :: Display -> IO ()


-- | A collection of FFI declarations for interfacing with Xlib Events.
module Graphics.X11.Xlib.Event
type QueuedMode = CInt
queuedAlready :: QueuedMode
queuedAfterFlush :: QueuedMode
queuedAfterReading :: QueuedMode
newtype XEvent
XEvent :: XEventPtr -> XEvent
type XEventPtr = Ptr XEvent
allocaXEvent :: (XEventPtr -> IO a) -> IO a
get_EventType :: XEventPtr -> IO EventType
get_Window :: XEventPtr -> IO Window
type XKeyEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, KeyCode, Bool)
type XKeyEventPtr = Ptr XKeyEvent
asKeyEvent :: XEventPtr -> XKeyEventPtr
type XButtonEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, Button, Bool)
get_KeyEvent :: XEventPtr -> IO XKeyEvent
get_ButtonEvent :: XEventPtr -> IO XButtonEvent
get_MotionEvent :: XEventPtr -> IO XMotionEvent
type XMotionEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, NotifyMode, Bool)
type XExposeEvent = (Position, Position, Dimension, Dimension, CInt)
get_ExposeEvent :: XEventPtr -> IO XExposeEvent
type XMappingEvent = (MappingRequest, KeyCode, CInt)
type XConfigureEvent = (Position, Position, Dimension, Dimension)
get_ConfigureEvent :: XEventPtr -> IO XConfigureEvent

-- | Reads an event with a timeout (in microseconds). Returns True if
--   timeout occurs.
waitForEvent :: Display -> Word32 -> IO Bool

-- | This function is somewhat compatible with Win32's
--   <tt>TimeGetTime()</tt>
gettimeofday_in_milliseconds :: IO Integer

-- | interface to the X11 library function <tt>XFlush()</tt>.
flush :: Display -> IO ()

-- | interface to the X11 library function <tt>XSync()</tt>.
sync :: Display -> Bool -> IO ()

-- | interface to the X11 library function <tt>XPending()</tt>.
pending :: Display -> IO CInt

-- | interface to the X11 library function <tt>XEventsQueued()</tt>.
eventsQueued :: Display -> QueuedMode -> IO CInt

-- | interface to the X11 library function <tt>XNextEvent()</tt>.
nextEvent :: Display -> XEventPtr -> IO ()

-- | interface to the X11 library function <tt>XAllowEvents()</tt>.
allowEvents :: Display -> AllowEvents -> Time -> IO ()

-- | interface to the X11 library function <tt>XSelectInput()</tt>.
selectInput :: Display -> Window -> EventMask -> IO ()

-- | interface to the X11 library function <tt>XSendEvent()</tt>.
sendEvent :: Display -> Window -> Bool -> EventMask -> XEventPtr -> IO ()

-- | interface to the X11 library function <tt>XWindowEvent()</tt>.
windowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO ()

-- | interface to the X11 library function <tt>XCheckWindowEvent()</tt>.
checkWindowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO Bool

-- | interface to the X11 library function <tt>XMaskEvent()</tt>.
maskEvent :: Display -> EventMask -> XEventPtr -> IO ()

-- | interface to the X11 library function <tt>XCheckMaskEvent()</tt>.
checkMaskEvent :: Display -> EventMask -> XEventPtr -> IO Bool

-- | interface to the X11 library function <tt>XCheckTypedEvent()</tt>.
checkTypedEvent :: Display -> EventType -> XEventPtr -> IO Bool

-- | interface to the X11 library function
--   <tt>XCheckTypedWindowEvent()</tt>.
checkTypedWindowEvent :: Display -> Window -> EventType -> XEventPtr -> IO Bool

-- | interface to the X11 library function <tt>XPutBackEvent()</tt>.
putBackEvent :: Display -> XEventPtr -> IO ()

-- | interface to the X11 library function <tt>XPeekEvent()</tt>.
peekEvent :: Display -> XEventPtr -> IO ()

-- | interface to the X11 library function
--   <tt>XRefreshKeyboardMapping()</tt>.
refreshKeyboardMapping :: XMappingEvent -> IO ()
instance Typeable XEvent
instance Typeable FdSet
instance Typeable TimeZone
instance Eq XEvent
instance Ord XEvent
instance Show XEvent
instance Data XEvent
instance Eq FdSet
instance Ord FdSet
instance Show FdSet
instance Data FdSet
instance Eq TimeZone
instance Ord TimeZone
instance Show TimeZone
instance Data TimeZone
instance Storable TimeVal


-- | A collection of FFI declarations for interfacing with Xlib Screens.
module Graphics.X11.Xlib.Screen

-- | interface to the X11 library function <tt>XBlackPixelOfScreen()</tt>.
blackPixelOfScreen :: Screen -> Pixel

-- | interface to the X11 library function <tt>XWhitePixelOfScreen()</tt>.
whitePixelOfScreen :: Screen -> Pixel

-- | interface to the X11 library function <tt>XCellsOfScreen()</tt>.
cellsOfScreen :: Screen -> CInt

-- | interface to the X11 library function
--   <tt>XDefaultColormapOfScreen()</tt>.
defaultColormapOfScreen :: Screen -> Colormap

-- | interface to the X11 library function
--   <tt>XDefaultDepthOfScreen()</tt>.
defaultDepthOfScreen :: Screen -> CInt

-- | interface to the X11 library function <tt>XDefaultGCOfScreen()</tt>.
defaultGCOfScreen :: Screen -> GC

-- | interface to the X11 library function
--   <tt>XDefaultVisualOfScreen()</tt>.
defaultVisualOfScreen :: Screen -> Visual

-- | interface to the X11 library function <tt>XDoesBackingStore()</tt>.
doesBackingStore :: Screen -> Bool

-- | interface to the X11 library function <tt>XDoesSaveUnders()</tt>.
doesSaveUnders :: Screen -> Bool

-- | interface to the X11 library function <tt>XDisplayOfScreen()</tt>.
displayOfScreen :: Screen -> Display

-- | interface to the X11 library function <tt>XEventMaskOfScreen()</tt>.
--   Event mask at connection setup time - not current event mask!
eventMaskOfScreen :: Screen -> EventMask

-- | interface to the X11 library function <tt>XMinCmapsOfScreen()</tt>.
minCmapsOfScreen :: Screen -> CInt

-- | interface to the X11 library function <tt>XMaxCmapsOfScreen()</tt>.
maxCmapsOfScreen :: Screen -> CInt

-- | interface to the X11 library function <tt>XRootWindowOfScreen()</tt>.
rootWindowOfScreen :: Screen -> Window

-- | interface to the X11 library function <tt>XWidthOfScreen()</tt>.
widthOfScreen :: Screen -> Dimension

-- | interface to the X11 library function <tt>XWidthMMOfScreen()</tt>.
widthMMOfScreen :: Screen -> Dimension

-- | interface to the X11 library function <tt>XHeightOfScreen()</tt>.
heightOfScreen :: Screen -> Dimension

-- | interface to the X11 library function <tt>XHeightMMOfScreen()</tt>.
heightMMOfScreen :: Screen -> Dimension

-- | interface to the X11 library function <tt>XPlanesOfScreen()</tt>.
planesOfScreen :: Screen -> CInt

-- | interface to the X11 library function
--   <tt>XScreenNumberOfScreen()</tt>.
screenNumberOfScreen :: Screen -> ScreenNumber


-- | A collection of FFI declarations for interfacing with Xlib Windows.
module Graphics.X11.Xlib.Window

-- | interface to the X11 library function <tt>XStoreName()</tt>.
storeName :: Display -> Window -> String -> IO ()

-- | interface to the X11 library function <tt>XCreateSimpleWindow()</tt>.
createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window

-- | interface to the X11 library function <tt>XCreateWindow()</tt>.
createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window

-- | interface to the X11 library function
--   <tt>XTranslateCoordinates()</tt>.
translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window)

-- | interface to the X11 library function <tt>XMoveResizeWindow()</tt>.
moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XResizeWindow()</tt>.
resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XMoveWindow()</tt>.
moveWindow :: Display -> Window -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XReparentWindow()</tt>.
reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XMapSubwindows()</tt>.
mapSubwindows :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XUnmapSubwindows()</tt>.
unmapSubwindows :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XMapWindow()</tt>.
mapWindow :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XLowerWindow()</tt>.
lowerWindow :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XRaiseWindow()</tt>.
raiseWindow :: Display -> Window -> IO ()

-- | interface to the X11 library function
--   <tt>XCirculateSubwindowsDown()</tt>.
circulateSubwindowsDown :: Display -> Window -> IO ()

-- | interface to the X11 library function
--   <tt>XCirculateSubwindowsUp()</tt>.
circulateSubwindowsUp :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XCirculateSubwindows()</tt>.
circulateSubwindows :: Display -> Window -> CirculationDirection -> IO ()

-- | interface to the X11 library function <tt>XIconifyWindow()</tt>.
iconifyWindow :: Display -> Window -> ScreenNumber -> IO ()

-- | interface to the X11 library function <tt>XWithdrawWindow()</tt>.
withdrawWindow :: Display -> Window -> ScreenNumber -> IO ()

-- | interface to the X11 library function <tt>XDestroyWindow()</tt>.
destroyWindow :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XDestroySubwindows()</tt>.
destroySubwindows :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XSetWindowBorder()</tt>.
setWindowBorder :: Display -> Window -> Pixel -> IO ()

-- | interface to the X11 library function
--   <tt>XSetWindowBorderPixmap()</tt>.
setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO ()

-- | interface to the X11 library function
--   <tt>XSetWindowBorderWidth()</tt>.
setWindowBorderWidth :: Display -> Window -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XSetWindowBackground()</tt>.
setWindowBackground :: Display -> Window -> Pixel -> IO ()

-- | interface to the X11 library function
--   <tt>XSetWindowBackgroundPixmap()</tt>.
setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO ()

-- | interface to the X11 library function <tt>XSetWindowColormap()</tt>.
setWindowColormap :: Display -> Window -> Colormap -> IO ()

-- | interface to the X11 library function <tt>XAddToSaveSet()</tt>.
addToSaveSet :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XRemoveFromSaveSet()</tt>.
removeFromSaveSet :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XChangeSaveSet()</tt>.
changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO ()

-- | interface to the X11 library function <tt>XClearWindow()</tt>.
clearWindow :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XClearArea()</tt>.
clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO ()

-- | interface to the X11 library function <tt>XRestackWindows()</tt>.
restackWindows :: Display -> [Window] -> IO ()


-- | A collection of FFI declarations for interfacing with Xlib Graphics
--   Contexts.
module Graphics.X11.Xlib.Context

-- | interface to the X11 library function <tt>XSetArcMode()</tt>.
setArcMode :: Display -> GC -> ArcMode -> IO ()

-- | interface to the X11 library function <tt>XSetBackground()</tt>.
setBackground :: Display -> GC -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XSetForeground()</tt>.
setForeground :: Display -> GC -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XSetFunction()</tt>.
setFunction :: Display -> GC -> GXFunction -> IO ()

-- | interface to the X11 library function
--   <tt>XSetGraphicsExposures()</tt>.
setGraphicsExposures :: Display -> GC -> Bool -> IO ()

-- | interface to the X11 library function <tt>XSetClipMask()</tt>.
setClipMask :: Display -> GC -> Pixmap -> IO ()

-- | interface to the X11 library function <tt>XSetClipOrigin()</tt>.
setClipOrigin :: Display -> GC -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XSetDashes()</tt>.
setDashes :: Display -> GC -> CInt -> String -> CInt -> IO ()

-- | interface to the X11 library function <tt>XSetFillRule()</tt>.
setFillRule :: Display -> GC -> FillRule -> IO ()

-- | interface to the X11 library function <tt>XSetFillStyle()</tt>.
setFillStyle :: Display -> GC -> FillStyle -> IO ()

-- | interface to the X11 library function <tt>XSetFont()</tt>.
setFont :: Display -> GC -> Font -> IO ()

-- | interface to the X11 library function <tt>XSetLineAttributes()</tt>.
setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO ()

-- | interface to the X11 library function <tt>XSetPlaneMask()</tt>.
setPlaneMask :: Display -> GC -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XSetState()</tt>.
setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XSetStipple()</tt>.
setStipple :: Display -> GC -> Pixmap -> IO ()

-- | interface to the X11 library function <tt>XSetSubwindowMode()</tt>.
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO ()

-- | interface to the X11 library function <tt>XSetTSOrigin()</tt>.
setTSOrigin :: Display -> GC -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XSetTile()</tt>.
setTile :: Display -> GC -> Pixmap -> IO ()

-- | partial interface to the X11 library function <tt>XCreateGC()</tt>.
createGC :: Display -> Drawable -> IO GC

-- | interface to the X11 library function <tt>XGContextFromGC()</tt>.
gContextFromGC :: GC -> GContext

-- | interface to the X11 library function <tt>XFreeGC()</tt>.
freeGC :: Display -> GC -> IO ()

-- | interface to the X11 library function <tt>XFlushGC()</tt>.
flushGC :: Display -> GC -> IO ()

-- | interface to the X11 library function <tt>XCopyGC()</tt>.
copyGC :: Display -> GC -> Mask -> GC -> IO ()


-- | A collection of FFI declarations for interfacing with Xlib Colors.
module Graphics.X11.Xlib.Color

-- | interface to the X11 library function <tt>XLookupColor()</tt>.
lookupColor :: Display -> Colormap -> String -> IO (Color, Color)

-- | interface to the X11 library function <tt>XAllocNamedColor()</tt>.
allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)

-- | interface to the X11 library function <tt>XAllocColor()</tt>.
allocColor :: Display -> Colormap -> Color -> IO Color

-- | interface to the X11 library function <tt>XParseColor()</tt>.
parseColor :: Display -> Colormap -> String -> IO Color

-- | interface to the X11 library function <tt>XFreeColors()</tt>.
freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XStoreColor()</tt>.
storeColor :: Display -> Colormap -> Color -> IO ()

-- | interface to the X11 library function <tt>XQueryColor()</tt>.
queryColor :: Display -> Colormap -> Color -> IO Color

-- | interface to the X11 library function <tt>XQueryColors()</tt>.
queryColors :: Display -> Colormap -> [Color] -> IO [Color]

-- | interface to the X11 library function <tt>XInstallColormap()</tt>.
installColormap :: Display -> Colormap -> IO ()

-- | interface to the X11 library function <tt>XUninstallColormap()</tt>.
uninstallColormap :: Display -> Colormap -> IO ()

-- | interface to the X11 library function <tt>XCopyColormapAndFree()</tt>.
copyColormapAndFree :: Display -> Colormap -> IO Colormap

-- | interface to the X11 library function <tt>XCreateColormap()</tt>.
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap

-- | interface to the X11 library function <tt>XFreeColormap()</tt>.
freeColormap :: Display -> Colormap -> IO ()


-- | A collection of FFI declarations for interfacing with Xlib Fonts.
module Graphics.X11.Xlib.Font
type Glyph = Word16

-- | interface to the X11 library function <tt>XQueryFont()</tt>.
queryFont :: Display -> Font -> IO FontStruct

-- | interface to the X11 library function <tt>XGetGCValues()</tt>.
fontFromGC :: Display -> GC -> IO Font

-- | interface to the X11 library function <tt>XLoadQueryFont()</tt>.
loadQueryFont :: Display -> String -> IO FontStruct

-- | interface to the X11 library function <tt>XFreeFont()</tt>.
freeFont :: Display -> FontStruct -> IO ()

-- | pointer to an X11 <tt>XFontStruct</tt> structure
data FontStruct
fontFromFontStruct :: FontStruct -> Font
ascentFromFontStruct :: FontStruct -> Int32
descentFromFontStruct :: FontStruct -> Int32
type CharStruct = (CInt, CInt, CInt, CInt, CInt)

-- | interface to the X11 library function <tt>XTextExtents()</tt>.
textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)

-- | interface to the X11 library function <tt>XTextWidth()</tt>.
textWidth :: FontStruct -> String -> Int32
instance Typeable FontStruct
instance Eq FontStruct
instance Ord FontStruct
instance Show FontStruct
instance Data FontStruct


-- | A collection of cursor types defined by
--   /usr<i>include</i>X11/cursorfont.h.
module Graphics.X11.Xlib.Cursor
xC_X_cursor :: Glyph
xC_arrow :: Glyph
xC_based_arrow_down :: Glyph
xC_based_arrow_up :: Glyph
xC_boat :: Glyph
xC_bogosity :: Glyph
xC_bottom_left_corner :: Glyph
xC_bottom_right_corner :: Glyph
xC_bottom_side :: Glyph
xC_bottom_tee :: Glyph
xC_box_spiral :: Glyph
xC_center_ptr :: Glyph
xC_circle :: Glyph
xC_clock :: Glyph
xC_coffee_mug :: Glyph
xC_cross :: Glyph
xC_cross_reverse :: Glyph
xC_crosshair :: Glyph
xC_diamond_cross :: Glyph
xC_dot :: Glyph
xC_dotbox :: Glyph
xC_double_arrow :: Glyph
xC_draft_large :: Glyph
xC_draft_small :: Glyph
xC_draped_box :: Glyph
xC_exchange :: Glyph
xC_fleur :: Glyph
xC_gobbler :: Glyph
xC_gumby :: Glyph
xC_hand1 :: Glyph
xC_hand2 :: Glyph
xC_heart :: Glyph
xC_icon :: Glyph
xC_iron_cross :: Glyph
xC_left_ptr :: Glyph
xC_left_side :: Glyph
xC_left_tee :: Glyph
xC_leftbutton :: Glyph
xC_ll_angle :: Glyph
xC_lr_angle :: Glyph
xC_man :: Glyph
xC_mouse :: Glyph
xC_pencil :: Glyph
xC_pirate :: Glyph
xC_plus :: Glyph
xC_question_arrow :: Glyph
xC_right_ptr :: Glyph
xC_right_side :: Glyph
xC_right_tee :: Glyph
xC_rightbutton :: Glyph
xC_rtl_logo :: Glyph
xC_sailboat :: Glyph
xC_sb_down_arrow :: Glyph
xC_sb_h_double_arrow :: Glyph
xC_sb_left_arrow :: Glyph
xC_sb_right_arrow :: Glyph
xC_sb_up_arrow :: Glyph
xC_sb_v_double_arrow :: Glyph
xC_shuttle :: Glyph
xC_sizing :: Glyph
xC_spider :: Glyph
xC_spraycan :: Glyph
xC_star :: Glyph
xC_target :: Glyph
xC_tcross :: Glyph
xC_top_left_arrow :: Glyph
xC_top_left_corner :: Glyph
xC_top_right_corner :: Glyph
xC_top_side :: Glyph
xC_top_tee :: Glyph
xC_trek :: Glyph
xC_ul_angle :: Glyph
xC_umbrella :: Glyph
xC_ur_angle :: Glyph
xC_watch :: Glyph
xC_xterm :: Glyph


-- | A collection of type declarations for interfacing with X11 Atoms.
module Graphics.X11.Xlib.Atom

-- | interface to the X11 library function <tt>XInternAtom()</tt>.
internAtom :: Display -> String -> Bool -> IO Atom
getAtomName :: Display -> Atom -> IO (Maybe String)
getAtomNames :: Display -> [Atom] -> IO [String]
pRIMARY :: Atom
sECONDARY :: Atom
aRC :: Atom
aTOM :: Atom
bITMAP :: Atom
cARDINAL :: Atom
cOLORMAP :: Atom
cURSOR :: Atom
cUT_BUFFER0 :: Atom
cUT_BUFFER1 :: Atom
cUT_BUFFER2 :: Atom
cUT_BUFFER3 :: Atom
cUT_BUFFER4 :: Atom
cUT_BUFFER5 :: Atom
cUT_BUFFER6 :: Atom
cUT_BUFFER7 :: Atom
dRAWABLE :: Atom
fONT :: Atom
iNTEGER :: Atom
pIXMAP :: Atom
pOINT :: Atom
rECTANGLE :: Atom
rESOURCE_MANAGER :: Atom
rGB_COLOR_MAP :: Atom
rGB_BEST_MAP :: Atom
rGB_BLUE_MAP :: Atom
rGB_DEFAULT_MAP :: Atom
rGB_GRAY_MAP :: Atom
rGB_GREEN_MAP :: Atom
rGB_RED_MAP :: Atom
sTRING :: Atom
vISUALID :: Atom
wINDOW :: Atom
wM_COMMAND :: Atom
wM_HINTS :: Atom
wM_CLIENT_MACHINE :: Atom
wM_ICON_NAME :: Atom
wM_ICON_SIZE :: Atom
wM_NAME :: Atom
wM_NORMAL_HINTS :: Atom
wM_SIZE_HINTS :: Atom
wM_ZOOM_HINTS :: Atom
mIN_SPACE :: Atom
nORM_SPACE :: Atom
mAX_SPACE :: Atom
eND_SPACE :: Atom
sUPERSCRIPT_X :: Atom
sUPERSCRIPT_Y :: Atom
sUBSCRIPT_X :: Atom
sUBSCRIPT_Y :: Atom
uNDERLINE_POSITION :: Atom
uNDERLINE_THICKNESS :: Atom
sTRIKEOUT_ASCENT :: Atom
sTRIKEOUT_DESCENT :: Atom
iTALIC_ANGLE :: Atom
x_HEIGHT :: Atom
qUAD_WIDTH :: Atom
wEIGHT :: Atom
pOINT_SIZE :: Atom
rESOLUTION :: Atom
cOPYRIGHT :: Atom
nOTICE :: Atom
fONT_NAME :: Atom
fAMILY_NAME :: Atom
fULL_NAME :: Atom
cAP_HEIGHT :: Atom
wM_CLASS :: Atom
wM_TRANSIENT_FOR :: Atom
lAST_PREDEFINED :: Atom


-- | A collection of FFI declarations for interfacing with Xlib Regions.
module Graphics.X11.Xlib.Region
data Region
type RectInRegionResult = CInt
rectangleOut :: RectInRegionResult
rectangleIn :: RectInRegionResult
rectanglePart :: RectInRegionResult

-- | interface to the X11 library function <tt>XCreateRegion()</tt>.
createRegion :: IO Region

-- | interface to the X11 library function <tt>XPolygonRegion()</tt>.
polygonRegion :: [Point] -> FillRule -> IO Region

-- | interface to the X11 library function <tt>XIntersectRegion()</tt>.
intersectRegion :: Region -> Region -> Region -> IO CInt

-- | interface to the X11 library function <tt>XSubtractRegion()</tt>.
subtractRegion :: Region -> Region -> Region -> IO CInt

-- | interface to the X11 library function <tt>XUnionRectWithRegion()</tt>.
unionRectWithRegion :: Rectangle -> Region -> Region -> IO CInt

-- | interface to the X11 library function <tt>XUnionRegion()</tt>.
unionRegion :: Region -> Region -> Region -> IO CInt

-- | interface to the X11 library function <tt>XXorRegion()</tt>.
xorRegion :: Region -> Region -> Region -> IO CInt

-- | interface to the X11 library function <tt>XEmptyRegion()</tt>.
emptyRegion :: Region -> IO Bool

-- | interface to the X11 library function <tt>XEqualRegion()</tt>.
equalRegion :: Region -> Region -> IO Bool

-- | interface to the X11 library function <tt>XPointInRegion()</tt>.
pointInRegion :: Region -> Point -> IO Bool

-- | interface to the X11 library function <tt>XRectInRegion()</tt>.
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult

-- | interface to the X11 library function <tt>XClipBox()</tt>.
clipBox :: Region -> IO (Rectangle, CInt)

-- | interface to the X11 library function <tt>XOffsetRegion()</tt>.
offsetRegion :: Region -> Point -> IO CInt

-- | interface to the X11 library function <tt>XShrinkRegion()</tt>.
shrinkRegion :: Region -> Point -> IO CInt

-- | interface to the X11 library function <tt>XSetRegion()</tt>.
setRegion :: Display -> GC -> Region -> IO CInt
instance Typeable Region
instance Eq Region
instance Ord Region
instance Show Region
instance Data Region


-- | Xlib image routines
module Graphics.X11.Xlib.Image

-- | pointer to an X11 <tt>XImage</tt> structure
data Image

-- | interface to the X11 library function <tt>XCreateImage()</tt>.
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image

-- | interface to the X11 library function <tt>XPutImage()</tt>.
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XDestroyImage()</tt>.
destroyImage :: Image -> IO ()


-- | A collection of FFI declarations for interfacing with Xlib.
module Graphics.X11.Xlib.Misc

-- | interface to the X11 library function <tt>XrmInitialize()</tt>.
rmInitialize :: IO ()

-- | interface to the X11 library function <tt>XAutoRepeatOff()</tt>.
autoRepeatOff :: Display -> IO ()

-- | interface to the X11 library function <tt>XAutoRepeatOn()</tt>.
autoRepeatOn :: Display -> IO ()

-- | interface to the X11 library function <tt>XBell()</tt>.
bell :: Display -> CInt -> IO ()

-- | interface to the X11 library function <tt>XSetCloseDownMode()</tt>.
setCloseDownMode :: Display -> CloseDownMode -> IO ()

-- | interface to the X11 library function
--   <tt>XLastKnownRequestProcessed()</tt>.
lastKnownRequestProcessed :: Display -> IO CInt

-- | interface to the X11 library function <tt>XGetInputFocus()</tt>.
getInputFocus :: Display -> IO (Window, FocusMode)

-- | interface to the X11 library function <tt>XSetInputFocus()</tt>.
setInputFocus :: Display -> Window -> FocusMode -> Time -> IO ()

-- | interface to the X11 library function <tt>XGrabButton()</tt>.
grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO ()

-- | interface to the X11 library function <tt>XUngrabButton()</tt>.
ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO ()

-- | interface to the X11 library function <tt>XGrabPointer()</tt>.
grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus

-- | interface to the X11 library function <tt>XUngrabPointer()</tt>.
ungrabPointer :: Display -> Time -> IO ()

-- | interface to the X11 library function <tt>XGrabKey()</tt>.
grabKey :: Display -> KeyCode -> ButtonMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()

-- | interface to the X11 library function <tt>XUngrabKey()</tt>.
ungrabKey :: Display -> KeyCode -> ButtonMask -> Window -> IO ()

-- | interface to the X11 library function <tt>XGrabKeyboard()</tt>.
grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus

-- | interface to the X11 library function <tt>XUngrabKeyboard()</tt>.
ungrabKeyboard :: Display -> Time -> IO ()

-- | interface to the X11 library function <tt>XGrabServer()</tt>.
grabServer :: Display -> IO ()

-- | interface to the X11 library function <tt>XUngrabServer()</tt>.
ungrabServer :: Display -> IO ()

-- | interface to the X11 library function <tt>XQueryBestTile()</tt>.
queryBestTile :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)

-- | interface to the X11 library function <tt>XQueryBestStipple()</tt>.
queryBestStipple :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)

-- | interface to the X11 library function <tt>XQueryBestCursor()</tt>.
queryBestCursor :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)

-- | interface to the X11 library function <tt>XQueryBestSize()</tt>.
queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)

-- | interface to the X11 library function <tt>XQueryPointer()</tt>.
queryPointer :: Display -> Window -> IO (Bool, Window, Window, CInt, CInt, CInt, CInt, Modifier)

-- | interface to the X11 library function <tt>XDisplayName()</tt>.
displayName :: String -> String

-- | The Xlib library reports most errors by invoking a user-provided error
--   handler. This function installs an error handler that prints a textual
--   representation of the error.
setDefaultErrorHandler :: IO ()

-- | interface to the X11 library function <tt>XGeometry()</tt>.
geometry :: Display -> CInt -> String -> String -> Dimension -> Dimension -> Dimension -> CInt -> CInt -> IO (CInt, Position, Position, Dimension, Dimension)

-- | interface to the X11 library function <tt>XGetGeometry()</tt>.
getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt)

-- | interface to the X11 library function <tt>XSupportsLocale()</tt>.
supportsLocale :: IO Bool

-- | interface to the X11 library function <tt>XSetLocaleModifiers()</tt>.
setLocaleModifiers :: String -> IO String
type AllowExposuresMode = CInt
dontAllowExposures :: AllowExposuresMode
allowExposures :: AllowExposuresMode
defaultExposures :: AllowExposuresMode
type PreferBlankingMode = CInt
dontPreferBlanking :: PreferBlankingMode
preferBlanking :: PreferBlankingMode
defaultBlanking :: PreferBlankingMode
type ScreenSaverMode = CInt
screenSaverActive :: ScreenSaverMode
screenSaverReset :: ScreenSaverMode
getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode)

-- | interface to the X11 library function <tt>XSetScreenSaver()</tt>.
setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO ()

-- | interface to the X11 library function <tt>XActivateScreenSaver()</tt>.
activateScreenSaver :: Display -> IO ()

-- | interface to the X11 library function <tt>XResetScreenSaver()</tt>.
resetScreenSaver :: Display -> IO ()

-- | interface to the X11 library function <tt>XForceScreenSaver()</tt>.
forceScreenSaver :: Display -> ScreenSaverMode -> IO ()

-- | interface to the X11 library function <tt>XGetPointerControl()</tt>.
getPointerControl :: Display -> IO (CInt, CInt, CInt)

-- | interface to the X11 library function <tt>XWarpPointer()</tt>.
warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()

-- | see <tt>XVisualIDFromVisual()</tt>
visualIDFromVisual :: Visual -> IO VisualID
type VisualInfoMask = CLong
visualNoMask :: VisualInfoMask
visualIDMask :: VisualInfoMask
visualScreenMask :: VisualInfoMask
visualDepthMask :: VisualInfoMask
visualClassMask :: VisualInfoMask
visualRedMaskMask :: VisualInfoMask
visualGreenMaskMask :: VisualInfoMask

-- | interface to the X11 library function <tt>XGetVisualInfo()</tt>
visualBlueMaskMask :: VisualInfoMask
visualColormapSizeMask :: VisualInfoMask
visualBitsPerRGBMask :: VisualInfoMask
visualAllMask :: VisualInfoMask
getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo]

-- | interface to the X11 library function <tt>XMatchVisualInfo()</tt>
matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo)
initThreads :: IO Status
lockDisplay :: Display -> IO ()
unlockDisplay :: Display -> IO ()

-- | interface to the X11 library function <tt>XCreatePixmap()</tt>.
createPixmap :: Display -> Drawable -> Dimension -> Dimension -> CInt -> IO Pixmap

-- | interface to the X11 library function <tt>XFreePixmap()</tt>.
freePixmap :: Display -> Pixmap -> IO ()

-- | interface to the X11 library function <tt>XBitmapBitOrder()</tt>.
bitmapBitOrder :: Display -> ByteOrder

-- | interface to the X11 library function <tt>XBitmapUnit()</tt>.
bitmapUnit :: Display -> CInt

-- | interface to the X11 library function <tt>XBitmapPad()</tt>.
bitmapPad :: Display -> CInt

-- | interface to the X11 library function <tt>XReadBitmapFile</tt>.
readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt))

-- | interface to the X11 library function <tt>XDisplayKeycodes()</tt>.
displayKeycodes :: Display -> (CInt, CInt)

-- | interface to the X11 library function <tt>XLookupKeysym()</tt>.
lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym

-- | interface to the X11 library function <tt>XKeycodeToKeysym()</tt>.
keycodeToKeysym :: Display -> KeyCode -> CInt -> IO KeySym

-- | interface to the X11 library function <tt>XKeysymToKeycode()</tt>.
keysymToKeycode :: Display -> KeySym -> IO KeyCode

-- | interface to the X11 library function <tt>XKeysymToString()</tt>.
keysymToString :: KeySym -> String

-- | interface to the X11 library function <tt>XStringToKeysym()</tt>.
stringToKeysym :: String -> KeySym
noSymbol :: KeySym

-- | interface to the X11 library function <tt>XLookupString()</tt>.
lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String)

-- | interface to the X11 library function <tt>XGetIconName()</tt>.
getIconName :: Display -> Window -> IO String

-- | interface to the X11 library function <tt>XSetIconName()</tt>.
setIconName :: Display -> Window -> String -> IO ()

-- | interface to the X11 library function <tt>XDefineCursor()</tt>.
defineCursor :: Display -> Window -> Cursor -> IO ()

-- | interface to the X11 library function <tt>XUndefineCursor()</tt>.
undefineCursor :: Display -> Window -> IO ()

-- | interface to the X11 library function <tt>XCreatePixmapCursor()</tt>.
createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor

-- | interface to the X11 library function <tt>XCreateGlyphCursor()</tt>.
createGlyphCursor :: Display -> Font -> Font -> Glyph -> Glyph -> Color -> Color -> IO Cursor

-- | interface to the X11 library function <tt>XCreateFontCursor()</tt>.
createFontCursor :: Display -> Glyph -> IO Cursor

-- | interface to the X11 library function <tt>XFreeCursor()</tt>.
freeCursor :: Display -> Font -> IO ()

-- | interface to the X11 library function <tt>XRecolorCursor()</tt>.
recolorCursor :: Display -> Cursor -> Color -> Color -> IO ()

-- | interface to the X11 library function <tt>XSetWMProtocols()</tt>.
setWMProtocols :: Display -> Window -> [Atom] -> IO ()
allocaSetWindowAttributes :: (Ptr SetWindowAttributes -> IO a) -> IO a
set_background_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
set_background_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
set_border_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
set_border_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
set_bit_gravity :: Ptr SetWindowAttributes -> BitGravity -> IO ()
set_win_gravity :: Ptr SetWindowAttributes -> WindowGravity -> IO ()
set_backing_store :: Ptr SetWindowAttributes -> BackingStore -> IO ()
set_backing_planes :: Ptr SetWindowAttributes -> Pixel -> IO ()
set_backing_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
set_save_under :: Ptr SetWindowAttributes -> Bool -> IO ()
set_event_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
set_do_not_propagate_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
set_override_redirect :: Ptr SetWindowAttributes -> Bool -> IO ()
set_colormap :: Ptr SetWindowAttributes -> Colormap -> IO ()
set_cursor :: Ptr SetWindowAttributes -> Cursor -> IO ()

-- | interface to the X11 library function <tt>XDrawPoint()</tt>.
drawPoint :: Display -> Drawable -> GC -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XDrawPoints()</tt>.
drawPoints :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()

-- | interface to the X11 library function <tt>XDrawLine()</tt>.
drawLine :: Display -> Drawable -> GC -> Position -> Position -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XDrawLines()</tt>.
drawLines :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()

-- | interface to the X11 library function <tt>XDrawSegments()</tt>.
drawSegments :: Display -> Drawable -> GC -> [Segment] -> IO ()

-- | interface to the X11 library function <tt>XDrawRectangle()</tt>.
drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XDrawRectangles()</tt>.
drawRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()

-- | interface to the X11 library function <tt>XDrawArc()</tt>.
drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()

-- | interface to the X11 library function <tt>XDrawArcs()</tt>.
drawArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()

-- | interface to the X11 library function <tt>XFillRectangle()</tt>.
fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()

-- | interface to the X11 library function <tt>XFillRectangles()</tt>.
fillRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()

-- | interface to the X11 library function <tt>XFillPolygon()</tt>.
fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO ()

-- | interface to the X11 library function <tt>XFillArc()</tt>.
fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()

-- | interface to the X11 library function <tt>XFillArcs()</tt>.
fillArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()

-- | interface to the X11 library function <tt>XCopyArea()</tt>.
copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()

-- | interface to the X11 library function <tt>XCopyPlane()</tt>.
copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO ()

-- | interface to the X11 library function <tt>XDrawString()</tt>.
drawString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()

-- | interface to the X11 library function <tt>XDrawImageString()</tt>.
drawImageString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()

-- | interface to the X11 library function <tt>XStoreBuffer()</tt>.
storeBuffer :: Display -> String -> CInt -> IO ()

-- | interface to the X11 library function <tt>XStoreBytes()</tt>.
storeBytes :: Display -> String -> IO ()

-- | interface to the X11 library function <tt>XFetchBuffer()</tt>.
fetchBuffer :: Display -> CInt -> IO String

-- | interface to the X11 library function <tt>XFetchBytes()</tt>.
fetchBytes :: Display -> IO String

-- | interface to the X11 library function <tt>XRotateBuffers()</tt>.
rotateBuffers :: Display -> CInt -> IO ()

-- | interface to the X11 library function <tt>XSetTextProperty()</tt>.
setTextProperty :: Display -> Window -> String -> Atom -> IO ()
instance Typeable XErrorEvent
instance Typeable XComposeStatus
instance Typeable XTextProperty
instance Eq XErrorEvent
instance Ord XErrorEvent
instance Show XErrorEvent
instance Data XErrorEvent
instance Eq XComposeStatus
instance Ord XComposeStatus
instance Show XComposeStatus
instance Data XComposeStatus
instance Eq XTextProperty
instance Ord XTextProperty
instance Show XTextProperty
instance Data XTextProperty
instance Default VisualInfo


module Graphics.X11.Xrandr

-- | Representation of the XRRScreenSize struct
data XRRScreenSize
XRRScreenSize :: !CInt -> !CInt -> !CInt -> !CInt -> XRRScreenSize
xrr_ss_width :: XRRScreenSize -> !CInt
xrr_ss_height :: XRRScreenSize -> !CInt
xrr_ss_mwidth :: XRRScreenSize -> !CInt
xrr_ss_mheight :: XRRScreenSize -> !CInt

-- | Representation of the XRRModeInfo struct
data XRRModeInfo
XRRModeInfo :: !RRMode -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !CUInt -> !String -> !XRRModeFlags -> XRRModeInfo
xrr_mi_id :: XRRModeInfo -> !RRMode
xrr_mi_width :: XRRModeInfo -> !CUInt
xrr_mi_height :: XRRModeInfo -> !CUInt
xrr_mi_dotClock :: XRRModeInfo -> !CUInt
xrr_mi_hSyncStart :: XRRModeInfo -> !CUInt
xrr_mi_hSyncEnd :: XRRModeInfo -> !CUInt
xrr_mi_hTotal :: XRRModeInfo -> !CUInt
xrr_mi_hSkew :: XRRModeInfo -> !CUInt
xrr_mi_vSyncStart :: XRRModeInfo -> !CUInt
xrr_mi_vSyncEnd :: XRRModeInfo -> !CUInt
xrr_mi_vTotal :: XRRModeInfo -> !CUInt
xrr_mi_name :: XRRModeInfo -> !String
xrr_mi_modeFlags :: XRRModeInfo -> !XRRModeFlags

-- | Representation of the XRRScreenResources struct
data XRRScreenResources
XRRScreenResources :: !Time -> !Time -> [RRCrtc] -> [RROutput] -> [XRRModeInfo] -> XRRScreenResources
xrr_sr_timestamp :: XRRScreenResources -> !Time
xrr_sr_configTimestamp :: XRRScreenResources -> !Time
xrr_sr_crtcs :: XRRScreenResources -> [RRCrtc]
xrr_sr_outputs :: XRRScreenResources -> [RROutput]
xrr_sr_modes :: XRRScreenResources -> [XRRModeInfo]

-- | Representation of the XRROutputInfo struct
data XRROutputInfo
XRROutputInfo :: !Time -> !RRCrtc -> !String -> !CULong -> !CULong -> !Connection -> !SubpixelOrder -> [RRCrtc] -> [RROutput] -> !CInt -> [RRMode] -> XRROutputInfo
xrr_oi_timestamp :: XRROutputInfo -> !Time
xrr_oi_crtc :: XRROutputInfo -> !RRCrtc
xrr_oi_name :: XRROutputInfo -> !String
xrr_oi_mm_width :: XRROutputInfo -> !CULong
xrr_oi_mm_height :: XRROutputInfo -> !CULong
xrr_oi_connection :: XRROutputInfo -> !Connection
xrr_oi_subpixel_order :: XRROutputInfo -> !SubpixelOrder
xrr_oi_crtcs :: XRROutputInfo -> [RRCrtc]
xrr_oi_clones :: XRROutputInfo -> [RROutput]
xrr_oi_npreferred :: XRROutputInfo -> !CInt
xrr_oi_modes :: XRROutputInfo -> [RRMode]

-- | Representation of the XRRCrtcInfo struct
data XRRCrtcInfo
XRRCrtcInfo :: !Time -> !CInt -> !CInt -> !CUInt -> !CUInt -> !RRMode -> !Rotation -> [RROutput] -> !Rotation -> [RROutput] -> XRRCrtcInfo
xrr_ci_timestamp :: XRRCrtcInfo -> !Time
xrr_ci_x :: XRRCrtcInfo -> !CInt
xrr_ci_y :: XRRCrtcInfo -> !CInt
xrr_ci_width :: XRRCrtcInfo -> !CUInt
xrr_ci_height :: XRRCrtcInfo -> !CUInt
xrr_ci_mode :: XRRCrtcInfo -> !RRMode
xrr_ci_rotation :: XRRCrtcInfo -> !Rotation
xrr_ci_outputs :: XRRCrtcInfo -> [RROutput]
xrr_ci_rotations :: XRRCrtcInfo -> !Rotation
xrr_ci_possible :: XRRCrtcInfo -> [RROutput]
compiledWithXrandr :: Bool
type Rotation = Word16
type Reflection = Word16
type SizeID = Word16
data XRRScreenConfiguration
xrrQueryExtension :: Display -> IO (Maybe (CInt, CInt))
xrrQueryVersion :: Display -> IO (Maybe (CInt, CInt))
xrrGetScreenInfo :: Display -> Drawable -> IO (Maybe XRRScreenConfiguration)
xrrFreeScreenConfigInfo :: XRRScreenConfiguration -> IO ()
xrrSetScreenConfig :: Display -> XRRScreenConfiguration -> Drawable -> CInt -> Rotation -> Time -> IO Status
xrrSetScreenConfigAndRate :: Display -> XRRScreenConfiguration -> Drawable -> CInt -> Rotation -> CShort -> Time -> IO Status
xrrConfigRotations :: XRRScreenConfiguration -> IO (Rotation, Rotation)
xrrConfigTimes :: XRRScreenConfiguration -> IO (Time, Time)
xrrConfigSizes :: XRRScreenConfiguration -> IO (Maybe [XRRScreenSize])
xrrConfigRates :: XRRScreenConfiguration -> CInt -> IO (Maybe [CShort])
xrrConfigCurrentConfiguration :: XRRScreenConfiguration -> IO (Rotation, SizeID)
xrrConfigCurrentRate :: XRRScreenConfiguration -> IO CShort
xrrRootToScreen :: Display -> Window -> IO CInt
xrrSelectInput :: Display -> Window -> EventMask -> IO ()
xrrUpdateConfiguration :: XEvent -> IO CInt
xrrRotations :: Display -> CInt -> IO (Rotation, Rotation)
xrrSizes :: Display -> CInt -> IO (Maybe [XRRScreenSize])
xrrRates :: Display -> CInt -> CInt -> IO (Maybe [CShort])
xrrTimes :: Display -> CInt -> IO (Time, Time)
xrrGetScreenResources :: Display -> Window -> IO (Maybe XRRScreenResources)
xrrGetOutputInfo :: Display -> XRRScreenResources -> RROutput -> IO (Maybe XRROutputInfo)
xrrGetCrtcInfo :: Display -> XRRScreenResources -> RRCrtc -> IO (Maybe XRRCrtcInfo)
xrrGetScreenResourcesCurrent :: Display -> Window -> IO (Maybe XRRScreenResources)
xrrSetOutputPrimary :: Display -> Window -> RROutput -> IO ()
xrrGetOutputPrimary :: Display -> Window -> IO RROutput
xrrListOutputProperties :: Display -> RROutput -> IO (Maybe [Atom])
instance Typeable XRRScreenConfiguration
instance Show XRRScreenSize
instance Eq XRRModeInfo
instance Show XRRModeInfo
instance Eq XRRScreenResources
instance Show XRRScreenResources
instance Eq XRROutputInfo
instance Show XRROutputInfo
instance Eq XRRCrtcInfo
instance Show XRRCrtcInfo
instance Eq XRRScreenConfiguration
instance Ord XRRScreenConfiguration
instance Show XRRScreenConfiguration
instance Data XRRScreenConfiguration
instance Storable XRRCrtcInfo
instance Storable XRROutputInfo
instance Storable XRRScreenResources
instance Storable XRRModeInfo
instance Storable XRRScreenSize


-- | This file is generated based on X.org includes. It contains the
--   keysyms for AP.
module Graphics.X11.ExtraTypes.AP
apXK_LineDel :: KeySym
apXK_CharDel :: KeySym
apXK_Copy :: KeySym
apXK_Cut :: KeySym
apXK_Paste :: KeySym
apXK_Move :: KeySym
apXK_Grow :: KeySym
apXK_Cmd :: KeySym
apXK_Shell :: KeySym
apXK_LeftBar :: KeySym
apXK_RightBar :: KeySym
apXK_LeftBox :: KeySym
apXK_RightBox :: KeySym
apXK_UpBox :: KeySym
apXK_DownBox :: KeySym
apXK_Pop :: KeySym
apXK_Read :: KeySym
apXK_Edit :: KeySym
apXK_Save :: KeySym
apXK_Exit :: KeySym
apXK_Repeat :: KeySym
apXK_KP_parenleft :: KeySym
apXK_KP_parenright :: KeySym


-- | This file is generated based on X.org includes. It contains the
--   keysyms for DEC.
module Graphics.X11.ExtraTypes.DEC
dXK_ring_accent :: KeySym
dXK_circumflex_accent :: KeySym
dXK_cedilla_accent :: KeySym
dXK_acute_accent :: KeySym
dXK_grave_accent :: KeySym
dXK_tilde :: KeySym
dXK_diaeresis :: KeySym
dXK_Remove :: KeySym

module Graphics.X11.ExtraTypes.HP
hpXK_ClearLine :: KeySym
hpXK_InsertLine :: KeySym
hpXK_DeleteLine :: KeySym
hpXK_InsertChar :: KeySym
hpXK_DeleteChar :: KeySym
hpXK_BackTab :: KeySym
hpXK_KP_BackTab :: KeySym
hpXK_Modelock1 :: KeySym
hpXK_Modelock2 :: KeySym
hpXK_Reset :: KeySym
hpXK_System :: KeySym
hpXK_User :: KeySym
hpXK_mute_acute :: KeySym
hpXK_mute_grave :: KeySym
hpXK_mute_asciicircum :: KeySym
hpXK_mute_diaeresis :: KeySym
hpXK_mute_asciitilde :: KeySym
hpXK_lira :: KeySym
hpXK_guilder :: KeySym
hpXK_Ydiaeresis :: KeySym
hpXK_IO :: KeySym
hpXK_longminus :: KeySym
hpXK_block :: KeySym
osfXK_Copy :: KeySym
osfXK_Cut :: KeySym
osfXK_Paste :: KeySym
osfXK_BackTab :: KeySym
osfXK_BackSpace :: KeySym
osfXK_Clear :: KeySym
osfXK_Escape :: KeySym
osfXK_AddMode :: KeySym
osfXK_PrimaryPaste :: KeySym
osfXK_QuickPaste :: KeySym
osfXK_PageLeft :: KeySym
osfXK_PageUp :: KeySym
osfXK_PageDown :: KeySym
osfXK_PageRight :: KeySym
osfXK_Activate :: KeySym
osfXK_MenuBar :: KeySym
osfXK_Left :: KeySym
osfXK_Up :: KeySym
osfXK_Right :: KeySym
osfXK_Down :: KeySym
osfXK_EndLine :: KeySym
osfXK_BeginLine :: KeySym
osfXK_EndData :: KeySym
osfXK_BeginData :: KeySym
osfXK_PrevMenu :: KeySym
osfXK_NextMenu :: KeySym
osfXK_PrevField :: KeySym
osfXK_NextField :: KeySym
osfXK_Select :: KeySym
osfXK_Insert :: KeySym
osfXK_Undo :: KeySym
osfXK_Menu :: KeySym
osfXK_Cancel :: KeySym
osfXK_Help :: KeySym
osfXK_SelectAll :: KeySym
osfXK_DeselectAll :: KeySym
osfXK_Reselect :: KeySym
osfXK_Extend :: KeySym
osfXK_Restore :: KeySym
osfXK_Delete :: KeySym
xK_Reset :: KeySym
xK_System :: KeySym
xK_User :: KeySym
xK_ClearLine :: KeySym
xK_InsertLine :: KeySym
xK_DeleteLine :: KeySym
xK_InsertChar :: KeySym
xK_DeleteChar :: KeySym
xK_BackTab :: KeySym
xK_KP_BackTab :: KeySym
xK_Ext16bit_L :: KeySym
xK_Ext16bit_R :: KeySym
xK_mute_acute :: KeySym
xK_mute_grave :: KeySym
xK_mute_asciicircum :: KeySym
xK_mute_diaeresis :: KeySym
xK_mute_asciitilde :: KeySym
xK_lira :: KeySym
xK_guilder :: KeySym
xK_IO :: KeySym
xK_longminus :: KeySym
xK_block :: KeySym


-- | This file is generated based on X.org includes. It contains the
--   keysyms for Sun.
module Graphics.X11.ExtraTypes.Sun
sunXK_FA_Grave :: KeySym
sunXK_FA_Circum :: KeySym
sunXK_FA_Tilde :: KeySym
sunXK_FA_Acute :: KeySym
sunXK_FA_Diaeresis :: KeySym
sunXK_FA_Cedilla :: KeySym
sunXK_F36 :: KeySym
sunXK_F37 :: KeySym
sunXK_Sys_Req :: KeySym
sunXK_Print_Screen :: KeySym
sunXK_Compose :: KeySym
sunXK_AltGraph :: KeySym
sunXK_PageUp :: KeySym
sunXK_PageDown :: KeySym
sunXK_Undo :: KeySym
sunXK_Again :: KeySym
sunXK_Find :: KeySym
sunXK_Stop :: KeySym
sunXK_Props :: KeySym
sunXK_Front :: KeySym
sunXK_Copy :: KeySym
sunXK_Open :: KeySym
sunXK_Paste :: KeySym
sunXK_Cut :: KeySym
sunXK_PowerSwitch :: KeySym
sunXK_AudioLowerVolume :: KeySym
sunXK_AudioMute :: KeySym
sunXK_AudioRaiseVolume :: KeySym
sunXK_VideoDegauss :: KeySym
sunXK_VideoLowerBrightness :: KeySym
sunXK_VideoRaiseBrightness :: KeySym
sunXK_PowerSwitchShift :: KeySym


-- | This file is generated based on X.org includes. It contains the
--   keysyms for XF86.
module Graphics.X11.ExtraTypes.XF86
xF86XK_ModeLock :: KeySym
xF86XK_MonBrightnessUp :: KeySym
xF86XK_MonBrightnessDown :: KeySym
xF86XK_KbdLightOnOff :: KeySym
xF86XK_KbdBrightnessUp :: KeySym
xF86XK_KbdBrightnessDown :: KeySym
xF86XK_Standby :: KeySym
xF86XK_AudioLowerVolume :: KeySym
xF86XK_AudioMute :: KeySym
xF86XK_AudioRaiseVolume :: KeySym
xF86XK_AudioPlay :: KeySym
xF86XK_AudioStop :: KeySym
xF86XK_AudioPrev :: KeySym
xF86XK_AudioNext :: KeySym
xF86XK_HomePage :: KeySym
xF86XK_Mail :: KeySym
xF86XK_Start :: KeySym
xF86XK_Search :: KeySym
xF86XK_AudioRecord :: KeySym
xF86XK_Calculator :: KeySym
xF86XK_Memo :: KeySym
xF86XK_ToDoList :: KeySym
xF86XK_Calendar :: KeySym
xF86XK_PowerDown :: KeySym
xF86XK_ContrastAdjust :: KeySym
xF86XK_RockerUp :: KeySym
xF86XK_RockerDown :: KeySym
xF86XK_RockerEnter :: KeySym
xF86XK_Back :: KeySym
xF86XK_Forward :: KeySym
xF86XK_Stop :: KeySym
xF86XK_Refresh :: KeySym
xF86XK_PowerOff :: KeySym
xF86XK_WakeUp :: KeySym
xF86XK_Eject :: KeySym
xF86XK_ScreenSaver :: KeySym
xF86XK_WWW :: KeySym
xF86XK_Sleep :: KeySym
xF86XK_Favorites :: KeySym
xF86XK_AudioPause :: KeySym
xF86XK_AudioMedia :: KeySym
xF86XK_MyComputer :: KeySym
xF86XK_VendorHome :: KeySym
xF86XK_LightBulb :: KeySym
xF86XK_Shop :: KeySym
xF86XK_History :: KeySym
xF86XK_OpenURL :: KeySym
xF86XK_AddFavorite :: KeySym
xF86XK_HotLinks :: KeySym
xF86XK_BrightnessAdjust :: KeySym
xF86XK_Finance :: KeySym
xF86XK_Community :: KeySym
xF86XK_AudioRewind :: KeySym
xF86XK_Launch0 :: KeySym
xF86XK_Launch1 :: KeySym
xF86XK_Launch2 :: KeySym
xF86XK_Launch3 :: KeySym
xF86XK_Launch4 :: KeySym
xF86XK_Launch5 :: KeySym
xF86XK_Launch6 :: KeySym
xF86XK_Launch7 :: KeySym
xF86XK_Launch8 :: KeySym
xF86XK_Launch9 :: KeySym
xF86XK_LaunchA :: KeySym
xF86XK_LaunchB :: KeySym
xF86XK_LaunchC :: KeySym
xF86XK_LaunchD :: KeySym
xF86XK_LaunchE :: KeySym
xF86XK_LaunchF :: KeySym
xF86XK_ApplicationLeft :: KeySym
xF86XK_ApplicationRight :: KeySym
xF86XK_Book :: KeySym
xF86XK_CD :: KeySym
xF86XK_Calculater :: KeySym
xF86XK_Clear :: KeySym
xF86XK_Close :: KeySym
xF86XK_Copy :: KeySym
xF86XK_Cut :: KeySym
xF86XK_Display :: KeySym
xF86XK_DOS :: KeySym
xF86XK_Documents :: KeySym
xF86XK_Excel :: KeySym
xF86XK_Explorer :: KeySym
xF86XK_Game :: KeySym
xF86XK_Go :: KeySym
xF86XK_iTouch :: KeySym
xF86XK_LogOff :: KeySym
xF86XK_Market :: KeySym
xF86XK_Meeting :: KeySym
xF86XK_MenuKB :: KeySym
xF86XK_MenuPB :: KeySym
xF86XK_MySites :: KeySym
xF86XK_New :: KeySym
xF86XK_News :: KeySym
xF86XK_OfficeHome :: KeySym
xF86XK_Open :: KeySym
xF86XK_Option :: KeySym
xF86XK_Paste :: KeySym
xF86XK_Phone :: KeySym
xF86XK_Q :: KeySym
xF86XK_Reply :: KeySym
xF86XK_Reload :: KeySym
xF86XK_RotateWindows :: KeySym
xF86XK_RotationPB :: KeySym
xF86XK_RotationKB :: KeySym
xF86XK_Save :: KeySym
xF86XK_ScrollUp :: KeySym
xF86XK_ScrollDown :: KeySym
xF86XK_ScrollClick :: KeySym
xF86XK_Send :: KeySym
xF86XK_Spell :: KeySym
xF86XK_SplitScreen :: KeySym
xF86XK_Support :: KeySym
xF86XK_TaskPane :: KeySym
xF86XK_Terminal :: KeySym
xF86XK_Tools :: KeySym
xF86XK_Travel :: KeySym
xF86XK_UserPB :: KeySym
xF86XK_User1KB :: KeySym
xF86XK_User2KB :: KeySym
xF86XK_Video :: KeySym
xF86XK_WheelButton :: KeySym
xF86XK_Word :: KeySym
xF86XK_Xfer :: KeySym
xF86XK_ZoomIn :: KeySym
xF86XK_ZoomOut :: KeySym
xF86XK_Away :: KeySym
xF86XK_Messenger :: KeySym
xF86XK_WebCam :: KeySym
xF86XK_MailForward :: KeySym
xF86XK_Pictures :: KeySym
xF86XK_Music :: KeySym
xF86XK_Switch_VT_1 :: KeySym
xF86XK_Switch_VT_2 :: KeySym
xF86XK_Switch_VT_3 :: KeySym
xF86XK_Switch_VT_4 :: KeySym
xF86XK_Switch_VT_5 :: KeySym
xF86XK_Switch_VT_6 :: KeySym
xF86XK_Switch_VT_7 :: KeySym
xF86XK_Switch_VT_8 :: KeySym
xF86XK_Switch_VT_9 :: KeySym
xF86XK_Switch_VT_10 :: KeySym
xF86XK_Switch_VT_11 :: KeySym
xF86XK_Switch_VT_12 :: KeySym
xF86XK_Ungrab :: KeySym
xF86XK_ClearGrab :: KeySym
xF86XK_Next_VMode :: KeySym
xF86XK_Prev_VMode :: KeySym


-- | This file is generated based on X.org includes. It contains the
--   keysyms for XorgDefault. Because there are so many entries and each
--   one is checked for #ifdef twice, the C preprocessor part takes a long
--   time.
module Graphics.X11.ExtraTypes.XorgDefault
xK_ISO_Lock :: KeySym
xK_ISO_Level2_Latch :: KeySym
xK_ISO_Level3_Shift :: KeySym
xK_ISO_Level3_Latch :: KeySym
xK_ISO_Level3_Lock :: KeySym
xK_ISO_Level5_Shift :: KeySym
xK_ISO_Level5_Latch :: KeySym
xK_ISO_Level5_Lock :: KeySym
xK_ISO_Group_Shift :: KeySym
xK_ISO_Group_Latch :: KeySym
xK_ISO_Group_Lock :: KeySym
xK_ISO_Next_Group :: KeySym
xK_ISO_Next_Group_Lock :: KeySym
xK_ISO_Prev_Group :: KeySym
xK_ISO_Prev_Group_Lock :: KeySym
xK_ISO_First_Group :: KeySym
xK_ISO_First_Group_Lock :: KeySym
xK_ISO_Last_Group :: KeySym
xK_ISO_Last_Group_Lock :: KeySym
xK_ISO_Left_Tab :: KeySym
xK_ISO_Move_Line_Up :: KeySym
xK_ISO_Move_Line_Down :: KeySym
xK_ISO_Partial_Line_Up :: KeySym
xK_ISO_Partial_Line_Down :: KeySym
xK_ISO_Partial_Space_Left :: KeySym
xK_ISO_Partial_Space_Right :: KeySym
xK_ISO_Set_Margin_Left :: KeySym
xK_ISO_Set_Margin_Right :: KeySym
xK_ISO_Release_Margin_Left :: KeySym
xK_ISO_Release_Margin_Right :: KeySym
xK_ISO_Release_Both_Margins :: KeySym
xK_ISO_Fast_Cursor_Left :: KeySym
xK_ISO_Fast_Cursor_Right :: KeySym
xK_ISO_Fast_Cursor_Up :: KeySym
xK_ISO_Fast_Cursor_Down :: KeySym
xK_ISO_Continuous_Underline :: KeySym
xK_ISO_Discontinuous_Underline :: KeySym
xK_ISO_Emphasize :: KeySym
xK_ISO_Center_Object :: KeySym
xK_ISO_Enter :: KeySym
xK_dead_grave :: KeySym
xK_dead_acute :: KeySym
xK_dead_circumflex :: KeySym
xK_dead_tilde :: KeySym
xK_dead_macron :: KeySym
xK_dead_breve :: KeySym
xK_dead_abovedot :: KeySym
xK_dead_diaeresis :: KeySym
xK_dead_abovering :: KeySym
xK_dead_doubleacute :: KeySym
xK_dead_caron :: KeySym
xK_dead_cedilla :: KeySym
xK_dead_ogonek :: KeySym
xK_dead_iota :: KeySym
xK_dead_voiced_sound :: KeySym
xK_dead_semivoiced_sound :: KeySym
xK_dead_belowdot :: KeySym
xK_dead_hook :: KeySym
xK_dead_horn :: KeySym
xK_dead_stroke :: KeySym
xK_dead_abovecomma :: KeySym
xK_dead_psili :: KeySym
xK_dead_abovereversedcomma :: KeySym
xK_dead_dasia :: KeySym
xK_First_Virtual_Screen :: KeySym
xK_Prev_Virtual_Screen :: KeySym
xK_Next_Virtual_Screen :: KeySym
xK_Last_Virtual_Screen :: KeySym
xK_Terminate_Server :: KeySym
xK_AccessX_Enable :: KeySym
xK_AccessX_Feedback_Enable :: KeySym
xK_RepeatKeys_Enable :: KeySym
xK_SlowKeys_Enable :: KeySym
xK_BounceKeys_Enable :: KeySym
xK_StickyKeys_Enable :: KeySym
xK_MouseKeys_Enable :: KeySym
xK_MouseKeys_Accel_Enable :: KeySym
xK_Overlay1_Enable :: KeySym
xK_Overlay2_Enable :: KeySym
xK_AudibleBell_Enable :: KeySym
xK_Pointer_Left :: KeySym
xK_Pointer_Right :: KeySym
xK_Pointer_Up :: KeySym
xK_Pointer_Down :: KeySym
xK_Pointer_UpLeft :: KeySym
xK_Pointer_UpRight :: KeySym
xK_Pointer_DownLeft :: KeySym
xK_Pointer_DownRight :: KeySym
xK_Pointer_Button_Dflt :: KeySym
xK_Pointer_Button1 :: KeySym
xK_Pointer_Button2 :: KeySym
xK_Pointer_Button3 :: KeySym
xK_Pointer_Button4 :: KeySym
xK_Pointer_Button5 :: KeySym
xK_Pointer_DblClick_Dflt :: KeySym
xK_Pointer_DblClick1 :: KeySym
xK_Pointer_DblClick2 :: KeySym
xK_Pointer_DblClick3 :: KeySym
xK_Pointer_DblClick4 :: KeySym
xK_Pointer_DblClick5 :: KeySym
xK_Pointer_Drag_Dflt :: KeySym
xK_Pointer_Drag1 :: KeySym
xK_Pointer_Drag2 :: KeySym
xK_Pointer_Drag3 :: KeySym
xK_Pointer_Drag4 :: KeySym
xK_Pointer_Drag5 :: KeySym
xK_Pointer_EnableKeys :: KeySym
xK_Pointer_Accelerate :: KeySym
xK_Pointer_DfltBtnNext :: KeySym
xK_Pointer_DfltBtnPrev :: KeySym
xK_Aogonek :: KeySym
xK_breve :: KeySym
xK_Lstroke :: KeySym
xK_Lcaron :: KeySym
xK_Sacute :: KeySym
xK_Scaron :: KeySym
xK_Scedilla :: KeySym
xK_Tcaron :: KeySym
xK_Zacute :: KeySym
xK_Zcaron :: KeySym
xK_Zabovedot :: KeySym
xK_aogonek :: KeySym
xK_ogonek :: KeySym
xK_lstroke :: KeySym
xK_lcaron :: KeySym
xK_sacute :: KeySym
xK_caron :: KeySym
xK_scaron :: KeySym
xK_scedilla :: KeySym
xK_tcaron :: KeySym
xK_zacute :: KeySym
xK_doubleacute :: KeySym
xK_zcaron :: KeySym
xK_zabovedot :: KeySym
xK_Racute :: KeySym
xK_Abreve :: KeySym
xK_Lacute :: KeySym
xK_Cacute :: KeySym
xK_Ccaron :: KeySym
xK_Eogonek :: KeySym
xK_Ecaron :: KeySym
xK_Dcaron :: KeySym
xK_Dstroke :: KeySym
xK_Nacute :: KeySym
xK_Ncaron :: KeySym
xK_Odoubleacute :: KeySym
xK_Rcaron :: KeySym
xK_Uring :: KeySym
xK_Udoubleacute :: KeySym
xK_Tcedilla :: KeySym
xK_racute :: KeySym
xK_abreve :: KeySym
xK_lacute :: KeySym
xK_cacute :: KeySym
xK_ccaron :: KeySym
xK_eogonek :: KeySym
xK_ecaron :: KeySym
xK_dcaron :: KeySym
xK_dstroke :: KeySym
xK_nacute :: KeySym
xK_ncaron :: KeySym
xK_odoubleacute :: KeySym
xK_udoubleacute :: KeySym
xK_rcaron :: KeySym
xK_uring :: KeySym
xK_tcedilla :: KeySym
xK_abovedot :: KeySym
xK_Hstroke :: KeySym
xK_Hcircumflex :: KeySym
xK_Iabovedot :: KeySym
xK_Gbreve :: KeySym
xK_Jcircumflex :: KeySym
xK_hstroke :: KeySym
xK_hcircumflex :: KeySym
xK_idotless :: KeySym
xK_gbreve :: KeySym
xK_jcircumflex :: KeySym
xK_Cabovedot :: KeySym
xK_Ccircumflex :: KeySym
xK_Gabovedot :: KeySym
xK_Gcircumflex :: KeySym
xK_Ubreve :: KeySym
xK_Scircumflex :: KeySym
xK_cabovedot :: KeySym
xK_ccircumflex :: KeySym
xK_gabovedot :: KeySym
xK_gcircumflex :: KeySym
xK_ubreve :: KeySym
xK_scircumflex :: KeySym
xK_kra :: KeySym
xK_kappa :: KeySym
xK_Rcedilla :: KeySym
xK_Itilde :: KeySym
xK_Lcedilla :: KeySym
xK_Emacron :: KeySym
xK_Gcedilla :: KeySym
xK_Tslash :: KeySym
xK_rcedilla :: KeySym
xK_itilde :: KeySym
xK_lcedilla :: KeySym
xK_emacron :: KeySym
xK_gcedilla :: KeySym
xK_tslash :: KeySym
xK_ENG :: KeySym
xK_eng :: KeySym
xK_Amacron :: KeySym
xK_Iogonek :: KeySym
xK_Eabovedot :: KeySym
xK_Imacron :: KeySym
xK_Ncedilla :: KeySym
xK_Omacron :: KeySym
xK_Kcedilla :: KeySym
xK_Uogonek :: KeySym
xK_Utilde :: KeySym
xK_Umacron :: KeySym
xK_amacron :: KeySym
xK_iogonek :: KeySym
xK_eabovedot :: KeySym
xK_imacron :: KeySym
xK_ncedilla :: KeySym
xK_omacron :: KeySym
xK_kcedilla :: KeySym
xK_uogonek :: KeySym
xK_utilde :: KeySym
xK_umacron :: KeySym
xK_Babovedot :: KeySym
xK_babovedot :: KeySym
xK_Dabovedot :: KeySym
xK_Wgrave :: KeySym
xK_Wacute :: KeySym
xK_dabovedot :: KeySym
xK_Ygrave :: KeySym
xK_Fabovedot :: KeySym
xK_fabovedot :: KeySym
xK_Mabovedot :: KeySym
xK_mabovedot :: KeySym
xK_Pabovedot :: KeySym
xK_wgrave :: KeySym
xK_pabovedot :: KeySym
xK_wacute :: KeySym
xK_Sabovedot :: KeySym
xK_ygrave :: KeySym
xK_Wdiaeresis :: KeySym
xK_wdiaeresis :: KeySym
xK_sabovedot :: KeySym
xK_Wcircumflex :: KeySym
xK_Tabovedot :: KeySym
xK_Ycircumflex :: KeySym
xK_wcircumflex :: KeySym
xK_tabovedot :: KeySym
xK_ycircumflex :: KeySym
xK_OE :: KeySym
xK_oe :: KeySym
xK_Ydiaeresis :: KeySym
xK_overline :: KeySym
xK_kana_fullstop :: KeySym
xK_kana_openingbracket :: KeySym
xK_kana_closingbracket :: KeySym
xK_kana_comma :: KeySym
xK_kana_conjunctive :: KeySym
xK_kana_middledot :: KeySym
xK_kana_WO :: KeySym
xK_kana_a :: KeySym
xK_kana_i :: KeySym
xK_kana_u :: KeySym
xK_kana_e :: KeySym
xK_kana_o :: KeySym
xK_kana_ya :: KeySym
xK_kana_yu :: KeySym
xK_kana_yo :: KeySym
xK_kana_tsu :: KeySym
xK_kana_tu :: KeySym
xK_prolongedsound :: KeySym
xK_kana_A :: KeySym
xK_kana_I :: KeySym
xK_kana_U :: KeySym
xK_kana_E :: KeySym
xK_kana_O :: KeySym
xK_kana_KA :: KeySym
xK_kana_KI :: KeySym
xK_kana_KU :: KeySym
xK_kana_KE :: KeySym
xK_kana_KO :: KeySym
xK_kana_SA :: KeySym
xK_kana_SHI :: KeySym
xK_kana_SU :: KeySym
xK_kana_SE :: KeySym
xK_kana_SO :: KeySym
xK_kana_TA :: KeySym
xK_kana_CHI :: KeySym
xK_kana_TI :: KeySym
xK_kana_TSU :: KeySym
xK_kana_TU :: KeySym
xK_kana_TE :: KeySym
xK_kana_TO :: KeySym
xK_kana_NA :: KeySym
xK_kana_NI :: KeySym
xK_kana_NU :: KeySym
xK_kana_NE :: KeySym
xK_kana_NO :: KeySym
xK_kana_HA :: KeySym
xK_kana_HI :: KeySym
xK_kana_FU :: KeySym
xK_kana_HU :: KeySym
xK_kana_HE :: KeySym
xK_kana_HO :: KeySym
xK_kana_MA :: KeySym
xK_kana_MI :: KeySym
xK_kana_MU :: KeySym
xK_kana_ME :: KeySym
xK_kana_MO :: KeySym
xK_kana_YA :: KeySym
xK_kana_YU :: KeySym
xK_kana_YO :: KeySym
xK_kana_RA :: KeySym
xK_kana_RI :: KeySym
xK_kana_RU :: KeySym
xK_kana_RE :: KeySym
xK_kana_RO :: KeySym
xK_kana_WA :: KeySym
xK_kana_N :: KeySym
xK_voicedsound :: KeySym
xK_semivoicedsound :: KeySym
xK_kana_switch :: KeySym
xK_Farsi_0 :: KeySym
xK_Farsi_1 :: KeySym
xK_Farsi_2 :: KeySym
xK_Farsi_3 :: KeySym
xK_Farsi_4 :: KeySym
xK_Farsi_5 :: KeySym
xK_Farsi_6 :: KeySym
xK_Farsi_7 :: KeySym
xK_Farsi_8 :: KeySym
xK_Farsi_9 :: KeySym
xK_Arabic_percent :: KeySym
xK_Arabic_superscript_alef :: KeySym
xK_Arabic_tteh :: KeySym
xK_Arabic_peh :: KeySym
xK_Arabic_tcheh :: KeySym
xK_Arabic_ddal :: KeySym
xK_Arabic_rreh :: KeySym
xK_Arabic_comma :: KeySym
xK_Arabic_fullstop :: KeySym
xK_Arabic_0 :: KeySym
xK_Arabic_1 :: KeySym
xK_Arabic_2 :: KeySym
xK_Arabic_3 :: KeySym
xK_Arabic_4 :: KeySym
xK_Arabic_5 :: KeySym
xK_Arabic_6 :: KeySym
xK_Arabic_7 :: KeySym
xK_Arabic_8 :: KeySym
xK_Arabic_9 :: KeySym
xK_Arabic_semicolon :: KeySym
xK_Arabic_question_mark :: KeySym
xK_Arabic_hamza :: KeySym
xK_Arabic_maddaonalef :: KeySym
xK_Arabic_hamzaonalef :: KeySym
xK_Arabic_hamzaonwaw :: KeySym
xK_Arabic_hamzaunderalef :: KeySym
xK_Arabic_hamzaonyeh :: KeySym
xK_Arabic_alef :: KeySym
xK_Arabic_beh :: KeySym
xK_Arabic_tehmarbuta :: KeySym
xK_Arabic_teh :: KeySym
xK_Arabic_theh :: KeySym
xK_Arabic_jeem :: KeySym
xK_Arabic_hah :: KeySym
xK_Arabic_khah :: KeySym
xK_Arabic_dal :: KeySym
xK_Arabic_thal :: KeySym
xK_Arabic_ra :: KeySym
xK_Arabic_zain :: KeySym
xK_Arabic_seen :: KeySym
xK_Arabic_sheen :: KeySym
xK_Arabic_sad :: KeySym
xK_Arabic_dad :: KeySym
xK_Arabic_tah :: KeySym
xK_Arabic_zah :: KeySym
xK_Arabic_ain :: KeySym
xK_Arabic_ghain :: KeySym
xK_Arabic_tatweel :: KeySym
xK_Arabic_feh :: KeySym
xK_Arabic_qaf :: KeySym
xK_Arabic_kaf :: KeySym
xK_Arabic_lam :: KeySym
xK_Arabic_meem :: KeySym
xK_Arabic_noon :: KeySym
xK_Arabic_ha :: KeySym
xK_Arabic_heh :: KeySym
xK_Arabic_waw :: KeySym
xK_Arabic_alefmaksura :: KeySym
xK_Arabic_yeh :: KeySym
xK_Arabic_fathatan :: KeySym
xK_Arabic_dammatan :: KeySym
xK_Arabic_kasratan :: KeySym
xK_Arabic_fatha :: KeySym
xK_Arabic_damma :: KeySym
xK_Arabic_kasra :: KeySym
xK_Arabic_shadda :: KeySym
xK_Arabic_sukun :: KeySym
xK_Arabic_madda_above :: KeySym
xK_Arabic_hamza_above :: KeySym
xK_Arabic_hamza_below :: KeySym
xK_Arabic_jeh :: KeySym
xK_Arabic_veh :: KeySym
xK_Arabic_keheh :: KeySym
xK_Arabic_gaf :: KeySym
xK_Arabic_noon_ghunna :: KeySym
xK_Arabic_heh_doachashmee :: KeySym
xK_Farsi_yeh :: KeySym
xK_Arabic_farsi_yeh :: KeySym
xK_Arabic_yeh_baree :: KeySym
xK_Arabic_heh_goal :: KeySym
xK_Arabic_switch :: KeySym
xK_Cyrillic_GHE_bar :: KeySym
xK_Cyrillic_ghe_bar :: KeySym
xK_Cyrillic_ZHE_descender :: KeySym
xK_Cyrillic_zhe_descender :: KeySym
xK_Cyrillic_KA_descender :: KeySym
xK_Cyrillic_ka_descender :: KeySym
xK_Cyrillic_KA_vertstroke :: KeySym
xK_Cyrillic_ka_vertstroke :: KeySym
xK_Cyrillic_EN_descender :: KeySym
xK_Cyrillic_en_descender :: KeySym
xK_Cyrillic_U_straight :: KeySym
xK_Cyrillic_u_straight :: KeySym
xK_Cyrillic_U_straight_bar :: KeySym
xK_Cyrillic_u_straight_bar :: KeySym
xK_Cyrillic_HA_descender :: KeySym
xK_Cyrillic_ha_descender :: KeySym
xK_Cyrillic_CHE_descender :: KeySym
xK_Cyrillic_che_descender :: KeySym
xK_Cyrillic_CHE_vertstroke :: KeySym
xK_Cyrillic_che_vertstroke :: KeySym
xK_Cyrillic_SHHA :: KeySym
xK_Cyrillic_shha :: KeySym
xK_Cyrillic_SCHWA :: KeySym
xK_Cyrillic_schwa :: KeySym
xK_Cyrillic_I_macron :: KeySym
xK_Cyrillic_i_macron :: KeySym
xK_Cyrillic_O_bar :: KeySym
xK_Cyrillic_o_bar :: KeySym
xK_Cyrillic_U_macron :: KeySym
xK_Cyrillic_u_macron :: KeySym
xK_Serbian_dje :: KeySym
xK_Macedonia_gje :: KeySym
xK_Cyrillic_io :: KeySym
xK_Ukrainian_ie :: KeySym
xK_Ukranian_je :: KeySym
xK_Macedonia_dse :: KeySym
xK_Ukrainian_i :: KeySym
xK_Ukranian_i :: KeySym
xK_Ukrainian_yi :: KeySym
xK_Ukranian_yi :: KeySym
xK_Cyrillic_je :: KeySym
xK_Serbian_je :: KeySym
xK_Cyrillic_lje :: KeySym
xK_Serbian_lje :: KeySym
xK_Cyrillic_nje :: KeySym
xK_Serbian_nje :: KeySym
xK_Serbian_tshe :: KeySym
xK_Macedonia_kje :: KeySym
xK_Ukrainian_ghe_with_upturn :: KeySym
xK_Byelorussian_shortu :: KeySym
xK_Cyrillic_dzhe :: KeySym
xK_Serbian_dze :: KeySym
xK_numerosign :: KeySym
xK_Serbian_DJE :: KeySym
xK_Macedonia_GJE :: KeySym
xK_Cyrillic_IO :: KeySym
xK_Ukrainian_IE :: KeySym
xK_Ukranian_JE :: KeySym
xK_Macedonia_DSE :: KeySym
xK_Ukrainian_I :: KeySym
xK_Ukranian_I :: KeySym
xK_Ukrainian_YI :: KeySym
xK_Ukranian_YI :: KeySym
xK_Cyrillic_JE :: KeySym
xK_Serbian_JE :: KeySym
xK_Cyrillic_LJE :: KeySym
xK_Serbian_LJE :: KeySym
xK_Cyrillic_NJE :: KeySym
xK_Serbian_NJE :: KeySym
xK_Serbian_TSHE :: KeySym
xK_Macedonia_KJE :: KeySym
xK_Ukrainian_GHE_WITH_UPTURN :: KeySym
xK_Byelorussian_SHORTU :: KeySym
xK_Cyrillic_DZHE :: KeySym
xK_Serbian_DZE :: KeySym
xK_Cyrillic_yu :: KeySym
xK_Cyrillic_a :: KeySym
xK_Cyrillic_be :: KeySym
xK_Cyrillic_tse :: KeySym
xK_Cyrillic_de :: KeySym
xK_Cyrillic_ie :: KeySym
xK_Cyrillic_ef :: KeySym
xK_Cyrillic_ghe :: KeySym
xK_Cyrillic_ha :: KeySym
xK_Cyrillic_i :: KeySym
xK_Cyrillic_shorti :: KeySym
xK_Cyrillic_ka :: KeySym
xK_Cyrillic_el :: KeySym
xK_Cyrillic_em :: KeySym
xK_Cyrillic_en :: KeySym
xK_Cyrillic_o :: KeySym
xK_Cyrillic_pe :: KeySym
xK_Cyrillic_ya :: KeySym
xK_Cyrillic_er :: KeySym
xK_Cyrillic_es :: KeySym
xK_Cyrillic_te :: KeySym
xK_Cyrillic_u :: KeySym
xK_Cyrillic_zhe :: KeySym
xK_Cyrillic_ve :: KeySym
xK_Cyrillic_softsign :: KeySym
xK_Cyrillic_yeru :: KeySym
xK_Cyrillic_ze :: KeySym
xK_Cyrillic_sha :: KeySym
xK_Cyrillic_e :: KeySym
xK_Cyrillic_shcha :: KeySym
xK_Cyrillic_che :: KeySym
xK_Cyrillic_hardsign :: KeySym
xK_Cyrillic_YU :: KeySym
xK_Cyrillic_A :: KeySym
xK_Cyrillic_BE :: KeySym
xK_Cyrillic_TSE :: KeySym
xK_Cyrillic_DE :: KeySym
xK_Cyrillic_IE :: KeySym
xK_Cyrillic_EF :: KeySym
xK_Cyrillic_GHE :: KeySym
xK_Cyrillic_HA :: KeySym
xK_Cyrillic_I :: KeySym
xK_Cyrillic_SHORTI :: KeySym
xK_Cyrillic_KA :: KeySym
xK_Cyrillic_EL :: KeySym
xK_Cyrillic_EM :: KeySym
xK_Cyrillic_EN :: KeySym
xK_Cyrillic_O :: KeySym
xK_Cyrillic_PE :: KeySym
xK_Cyrillic_YA :: KeySym
xK_Cyrillic_ER :: KeySym
xK_Cyrillic_ES :: KeySym
xK_Cyrillic_TE :: KeySym
xK_Cyrillic_U :: KeySym
xK_Cyrillic_ZHE :: KeySym
xK_Cyrillic_VE :: KeySym
xK_Cyrillic_SOFTSIGN :: KeySym
xK_Cyrillic_YERU :: KeySym
xK_Cyrillic_ZE :: KeySym
xK_Cyrillic_SHA :: KeySym
xK_Cyrillic_E :: KeySym
xK_Cyrillic_SHCHA :: KeySym
xK_Cyrillic_CHE :: KeySym
xK_Cyrillic_HARDSIGN :: KeySym
xK_Greek_ALPHAaccent :: KeySym
xK_Greek_EPSILONaccent :: KeySym
xK_Greek_ETAaccent :: KeySym
xK_Greek_IOTAaccent :: KeySym
xK_Greek_IOTAdieresis :: KeySym
xK_Greek_IOTAdiaeresis :: KeySym
xK_Greek_OMICRONaccent :: KeySym
xK_Greek_UPSILONaccent :: KeySym
xK_Greek_UPSILONdieresis :: KeySym
xK_Greek_OMEGAaccent :: KeySym
xK_Greek_accentdieresis :: KeySym
xK_Greek_horizbar :: KeySym
xK_Greek_alphaaccent :: KeySym
xK_Greek_epsilonaccent :: KeySym
xK_Greek_etaaccent :: KeySym
xK_Greek_iotaaccent :: KeySym
xK_Greek_iotadieresis :: KeySym
xK_Greek_iotaaccentdieresis :: KeySym
xK_Greek_omicronaccent :: KeySym
xK_Greek_upsilonaccent :: KeySym
xK_Greek_upsilondieresis :: KeySym
xK_Greek_upsilonaccentdieresis :: KeySym
xK_Greek_omegaaccent :: KeySym
xK_Greek_ALPHA :: KeySym
xK_Greek_BETA :: KeySym
xK_Greek_GAMMA :: KeySym
xK_Greek_DELTA :: KeySym
xK_Greek_EPSILON :: KeySym
xK_Greek_ZETA :: KeySym
xK_Greek_ETA :: KeySym
xK_Greek_THETA :: KeySym
xK_Greek_IOTA :: KeySym
xK_Greek_KAPPA :: KeySym
xK_Greek_LAMDA :: KeySym
xK_Greek_LAMBDA :: KeySym
xK_Greek_MU :: KeySym
xK_Greek_NU :: KeySym
xK_Greek_XI :: KeySym
xK_Greek_OMICRON :: KeySym
xK_Greek_PI :: KeySym
xK_Greek_RHO :: KeySym
xK_Greek_SIGMA :: KeySym
xK_Greek_TAU :: KeySym
xK_Greek_UPSILON :: KeySym
xK_Greek_PHI :: KeySym
xK_Greek_CHI :: KeySym
xK_Greek_PSI :: KeySym
xK_Greek_OMEGA :: KeySym
xK_Greek_alpha :: KeySym
xK_Greek_beta :: KeySym
xK_Greek_gamma :: KeySym
xK_Greek_delta :: KeySym
xK_Greek_epsilon :: KeySym
xK_Greek_zeta :: KeySym
xK_Greek_eta :: KeySym
xK_Greek_theta :: KeySym
xK_Greek_iota :: KeySym
xK_Greek_kappa :: KeySym
xK_Greek_lamda :: KeySym
xK_Greek_lambda :: KeySym
xK_Greek_mu :: KeySym
xK_Greek_nu :: KeySym
xK_Greek_xi :: KeySym
xK_Greek_omicron :: KeySym
xK_Greek_pi :: KeySym
xK_Greek_rho :: KeySym
xK_Greek_sigma :: KeySym
xK_Greek_finalsmallsigma :: KeySym
xK_Greek_tau :: KeySym
xK_Greek_upsilon :: KeySym
xK_Greek_phi :: KeySym
xK_Greek_chi :: KeySym
xK_Greek_psi :: KeySym
xK_Greek_omega :: KeySym
xK_Greek_switch :: KeySym
xK_hebrew_doublelowline :: KeySym
xK_hebrew_aleph :: KeySym
xK_hebrew_bet :: KeySym
xK_hebrew_beth :: KeySym
xK_hebrew_gimel :: KeySym
xK_hebrew_gimmel :: KeySym
xK_hebrew_dalet :: KeySym
xK_hebrew_daleth :: KeySym
xK_hebrew_he :: KeySym
xK_hebrew_waw :: KeySym
xK_hebrew_zain :: KeySym
xK_hebrew_zayin :: KeySym
xK_hebrew_chet :: KeySym
xK_hebrew_het :: KeySym
xK_hebrew_tet :: KeySym
xK_hebrew_teth :: KeySym
xK_hebrew_yod :: KeySym
xK_hebrew_finalkaph :: KeySym
xK_hebrew_kaph :: KeySym
xK_hebrew_lamed :: KeySym
xK_hebrew_finalmem :: KeySym
xK_hebrew_mem :: KeySym
xK_hebrew_finalnun :: KeySym
xK_hebrew_nun :: KeySym
xK_hebrew_samech :: KeySym
xK_hebrew_samekh :: KeySym
xK_hebrew_ayin :: KeySym
xK_hebrew_finalpe :: KeySym
xK_hebrew_pe :: KeySym
xK_hebrew_finalzade :: KeySym
xK_hebrew_finalzadi :: KeySym
xK_hebrew_zade :: KeySym
xK_hebrew_zadi :: KeySym
xK_hebrew_qoph :: KeySym
xK_hebrew_kuf :: KeySym
xK_hebrew_resh :: KeySym
xK_hebrew_shin :: KeySym
xK_hebrew_taw :: KeySym
xK_hebrew_taf :: KeySym
xK_Hebrew_switch :: KeySym
xK_Thai_kokai :: KeySym
xK_Thai_khokhai :: KeySym
xK_Thai_khokhuat :: KeySym
xK_Thai_khokhwai :: KeySym
xK_Thai_khokhon :: KeySym
xK_Thai_khorakhang :: KeySym
xK_Thai_ngongu :: KeySym
xK_Thai_chochan :: KeySym
xK_Thai_choching :: KeySym
xK_Thai_chochang :: KeySym
xK_Thai_soso :: KeySym
xK_Thai_chochoe :: KeySym
xK_Thai_yoying :: KeySym
xK_Thai_dochada :: KeySym
xK_Thai_topatak :: KeySym
xK_Thai_thothan :: KeySym
xK_Thai_thonangmontho :: KeySym
xK_Thai_thophuthao :: KeySym
xK_Thai_nonen :: KeySym
xK_Thai_dodek :: KeySym
xK_Thai_totao :: KeySym
xK_Thai_thothung :: KeySym
xK_Thai_thothahan :: KeySym
xK_Thai_thothong :: KeySym
xK_Thai_nonu :: KeySym
xK_Thai_bobaimai :: KeySym
xK_Thai_popla :: KeySym
xK_Thai_phophung :: KeySym
xK_Thai_fofa :: KeySym
xK_Thai_phophan :: KeySym
xK_Thai_fofan :: KeySym
xK_Thai_phosamphao :: KeySym
xK_Thai_moma :: KeySym
xK_Thai_yoyak :: KeySym
xK_Thai_rorua :: KeySym
xK_Thai_ru :: KeySym
xK_Thai_loling :: KeySym
xK_Thai_lu :: KeySym
xK_Thai_wowaen :: KeySym
xK_Thai_sosala :: KeySym
xK_Thai_sorusi :: KeySym
xK_Thai_sosua :: KeySym
xK_Thai_hohip :: KeySym
xK_Thai_lochula :: KeySym
xK_Thai_oang :: KeySym
xK_Thai_honokhuk :: KeySym
xK_Thai_paiyannoi :: KeySym
xK_Thai_saraa :: KeySym
xK_Thai_maihanakat :: KeySym
xK_Thai_saraaa :: KeySym
xK_Thai_saraam :: KeySym
xK_Thai_sarai :: KeySym
xK_Thai_saraii :: KeySym
xK_Thai_saraue :: KeySym
xK_Thai_sarauee :: KeySym
xK_Thai_sarau :: KeySym
xK_Thai_sarauu :: KeySym
xK_Thai_phinthu :: KeySym
xK_Thai_maihanakat_maitho :: KeySym
xK_Thai_baht :: KeySym
xK_Thai_sarae :: KeySym
xK_Thai_saraae :: KeySym
xK_Thai_sarao :: KeySym
xK_Thai_saraaimaimuan :: KeySym
xK_Thai_saraaimaimalai :: KeySym
xK_Thai_lakkhangyao :: KeySym
xK_Thai_maiyamok :: KeySym
xK_Thai_maitaikhu :: KeySym
xK_Thai_maiek :: KeySym
xK_Thai_maitho :: KeySym
xK_Thai_maitri :: KeySym
xK_Thai_maichattawa :: KeySym
xK_Thai_thanthakhat :: KeySym
xK_Thai_nikhahit :: KeySym
xK_Thai_leksun :: KeySym
xK_Thai_leknung :: KeySym
xK_Thai_leksong :: KeySym
xK_Thai_leksam :: KeySym
xK_Thai_leksi :: KeySym
xK_Thai_lekha :: KeySym
xK_Thai_lekhok :: KeySym
xK_Thai_lekchet :: KeySym
xK_Thai_lekpaet :: KeySym
xK_Thai_lekkao :: KeySym
xK_Hangul :: KeySym
xK_Hangul_Start :: KeySym
xK_Hangul_End :: KeySym
xK_Hangul_Hanja :: KeySym
xK_Hangul_Jamo :: KeySym
xK_Hangul_Romaja :: KeySym
xK_Hangul_Codeinput :: KeySym
xK_Hangul_Jeonja :: KeySym
xK_Hangul_Banja :: KeySym
xK_Hangul_PreHanja :: KeySym
xK_Hangul_PostHanja :: KeySym
xK_Hangul_SingleCandidate :: KeySym
xK_Hangul_MultipleCandidate :: KeySym
xK_Hangul_PreviousCandidate :: KeySym
xK_Hangul_Special :: KeySym
xK_Hangul_switch :: KeySym
xK_Hangul_Kiyeog :: KeySym
xK_Hangul_SsangKiyeog :: KeySym
xK_Hangul_KiyeogSios :: KeySym
xK_Hangul_Nieun :: KeySym
xK_Hangul_NieunJieuj :: KeySym
xK_Hangul_NieunHieuh :: KeySym
xK_Hangul_Dikeud :: KeySym
xK_Hangul_SsangDikeud :: KeySym
xK_Hangul_Rieul :: KeySym
xK_Hangul_RieulKiyeog :: KeySym
xK_Hangul_RieulMieum :: KeySym
xK_Hangul_RieulPieub :: KeySym
xK_Hangul_RieulSios :: KeySym
xK_Hangul_RieulTieut :: KeySym
xK_Hangul_RieulPhieuf :: KeySym
xK_Hangul_RieulHieuh :: KeySym
xK_Hangul_Mieum :: KeySym
xK_Hangul_Pieub :: KeySym
xK_Hangul_SsangPieub :: KeySym
xK_Hangul_PieubSios :: KeySym
xK_Hangul_Sios :: KeySym
xK_Hangul_SsangSios :: KeySym
xK_Hangul_Ieung :: KeySym
xK_Hangul_Jieuj :: KeySym
xK_Hangul_SsangJieuj :: KeySym
xK_Hangul_Cieuc :: KeySym
xK_Hangul_Khieuq :: KeySym
xK_Hangul_Tieut :: KeySym
xK_Hangul_Phieuf :: KeySym
xK_Hangul_Hieuh :: KeySym
xK_Hangul_A :: KeySym
xK_Hangul_AE :: KeySym
xK_Hangul_YA :: KeySym
xK_Hangul_YAE :: KeySym
xK_Hangul_EO :: KeySym
xK_Hangul_E :: KeySym
xK_Hangul_YEO :: KeySym
xK_Hangul_YE :: KeySym
xK_Hangul_O :: KeySym
xK_Hangul_WA :: KeySym
xK_Hangul_WAE :: KeySym
xK_Hangul_OE :: KeySym
xK_Hangul_YO :: KeySym
xK_Hangul_U :: KeySym
xK_Hangul_WEO :: KeySym
xK_Hangul_WE :: KeySym
xK_Hangul_WI :: KeySym
xK_Hangul_YU :: KeySym
xK_Hangul_EU :: KeySym
xK_Hangul_YI :: KeySym
xK_Hangul_I :: KeySym
xK_Hangul_J_Kiyeog :: KeySym
xK_Hangul_J_SsangKiyeog :: KeySym
xK_Hangul_J_KiyeogSios :: KeySym
xK_Hangul_J_Nieun :: KeySym
xK_Hangul_J_NieunJieuj :: KeySym
xK_Hangul_J_NieunHieuh :: KeySym
xK_Hangul_J_Dikeud :: KeySym
xK_Hangul_J_Rieul :: KeySym
xK_Hangul_J_RieulKiyeog :: KeySym
xK_Hangul_J_RieulMieum :: KeySym
xK_Hangul_J_RieulPieub :: KeySym
xK_Hangul_J_RieulSios :: KeySym
xK_Hangul_J_RieulTieut :: KeySym
xK_Hangul_J_RieulPhieuf :: KeySym
xK_Hangul_J_RieulHieuh :: KeySym
xK_Hangul_J_Mieum :: KeySym
xK_Hangul_J_Pieub :: KeySym
xK_Hangul_J_PieubSios :: KeySym
xK_Hangul_J_Sios :: KeySym
xK_Hangul_J_SsangSios :: KeySym
xK_Hangul_J_Ieung :: KeySym
xK_Hangul_J_Jieuj :: KeySym
xK_Hangul_J_Cieuc :: KeySym
xK_Hangul_J_Khieuq :: KeySym
xK_Hangul_J_Tieut :: KeySym
xK_Hangul_J_Phieuf :: KeySym
xK_Hangul_J_Hieuh :: KeySym
xK_Hangul_RieulYeorinHieuh :: KeySym
xK_Hangul_SunkyeongeumMieum :: KeySym
xK_Hangul_SunkyeongeumPieub :: KeySym
xK_Hangul_PanSios :: KeySym
xK_Hangul_KkogjiDalrinIeung :: KeySym
xK_Hangul_SunkyeongeumPhieuf :: KeySym
xK_Hangul_YeorinHieuh :: KeySym
xK_Hangul_AraeA :: KeySym
xK_Hangul_AraeAE :: KeySym
xK_Hangul_J_PanSios :: KeySym
xK_Hangul_J_KkogjiDalrinIeung :: KeySym
xK_Hangul_J_YeorinHieuh :: KeySym
xK_Korean_Won :: KeySym
xK_Armenian_ligature_ew :: KeySym
xK_Armenian_full_stop :: KeySym
xK_Armenian_verjaket :: KeySym
xK_Armenian_separation_mark :: KeySym
xK_Armenian_but :: KeySym
xK_Armenian_hyphen :: KeySym
xK_Armenian_yentamna :: KeySym
xK_Armenian_exclam :: KeySym
xK_Armenian_amanak :: KeySym
xK_Armenian_accent :: KeySym
xK_Armenian_shesht :: KeySym
xK_Armenian_question :: KeySym
xK_Armenian_paruyk :: KeySym
xK_Armenian_AYB :: KeySym
xK_Armenian_ayb :: KeySym
xK_Armenian_BEN :: KeySym
xK_Armenian_ben :: KeySym
xK_Armenian_GIM :: KeySym
xK_Armenian_gim :: KeySym
xK_Armenian_DA :: KeySym
xK_Armenian_da :: KeySym
xK_Armenian_YECH :: KeySym
xK_Armenian_yech :: KeySym
xK_Armenian_ZA :: KeySym
xK_Armenian_za :: KeySym
xK_Armenian_E :: KeySym
xK_Armenian_e :: KeySym
xK_Armenian_AT :: KeySym
xK_Armenian_at :: KeySym
xK_Armenian_TO :: KeySym
xK_Armenian_to :: KeySym
xK_Armenian_ZHE :: KeySym
xK_Armenian_zhe :: KeySym
xK_Armenian_INI :: KeySym
xK_Armenian_ini :: KeySym
xK_Armenian_LYUN :: KeySym
xK_Armenian_lyun :: KeySym
xK_Armenian_KHE :: KeySym
xK_Armenian_khe :: KeySym
xK_Armenian_TSA :: KeySym
xK_Armenian_tsa :: KeySym
xK_Armenian_KEN :: KeySym
xK_Armenian_ken :: KeySym
xK_Armenian_HO :: KeySym
xK_Armenian_ho :: KeySym
xK_Armenian_DZA :: KeySym
xK_Armenian_dza :: KeySym
xK_Armenian_GHAT :: KeySym
xK_Armenian_ghat :: KeySym
xK_Armenian_TCHE :: KeySym
xK_Armenian_tche :: KeySym
xK_Armenian_MEN :: KeySym
xK_Armenian_men :: KeySym
xK_Armenian_HI :: KeySym
xK_Armenian_hi :: KeySym
xK_Armenian_NU :: KeySym
xK_Armenian_nu :: KeySym
xK_Armenian_SHA :: KeySym
xK_Armenian_sha :: KeySym
xK_Armenian_VO :: KeySym
xK_Armenian_vo :: KeySym
xK_Armenian_CHA :: KeySym
xK_Armenian_cha :: KeySym
xK_Armenian_PE :: KeySym
xK_Armenian_pe :: KeySym
xK_Armenian_JE :: KeySym
xK_Armenian_je :: KeySym
xK_Armenian_RA :: KeySym
xK_Armenian_ra :: KeySym
xK_Armenian_SE :: KeySym
xK_Armenian_se :: KeySym
xK_Armenian_VEV :: KeySym
xK_Armenian_vev :: KeySym
xK_Armenian_TYUN :: KeySym
xK_Armenian_tyun :: KeySym
xK_Armenian_RE :: KeySym
xK_Armenian_re :: KeySym
xK_Armenian_TSO :: KeySym
xK_Armenian_tso :: KeySym
xK_Armenian_VYUN :: KeySym
xK_Armenian_vyun :: KeySym
xK_Armenian_PYUR :: KeySym
xK_Armenian_pyur :: KeySym
xK_Armenian_KE :: KeySym
xK_Armenian_ke :: KeySym
xK_Armenian_O :: KeySym
xK_Armenian_o :: KeySym
xK_Armenian_FE :: KeySym
xK_Armenian_fe :: KeySym
xK_Armenian_apostrophe :: KeySym
xK_Georgian_an :: KeySym
xK_Georgian_ban :: KeySym
xK_Georgian_gan :: KeySym
xK_Georgian_don :: KeySym
xK_Georgian_en :: KeySym
xK_Georgian_vin :: KeySym
xK_Georgian_zen :: KeySym
xK_Georgian_tan :: KeySym
xK_Georgian_in :: KeySym
xK_Georgian_kan :: KeySym
xK_Georgian_las :: KeySym
xK_Georgian_man :: KeySym
xK_Georgian_nar :: KeySym
xK_Georgian_on :: KeySym
xK_Georgian_par :: KeySym
xK_Georgian_zhar :: KeySym
xK_Georgian_rae :: KeySym
xK_Georgian_san :: KeySym
xK_Georgian_tar :: KeySym
xK_Georgian_un :: KeySym
xK_Georgian_phar :: KeySym
xK_Georgian_khar :: KeySym
xK_Georgian_ghan :: KeySym
xK_Georgian_qar :: KeySym
xK_Georgian_shin :: KeySym
xK_Georgian_chin :: KeySym
xK_Georgian_can :: KeySym
xK_Georgian_jil :: KeySym
xK_Georgian_cil :: KeySym
xK_Georgian_char :: KeySym
xK_Georgian_xan :: KeySym
xK_Georgian_jhan :: KeySym
xK_Georgian_hae :: KeySym
xK_Georgian_he :: KeySym
xK_Georgian_hie :: KeySym
xK_Georgian_we :: KeySym
xK_Georgian_har :: KeySym
xK_Georgian_hoe :: KeySym
xK_Georgian_fi :: KeySym
xK_Xabovedot :: KeySym
xK_Ibreve :: KeySym
xK_Zstroke :: KeySym
xK_Gcaron :: KeySym
xK_Ocaron :: KeySym
xK_Obarred :: KeySym
xK_xabovedot :: KeySym
xK_ibreve :: KeySym
xK_zstroke :: KeySym
xK_gcaron :: KeySym
xK_ocaron :: KeySym
xK_obarred :: KeySym
xK_SCHWA :: KeySym
xK_schwa :: KeySym
xK_Lbelowdot :: KeySym
xK_lbelowdot :: KeySym
xK_Abelowdot :: KeySym
xK_abelowdot :: KeySym
xK_Ahook :: KeySym
xK_ahook :: KeySym
xK_Acircumflexacute :: KeySym
xK_acircumflexacute :: KeySym
xK_Acircumflexgrave :: KeySym
xK_acircumflexgrave :: KeySym
xK_Acircumflexhook :: KeySym
xK_acircumflexhook :: KeySym
xK_Acircumflextilde :: KeySym
xK_acircumflextilde :: KeySym
xK_Acircumflexbelowdot :: KeySym
xK_acircumflexbelowdot :: KeySym
xK_Abreveacute :: KeySym
xK_abreveacute :: KeySym
xK_Abrevegrave :: KeySym
xK_abrevegrave :: KeySym
xK_Abrevehook :: KeySym
xK_abrevehook :: KeySym
xK_Abrevetilde :: KeySym
xK_abrevetilde :: KeySym
xK_Abrevebelowdot :: KeySym
xK_abrevebelowdot :: KeySym
xK_Ebelowdot :: KeySym
xK_ebelowdot :: KeySym
xK_Ehook :: KeySym
xK_ehook :: KeySym
xK_Etilde :: KeySym
xK_etilde :: KeySym
xK_Ecircumflexacute :: KeySym
xK_ecircumflexacute :: KeySym
xK_Ecircumflexgrave :: KeySym
xK_ecircumflexgrave :: KeySym
xK_Ecircumflexhook :: KeySym
xK_ecircumflexhook :: KeySym
xK_Ecircumflextilde :: KeySym
xK_ecircumflextilde :: KeySym
xK_Ecircumflexbelowdot :: KeySym
xK_ecircumflexbelowdot :: KeySym
xK_Ihook :: KeySym
xK_ihook :: KeySym
xK_Ibelowdot :: KeySym
xK_ibelowdot :: KeySym
xK_Obelowdot :: KeySym
xK_obelowdot :: KeySym
xK_Ohook :: KeySym
xK_ohook :: KeySym
xK_Ocircumflexacute :: KeySym
xK_ocircumflexacute :: KeySym
xK_Ocircumflexgrave :: KeySym
xK_ocircumflexgrave :: KeySym
xK_Ocircumflexhook :: KeySym
xK_ocircumflexhook :: KeySym
xK_Ocircumflextilde :: KeySym
xK_ocircumflextilde :: KeySym
xK_Ocircumflexbelowdot :: KeySym
xK_ocircumflexbelowdot :: KeySym
xK_Ohornacute :: KeySym
xK_ohornacute :: KeySym
xK_Ohorngrave :: KeySym
xK_ohorngrave :: KeySym
xK_Ohornhook :: KeySym
xK_ohornhook :: KeySym
xK_Ohorntilde :: KeySym
xK_ohorntilde :: KeySym
xK_Ohornbelowdot :: KeySym
xK_ohornbelowdot :: KeySym
xK_Ubelowdot :: KeySym
xK_ubelowdot :: KeySym
xK_Uhook :: KeySym
xK_uhook :: KeySym
xK_Uhornacute :: KeySym
xK_uhornacute :: KeySym
xK_Uhorngrave :: KeySym
xK_uhorngrave :: KeySym
xK_Uhornhook :: KeySym
xK_uhornhook :: KeySym
xK_Uhorntilde :: KeySym
xK_uhorntilde :: KeySym
xK_Uhornbelowdot :: KeySym
xK_uhornbelowdot :: KeySym
xK_Ybelowdot :: KeySym
xK_ybelowdot :: KeySym
xK_Yhook :: KeySym
xK_yhook :: KeySym
xK_Ytilde :: KeySym
xK_ytilde :: KeySym
xK_Ohorn :: KeySym
xK_ohorn :: KeySym
xK_Uhorn :: KeySym
xK_uhorn :: KeySym
xK_EcuSign :: KeySym
xK_ColonSign :: KeySym
xK_CruzeiroSign :: KeySym
xK_FFrancSign :: KeySym
xK_LiraSign :: KeySym
xK_MillSign :: KeySym
xK_NairaSign :: KeySym
xK_PesetaSign :: KeySym
xK_RupeeSign :: KeySym
xK_WonSign :: KeySym
xK_NewSheqelSign :: KeySym
xK_DongSign :: KeySym
xK_EuroSign :: KeySym
xK_zerosuperior :: KeySym
xK_foursuperior :: KeySym
xK_fivesuperior :: KeySym
xK_sixsuperior :: KeySym
xK_sevensuperior :: KeySym
xK_eightsuperior :: KeySym
xK_ninesuperior :: KeySym
xK_zerosubscript :: KeySym
xK_onesubscript :: KeySym
xK_twosubscript :: KeySym
xK_threesubscript :: KeySym
xK_foursubscript :: KeySym
xK_fivesubscript :: KeySym
xK_sixsubscript :: KeySym
xK_sevensubscript :: KeySym
xK_eightsubscript :: KeySym
xK_ninesubscript :: KeySym
xK_partdifferential :: KeySym
xK_emptyset :: KeySym
xK_elementof :: KeySym
xK_notelementof :: KeySym
xK_containsas :: KeySym
xK_squareroot :: KeySym
xK_cuberoot :: KeySym
xK_fourthroot :: KeySym
xK_dintegral :: KeySym
xK_tintegral :: KeySym
xK_because :: KeySym
xK_approxeq :: KeySym
xK_notapproxeq :: KeySym
xK_notidentical :: KeySym
xK_stricteq :: KeySym
xK_braille_dot_1 :: KeySym
xK_braille_dot_2 :: KeySym
xK_braille_dot_3 :: KeySym
xK_braille_dot_4 :: KeySym
xK_braille_dot_5 :: KeySym
xK_braille_dot_6 :: KeySym
xK_braille_dot_7 :: KeySym
xK_braille_dot_8 :: KeySym
xK_braille_dot_9 :: KeySym
xK_braille_dot_10 :: KeySym
xK_braille_blank :: KeySym
xK_braille_dots_1 :: KeySym
xK_braille_dots_2 :: KeySym
xK_braille_dots_12 :: KeySym
xK_braille_dots_3 :: KeySym
xK_braille_dots_13 :: KeySym
xK_braille_dots_23 :: KeySym
xK_braille_dots_123 :: KeySym
xK_braille_dots_4 :: KeySym
xK_braille_dots_14 :: KeySym
xK_braille_dots_24 :: KeySym
xK_braille_dots_124 :: KeySym
xK_braille_dots_34 :: KeySym
xK_braille_dots_134 :: KeySym
xK_braille_dots_234 :: KeySym
xK_braille_dots_1234 :: KeySym
xK_braille_dots_5 :: KeySym
xK_braille_dots_15 :: KeySym
xK_braille_dots_25 :: KeySym
xK_braille_dots_125 :: KeySym
xK_braille_dots_35 :: KeySym
xK_braille_dots_135 :: KeySym
xK_braille_dots_235 :: KeySym
xK_braille_dots_1235 :: KeySym
xK_braille_dots_45 :: KeySym
xK_braille_dots_145 :: KeySym
xK_braille_dots_245 :: KeySym
xK_braille_dots_1245 :: KeySym
xK_braille_dots_345 :: KeySym
xK_braille_dots_1345 :: KeySym
xK_braille_dots_2345 :: KeySym
xK_braille_dots_12345 :: KeySym
xK_braille_dots_6 :: KeySym
xK_braille_dots_16 :: KeySym
xK_braille_dots_26 :: KeySym
xK_braille_dots_126 :: KeySym
xK_braille_dots_36 :: KeySym
xK_braille_dots_136 :: KeySym
xK_braille_dots_236 :: KeySym
xK_braille_dots_1236 :: KeySym
xK_braille_dots_46 :: KeySym
xK_braille_dots_146 :: KeySym
xK_braille_dots_246 :: KeySym
xK_braille_dots_1246 :: KeySym
xK_braille_dots_346 :: KeySym
xK_braille_dots_1346 :: KeySym
xK_braille_dots_2346 :: KeySym
xK_braille_dots_12346 :: KeySym
xK_braille_dots_56 :: KeySym
xK_braille_dots_156 :: KeySym
xK_braille_dots_256 :: KeySym
xK_braille_dots_1256 :: KeySym
xK_braille_dots_356 :: KeySym
xK_braille_dots_1356 :: KeySym
xK_braille_dots_2356 :: KeySym
xK_braille_dots_12356 :: KeySym
xK_braille_dots_456 :: KeySym
xK_braille_dots_1456 :: KeySym
xK_braille_dots_2456 :: KeySym
xK_braille_dots_12456 :: KeySym
xK_braille_dots_3456 :: KeySym
xK_braille_dots_13456 :: KeySym
xK_braille_dots_23456 :: KeySym
xK_braille_dots_123456 :: KeySym
xK_braille_dots_7 :: KeySym
xK_braille_dots_17 :: KeySym
xK_braille_dots_27 :: KeySym
xK_braille_dots_127 :: KeySym
xK_braille_dots_37 :: KeySym
xK_braille_dots_137 :: KeySym
xK_braille_dots_237 :: KeySym
xK_braille_dots_1237 :: KeySym
xK_braille_dots_47 :: KeySym
xK_braille_dots_147 :: KeySym
xK_braille_dots_247 :: KeySym
xK_braille_dots_1247 :: KeySym
xK_braille_dots_347 :: KeySym
xK_braille_dots_1347 :: KeySym
xK_braille_dots_2347 :: KeySym
xK_braille_dots_12347 :: KeySym
xK_braille_dots_57 :: KeySym
xK_braille_dots_157 :: KeySym
xK_braille_dots_257 :: KeySym
xK_braille_dots_1257 :: KeySym
xK_braille_dots_357 :: KeySym
xK_braille_dots_1357 :: KeySym
xK_braille_dots_2357 :: KeySym
xK_braille_dots_12357 :: KeySym
xK_braille_dots_457 :: KeySym
xK_braille_dots_1457 :: KeySym
xK_braille_dots_2457 :: KeySym
xK_braille_dots_12457 :: KeySym
xK_braille_dots_3457 :: KeySym
xK_braille_dots_13457 :: KeySym
xK_braille_dots_23457 :: KeySym
xK_braille_dots_123457 :: KeySym
xK_braille_dots_67 :: KeySym
xK_braille_dots_167 :: KeySym
xK_braille_dots_267 :: KeySym
xK_braille_dots_1267 :: KeySym
xK_braille_dots_367 :: KeySym
xK_braille_dots_1367 :: KeySym
xK_braille_dots_2367 :: KeySym
xK_braille_dots_12367 :: KeySym
xK_braille_dots_467 :: KeySym
xK_braille_dots_1467 :: KeySym
xK_braille_dots_2467 :: KeySym
xK_braille_dots_12467 :: KeySym
xK_braille_dots_3467 :: KeySym
xK_braille_dots_13467 :: KeySym
xK_braille_dots_23467 :: KeySym
xK_braille_dots_123467 :: KeySym
xK_braille_dots_567 :: KeySym
xK_braille_dots_1567 :: KeySym
xK_braille_dots_2567 :: KeySym
xK_braille_dots_12567 :: KeySym
xK_braille_dots_3567 :: KeySym
xK_braille_dots_13567 :: KeySym
xK_braille_dots_23567 :: KeySym
xK_braille_dots_123567 :: KeySym
xK_braille_dots_4567 :: KeySym
xK_braille_dots_14567 :: KeySym
xK_braille_dots_24567 :: KeySym
xK_braille_dots_124567 :: KeySym
xK_braille_dots_34567 :: KeySym
xK_braille_dots_134567 :: KeySym
xK_braille_dots_234567 :: KeySym
xK_braille_dots_1234567 :: KeySym
xK_braille_dots_8 :: KeySym
xK_braille_dots_18 :: KeySym
xK_braille_dots_28 :: KeySym
xK_braille_dots_128 :: KeySym
xK_braille_dots_38 :: KeySym
xK_braille_dots_138 :: KeySym
xK_braille_dots_238 :: KeySym
xK_braille_dots_1238 :: KeySym
xK_braille_dots_48 :: KeySym
xK_braille_dots_148 :: KeySym
xK_braille_dots_248 :: KeySym
xK_braille_dots_1248 :: KeySym
xK_braille_dots_348 :: KeySym
xK_braille_dots_1348 :: KeySym
xK_braille_dots_2348 :: KeySym
xK_braille_dots_12348 :: KeySym
xK_braille_dots_58 :: KeySym
xK_braille_dots_158 :: KeySym
xK_braille_dots_258 :: KeySym
xK_braille_dots_1258 :: KeySym
xK_braille_dots_358 :: KeySym
xK_braille_dots_1358 :: KeySym
xK_braille_dots_2358 :: KeySym
xK_braille_dots_12358 :: KeySym
xK_braille_dots_458 :: KeySym
xK_braille_dots_1458 :: KeySym
xK_braille_dots_2458 :: KeySym
xK_braille_dots_12458 :: KeySym
xK_braille_dots_3458 :: KeySym
xK_braille_dots_13458 :: KeySym
xK_braille_dots_23458 :: KeySym
xK_braille_dots_123458 :: KeySym
xK_braille_dots_68 :: KeySym
xK_braille_dots_168 :: KeySym
xK_braille_dots_268 :: KeySym
xK_braille_dots_1268 :: KeySym
xK_braille_dots_368 :: KeySym
xK_braille_dots_1368 :: KeySym
xK_braille_dots_2368 :: KeySym
xK_braille_dots_12368 :: KeySym
xK_braille_dots_468 :: KeySym
xK_braille_dots_1468 :: KeySym
xK_braille_dots_2468 :: KeySym
xK_braille_dots_12468 :: KeySym
xK_braille_dots_3468 :: KeySym
xK_braille_dots_13468 :: KeySym
xK_braille_dots_23468 :: KeySym
xK_braille_dots_123468 :: KeySym
xK_braille_dots_568 :: KeySym
xK_braille_dots_1568 :: KeySym
xK_braille_dots_2568 :: KeySym
xK_braille_dots_12568 :: KeySym
xK_braille_dots_3568 :: KeySym
xK_braille_dots_13568 :: KeySym
xK_braille_dots_23568 :: KeySym
xK_braille_dots_123568 :: KeySym
xK_braille_dots_4568 :: KeySym
xK_braille_dots_14568 :: KeySym
xK_braille_dots_24568 :: KeySym
xK_braille_dots_124568 :: KeySym
xK_braille_dots_34568 :: KeySym
xK_braille_dots_134568 :: KeySym
xK_braille_dots_234568 :: KeySym
xK_braille_dots_1234568 :: KeySym
xK_braille_dots_78 :: KeySym
xK_braille_dots_178 :: KeySym
xK_braille_dots_278 :: KeySym
xK_braille_dots_1278 :: KeySym
xK_braille_dots_378 :: KeySym
xK_braille_dots_1378 :: KeySym
xK_braille_dots_2378 :: KeySym
xK_braille_dots_12378 :: KeySym
xK_braille_dots_478 :: KeySym
xK_braille_dots_1478 :: KeySym
xK_braille_dots_2478 :: KeySym
xK_braille_dots_12478 :: KeySym
xK_braille_dots_3478 :: KeySym
xK_braille_dots_13478 :: KeySym
xK_braille_dots_23478 :: KeySym
xK_braille_dots_123478 :: KeySym
xK_braille_dots_578 :: KeySym
xK_braille_dots_1578 :: KeySym
xK_braille_dots_2578 :: KeySym
xK_braille_dots_12578 :: KeySym
xK_braille_dots_3578 :: KeySym
xK_braille_dots_13578 :: KeySym
xK_braille_dots_23578 :: KeySym
xK_braille_dots_123578 :: KeySym
xK_braille_dots_4578 :: KeySym
xK_braille_dots_14578 :: KeySym
xK_braille_dots_24578 :: KeySym
xK_braille_dots_124578 :: KeySym
xK_braille_dots_34578 :: KeySym
xK_braille_dots_134578 :: KeySym
xK_braille_dots_234578 :: KeySym
xK_braille_dots_1234578 :: KeySym
xK_braille_dots_678 :: KeySym
xK_braille_dots_1678 :: KeySym
xK_braille_dots_2678 :: KeySym
xK_braille_dots_12678 :: KeySym
xK_braille_dots_3678 :: KeySym
xK_braille_dots_13678 :: KeySym
xK_braille_dots_23678 :: KeySym
xK_braille_dots_123678 :: KeySym
xK_braille_dots_4678 :: KeySym
xK_braille_dots_14678 :: KeySym
xK_braille_dots_24678 :: KeySym
xK_braille_dots_124678 :: KeySym
xK_braille_dots_34678 :: KeySym
xK_braille_dots_134678 :: KeySym
xK_braille_dots_234678 :: KeySym
xK_braille_dots_1234678 :: KeySym
xK_braille_dots_5678 :: KeySym
xK_braille_dots_15678 :: KeySym
xK_braille_dots_25678 :: KeySym
xK_braille_dots_125678 :: KeySym
xK_braille_dots_35678 :: KeySym
xK_braille_dots_135678 :: KeySym
xK_braille_dots_235678 :: KeySym
xK_braille_dots_1235678 :: KeySym
xK_braille_dots_45678 :: KeySym
xK_braille_dots_145678 :: KeySym
xK_braille_dots_245678 :: KeySym
xK_braille_dots_1245678 :: KeySym
xK_braille_dots_345678 :: KeySym
xK_braille_dots_1345678 :: KeySym
xK_braille_dots_2345678 :: KeySym
xK_braille_dots_12345678 :: KeySym


-- | Extra keysyms defined by X.org that may not be in other
--   implementations.
module Graphics.X11.ExtraTypes


-- | A collection of FFI declarations for interfacing with Xlib.
--   
--   The library aims to provide a direct translation of the X binding into
--   Haskell so the most important documentation you should read is <i>The
--   Xlib Programming Manual</i>, available online at
--   <a>http://tronche.com/gui/x/xlib/</a>. Let me say that again because
--   it is very important. Get hold of this documentation and read it: it
--   tells you almost everything you need to know to use this library.
module Graphics.X11.Xlib

-- | pointer to an X11 <tt>Display</tt> structure
newtype Display
Display :: (Ptr Display) -> Display

-- | pointer to an X11 <tt>Screen</tt> structure
data Screen

-- | pointer to an X11 <tt>Visual</tt> structure
data Visual

-- | pointer to an X11 <tt>GC</tt> structure
data GC

-- | pointer to an X11 <tt>XSetWindowAttributes</tt> structure
data SetWindowAttributes

-- | counterpart of an X11 <tt>XVisualInfo</tt> structure
data VisualInfo
VisualInfo :: Visual -> VisualID -> ScreenNumber -> CInt -> CInt -> CULong -> CULong -> CULong -> CInt -> CInt -> VisualInfo
visualInfo_visual :: VisualInfo -> Visual
visualInfo_visualID :: VisualInfo -> VisualID
visualInfo_screen :: VisualInfo -> ScreenNumber
visualInfo_depth :: VisualInfo -> CInt
visualInfo_class :: VisualInfo -> CInt
visualInfo_redMask :: VisualInfo -> CULong
visualInfo_greenMask :: VisualInfo -> CULong
visualInfo_blueMask :: VisualInfo -> CULong
visualInfo_colormapSize :: VisualInfo -> CInt
visualInfo_bitsPerRGB :: VisualInfo -> CInt

-- | counterpart of an X11 <tt>XPoint</tt> structure
data Point
Point :: !Position -> !Position -> Point
pt_x :: Point -> !Position
pt_y :: Point -> !Position

-- | counterpart of an X11 <tt>XRectangle</tt> structure
data Rectangle
Rectangle :: !Position -> !Position -> !Dimension -> !Dimension -> Rectangle
rect_x :: Rectangle -> !Position
rect_y :: Rectangle -> !Position
rect_width :: Rectangle -> !Dimension
rect_height :: Rectangle -> !Dimension

-- | counterpart of an X11 <tt>XArc</tt> structure
data Arc
Arc :: Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> Arc
arc_x :: Arc -> Position
arc_y :: Arc -> Position
arc_width :: Arc -> Dimension
arc_height :: Arc -> Dimension
arc_angle1 :: Arc -> Angle
arc_angle2 :: Arc -> Angle

-- | counterpart of an X11 <tt>XSegment</tt> structure
data Segment
Segment :: Position -> Position -> Position -> Position -> Segment
seg_x1 :: Segment -> Position
seg_y1 :: Segment -> Position
seg_x2 :: Segment -> Position
seg_y2 :: Segment -> Position

-- | counterpart of an X11 <tt>XColor</tt> structure
data Color
Color :: Pixel -> Word16 -> Word16 -> Word16 -> Word8 -> Color
color_pixel :: Color -> Pixel
color_red :: Color -> Word16
color_green :: Color -> Word16
color_blue :: Color -> Word16
color_flags :: Color -> Word8
type Pixel = Word64
type Position = Int32
type Dimension = Word32
type Angle = CInt
type ScreenNumber = Word32
type Buffer = CInt


module Graphics.X11.Xlib.Extras
data Event
AnyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ConfigureRequestEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !CInt -> !CInt -> !CInt -> !CInt -> !CInt -> !Window -> !NotifyDetail -> !CULong -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_parent :: Event -> !Window
ev_window :: Event -> !Window
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_width :: Event -> !CInt
ev_height :: Event -> !CInt
ev_border_width :: Event -> !CInt
ev_above :: Event -> !Window
ev_detail :: Event -> !NotifyDetail
ev_value_mask :: Event -> !CULong
ConfigureEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !CInt -> !CInt -> !CInt -> !CInt -> !CInt -> !Window -> !Bool -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_event :: Event -> !Window
ev_window :: Event -> !Window
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_width :: Event -> !CInt
ev_height :: Event -> !CInt
ev_border_width :: Event -> !CInt
ev_above :: Event -> !Window
ev_override_redirect :: Event -> !Bool
MapRequestEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_parent :: Event -> !Window
ev_window :: Event -> !Window
KeyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Window -> !Time -> !CInt -> !CInt -> !CInt -> !CInt -> !KeyMask -> !KeyCode -> !Bool -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_root :: Event -> !Window
ev_subwindow :: Event -> !Window
ev_time :: Event -> !Time
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_x_root :: Event -> !CInt
ev_y_root :: Event -> !CInt
ev_state :: Event -> !KeyMask
ev_keycode :: Event -> !KeyCode
ev_same_screen :: Event -> !Bool
ButtonEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Window -> !Time -> !CInt -> !CInt -> !CInt -> !CInt -> !KeyMask -> !Button -> !Bool -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_root :: Event -> !Window
ev_subwindow :: Event -> !Window
ev_time :: Event -> !Time
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_x_root :: Event -> !CInt
ev_y_root :: Event -> !CInt
ev_state :: Event -> !KeyMask
ev_button :: Event -> !Button
ev_same_screen :: Event -> !Bool
MotionEvent :: !EventType -> !CULong -> !Bool -> Display -> !CInt -> !CInt -> !Window -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_window :: Event -> !Window
DestroyWindowEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_event :: Event -> !Window
ev_window :: Event -> !Window
UnmapEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Bool -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_event :: Event -> !Window
ev_window :: Event -> !Window
ev_from_configure :: Event -> !Bool
MapNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Bool -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_event :: Event -> !Window
ev_window :: Event -> !Window
ev_override_redirect :: Event -> !Bool
MappingNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !MappingRequest -> !KeyCode -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_request :: Event -> !MappingRequest
ev_first_keycode :: Event -> !KeyCode
ev_count :: Event -> !CInt
CrossingEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Window -> !Time -> !CInt -> !CInt -> !CInt -> !CInt -> !NotifyMode -> !NotifyDetail -> !Bool -> !Bool -> !Modifier -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_root :: Event -> !Window
ev_subwindow :: Event -> !Window
ev_time :: Event -> !Time
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_x_root :: Event -> !CInt
ev_y_root :: Event -> !CInt
ev_mode :: Event -> !NotifyMode
ev_detail :: Event -> !NotifyDetail
ev_same_screen :: Event -> !Bool
ev_focus :: Event -> !Bool
ev_state :: Event -> !Modifier
SelectionRequest :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Atom -> !Atom -> !Atom -> !Time -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_owner :: Event -> !Window
ev_requestor :: Event -> !Window
ev_selection :: Event -> !Atom
ev_target :: Event -> !Atom
ev_property :: Event -> !Atom
ev_time :: Event -> !Time
PropertyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Atom -> !Time -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_atom :: Event -> !Atom
ev_time :: Event -> !Time
ev_propstate :: Event -> !CInt
ExposeEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !CInt -> !CInt -> !CInt -> !CInt -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_width :: Event -> !CInt
ev_height :: Event -> !CInt
ev_count :: Event -> !CInt
ClientMessageEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Atom -> ![CInt] -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_message_type :: Event -> !Atom
ev_data :: Event -> ![CInt]
RRScreenChangeNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !Window -> !Time -> !Time -> !SizeID -> !SubpixelOrder -> !Rotation -> !CInt -> !CInt -> !CInt -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_root :: Event -> !Window
ev_timestamp :: Event -> !Time
ev_config_timestamp :: Event -> !Time
ev_size_index :: Event -> !SizeID
ev_subpixel_order :: Event -> !SubpixelOrder
ev_rotation :: Event -> !Rotation
ev_width :: Event -> !CInt
ev_height :: Event -> !CInt
ev_mwidth :: Event -> !CInt
ev_mheight :: Event -> !CInt
RRNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_subtype :: Event -> !CInt
RRCrtcChangeNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !CInt -> !RRCrtc -> !RRMode -> !Rotation -> !CInt -> !CInt -> !CUInt -> !CUInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_subtype :: Event -> !CInt
ev_crtc :: Event -> !RRCrtc
ev_rr_mode :: Event -> !RRMode
ev_rotation :: Event -> !Rotation
ev_x :: Event -> !CInt
ev_y :: Event -> !CInt
ev_rr_width :: Event -> !CUInt
ev_rr_height :: Event -> !CUInt
RROutputChangeNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !CInt -> !RROutput -> !RRCrtc -> !RRMode -> !Rotation -> !Connection -> !SubpixelOrder -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_subtype :: Event -> !CInt
ev_output :: Event -> !RROutput
ev_crtc :: Event -> !RRCrtc
ev_rr_mode :: Event -> !RRMode
ev_rotation :: Event -> !Rotation
ev_connection :: Event -> !Connection
ev_subpixel_order :: Event -> !SubpixelOrder
RROutputPropertyNotifyEvent :: !EventType -> !CULong -> !Bool -> Display -> !Window -> !CInt -> !RROutput -> !Atom -> !Time -> !CInt -> Event
ev_event_type :: Event -> !EventType
ev_serial :: Event -> !CULong
ev_send_event :: Event -> !Bool
ev_event_display :: Event -> Display
ev_window :: Event -> !Window
ev_subtype :: Event -> !CInt
ev_output :: Event -> !RROutput
ev_property :: Event -> !Atom
ev_timestamp :: Event -> !Time
ev_rr_state :: Event -> !CInt
eventTable :: [(EventType, String)]
eventName :: Event -> String
getEvent :: XEventPtr -> IO Event
data WindowChanges
WindowChanges :: CInt -> CInt -> CInt -> CInt -> CInt -> Window -> CInt -> WindowChanges
wc_x :: WindowChanges -> CInt
wc_y :: WindowChanges -> CInt
wc_width :: WindowChanges -> CInt
wc_height :: WindowChanges -> CInt
wc_border_width :: WindowChanges -> CInt
wc_sibling :: WindowChanges -> Window
wc_stack_mode :: WindowChanges -> CInt
none :: XID
anyButton :: Button
anyKey :: KeyCode
currentTime :: Time
xConfigureWindow :: Display -> Window -> CULong -> Ptr WindowChanges -> IO CInt
killClient :: Display -> Window -> IO CInt
configureWindow :: Display -> Window -> CULong -> WindowChanges -> IO ()
xQueryTree :: Display -> Window -> Ptr Window -> Ptr Window -> Ptr (Ptr Window) -> Ptr CInt -> IO Status
queryTree :: Display -> Window -> IO (Window, Window, [Window])
data WindowAttributes
WindowAttributes :: CInt -> CInt -> CInt -> CInt -> CInt -> CInt -> Bool -> WindowAttributes
wa_x :: WindowAttributes -> CInt
wa_y :: WindowAttributes -> CInt
wa_width :: WindowAttributes -> CInt
wa_height :: WindowAttributes -> CInt
wa_border_width :: WindowAttributes -> CInt
wa_map_state :: WindowAttributes -> CInt
wa_override_redirect :: WindowAttributes -> Bool
waIsUnmapped :: CInt
waIsViewable :: CInt
waIsUnviewable :: CInt
xGetWindowAttributes :: Display -> Window -> Ptr (WindowAttributes) -> IO Status
getWindowAttributes :: Display -> Window -> IO WindowAttributes

-- | interface to the X11 library function
--   <tt>XChangeWindowAttributes()</tt>.
changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO ()

-- | Run an action with the server
withServer :: Display -> IO () -> IO ()
data TextProperty
TextProperty :: CString -> Atom -> CInt -> Word64 -> TextProperty
tp_value :: TextProperty -> CString
tp_encoding :: TextProperty -> Atom
tp_format :: TextProperty -> CInt
tp_nitems :: TextProperty -> Word64
xGetTextProperty :: Display -> Window -> Ptr TextProperty -> Atom -> IO Status
getTextProperty :: Display -> Window -> Atom -> IO TextProperty
xwcTextPropertyToTextList :: Display -> Ptr TextProperty -> Ptr (Ptr CWString) -> Ptr CInt -> IO CInt
wcTextPropertyToTextList :: Display -> TextProperty -> IO [String]
wcFreeStringList :: Ptr CWString -> IO ()
newtype FontSet
FontSet :: (Ptr FontSet) -> FontSet
xCreateFontSet :: Display -> CString -> Ptr (Ptr CString) -> Ptr CInt -> Ptr CString -> IO (Ptr FontSet)
createFontSet :: Display -> String -> IO ([String], String, FontSet)
freeStringList :: Ptr CString -> IO ()
freeFontSet :: Display -> FontSet -> IO ()
xwcTextExtents :: FontSet -> CWString -> CInt -> Ptr Rectangle -> Ptr Rectangle -> IO CInt
wcTextExtents :: FontSet -> String -> (Rectangle, Rectangle)
xwcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
wcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
xwcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
wcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
xwcTextEscapement :: FontSet -> CWString -> CInt -> IO Int32
wcTextEscapement :: FontSet -> String -> Int32
xFetchName :: Display -> Window -> Ptr CString -> IO Status
fetchName :: Display -> Window -> IO (Maybe String)
xGetTransientForHint :: Display -> Window -> Ptr Window -> IO Status
getTransientForHint :: Display -> Window -> IO (Maybe Window)

-- | The XGetWMProtocols function returns the list of atoms stored in the
--   WM_PROTOCOLS property on the specified window. These atoms describe
--   window manager protocols in which the owner of this window is willing
--   to participate. If the property exists, is of type ATOM, is of format
--   32, and the atom WM_PROTOCOLS can be interned, XGetWMProtocols sets
--   the protocols_return argument to a list of atoms, sets the
--   count_return argument to the number of elements in the list, and
--   returns a nonzero status. Otherwise, it sets neither of the return
--   arguments and returns a zero status. To release the list of atoms, use
--   XFree.
getWMProtocols :: Display -> Window -> IO [Atom]
xGetWMProtocols :: Display -> Window -> Ptr (Ptr Atom) -> Ptr CInt -> IO Status
setEventType :: XEventPtr -> EventType -> IO ()
setSelectionNotify :: XEventPtr -> Window -> Atom -> Atom -> Atom -> Time -> IO ()
setClientMessageEvent :: XEventPtr -> Window -> Atom -> CInt -> Atom -> Time -> IO ()
setConfigureEvent :: XEventPtr -> Window -> Window -> CInt -> CInt -> CInt -> CInt -> CInt -> Window -> Bool -> IO ()
setKeyEvent :: XEventPtr -> Window -> Window -> Window -> KeyMask -> KeyCode -> Bool -> IO ()
xSetErrorHandler :: IO ()

-- | refreshKeyboardMapping. TODO Remove this binding when the fix has been
--   commited to X11
refreshKeyboardMapping :: Event -> IO ()
xRefreshKeyboardMapping :: Ptr () -> IO CInt
anyPropertyType :: Atom
xChangeProperty :: Display -> Window -> Atom -> Atom -> CInt -> CInt -> Ptr CUChar -> CInt -> IO Status
xGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status
rawGetWindowProperty :: Storable a => Int -> Display -> Atom -> Window -> IO (Maybe [a])
getWindowProperty8 :: Display -> Atom -> Window -> IO (Maybe [CChar])
getWindowProperty16 :: Display -> Atom -> Window -> IO (Maybe [CShort])
getWindowProperty32 :: Display -> Atom -> Window -> IO (Maybe [CLong])
changeProperty8 :: Display -> Window -> Atom -> Atom -> CInt -> [CChar] -> IO ()
changeProperty16 :: Display -> Window -> Atom -> Atom -> CInt -> [CShort] -> IO ()
changeProperty32 :: Display -> Window -> Atom -> Atom -> CInt -> [CLong] -> IO ()
propModeReplace :: CInt
propModeAppend :: CInt
propModePrepend :: CInt
xUnmapWindow :: Display -> Window -> IO CInt
unmapWindow :: Display -> Window -> IO ()
data SizeHints
SizeHints :: Maybe (Dimension, Dimension) -> Maybe (Dimension, Dimension) -> Maybe (Dimension, Dimension) -> Maybe ((Dimension, Dimension), (Dimension, Dimension)) -> Maybe (Dimension, Dimension) -> Maybe (BitGravity) -> SizeHints
sh_min_size :: SizeHints -> Maybe (Dimension, Dimension)
sh_max_size :: SizeHints -> Maybe (Dimension, Dimension)
sh_resize_inc :: SizeHints -> Maybe (Dimension, Dimension)
sh_aspect :: SizeHints -> Maybe ((Dimension, Dimension), (Dimension, Dimension))
sh_base_size :: SizeHints -> Maybe (Dimension, Dimension)
sh_win_gravity :: SizeHints -> Maybe (BitGravity)
pMinSizeBit :: Int
pWinGravityBit :: Int
pBaseSizeBit :: Int
pAspectBit :: Int
pResizeIncBit :: Int
pMaxSizeBit :: Int
xGetWMNormalHints :: Display -> Window -> Ptr SizeHints -> Ptr CLong -> IO Status
getWMNormalHints :: Display -> Window -> IO SizeHints
data ClassHint
ClassHint :: String -> String -> ClassHint
resName :: ClassHint -> String
resClass :: ClassHint -> String
getClassHint :: Display -> Window -> IO ClassHint
xGetClassHint :: Display -> Window -> Ptr ClassHint -> IO Status
withdrawnState :: Int
iconicState :: Int
normalState :: Int
inputHintBit :: Int
urgencyHintBit :: Int
windowGroupHintBit :: Int
iconMaskHintBit :: Int
iconPositionHintBit :: Int
iconWindowHintBit :: Int
iconPixmapHintBit :: Int
stateHintBit :: Int
allHintsBitmask :: CLong
data WMHints
WMHints :: CLong -> Bool -> CInt -> Pixmap -> Window -> CInt -> CInt -> Pixmap -> XID -> WMHints
wmh_flags :: WMHints -> CLong
wmh_input :: WMHints -> Bool
wmh_initial_state :: WMHints -> CInt
wmh_icon_pixmap :: WMHints -> Pixmap
wmh_icon_window :: WMHints -> Window
wmh_icon_x :: WMHints -> CInt
wmh_icon_y :: WMHints -> CInt
wmh_icon_mask :: WMHints -> Pixmap
wmh_window_group :: WMHints -> XID
xGetWMHints :: Display -> Window -> IO (Ptr WMHints)
getWMHints :: Display -> Window -> IO WMHints
xAllocWMHints :: IO (Ptr WMHints)
xSetWMHints :: Display -> Window -> Ptr WMHints -> IO Status
setWMHints :: Display -> Window -> WMHints -> IO Status
isCursorKey :: KeySym -> Bool
isFunctionKey :: KeySym -> Bool
isKeypadKey :: KeySym -> Bool
isMiscFunctionKey :: KeySym -> Bool
isModifierKey :: KeySym -> Bool
isPFKey :: KeySym -> Bool
isPrivateKeypadKey :: KeySym -> Bool
xSetSelectionOwner :: Display -> Atom -> Window -> Time -> IO ()
xGetSelectionOwner :: Display -> Atom -> IO Window
xConvertSelection :: Display -> Atom -> Atom -> Atom -> Window -> Time -> IO ()
type XErrorEventPtr = Ptr ()
type CXErrorHandler = Display -> XErrorEventPtr -> IO CInt
type XErrorHandler = Display -> XErrorEventPtr -> IO ()
data ErrorEvent
ErrorEvent :: !CInt -> Display -> !CULong -> !CUChar -> !CUChar -> !CUChar -> !XID -> ErrorEvent
ev_type :: ErrorEvent -> !CInt
ev_display :: ErrorEvent -> Display
ev_serialnum :: ErrorEvent -> !CULong
ev_error_code :: ErrorEvent -> !CUChar
ev_request_code :: ErrorEvent -> !CUChar
ev_minor_code :: ErrorEvent -> !CUChar
ev_resourceid :: ErrorEvent -> !XID
mkXErrorHandler :: CXErrorHandler -> IO (FunPtr CXErrorHandler)
getXErrorHandler :: FunPtr CXErrorHandler -> CXErrorHandler
_xSetErrorHandler :: FunPtr CXErrorHandler -> IO (FunPtr CXErrorHandler)

-- | A binding to XSetErrorHandler. NOTE: This is pretty experimental
--   because of safe vs. unsafe calls. I changed sync to a safe call, but
--   there *might* be other calls that cause a problem
setErrorHandler :: XErrorHandler -> IO ()

-- | Retrieves error event data from a pointer to an XErrorEvent and puts
--   it into an ErrorEvent.
getErrorEvent :: XErrorEventPtr -> IO ErrorEvent

-- | A binding to XMapRaised.
mapRaised :: Display -> Window -> IO CInt
xGetCommand :: Display -> Window -> Ptr (Ptr CWString) -> Ptr CInt -> IO Status
getCommand :: Display -> Window -> IO [String]
xGetModifierMapping :: Display -> IO (Ptr ())
xFreeModifiermap :: Ptr () -> IO (Ptr CInt)
getModifierMapping :: Display -> IO [(Modifier, [KeyCode])]
xFree :: Ptr a -> IO CInt
instance Typeable Event
instance Show Event
instance Eq FontSet
instance Ord FontSet
instance Show FontSet
instance Storable WMHints
instance Storable SizeHints
instance Storable TextProperty
instance Storable WindowAttributes
instance Storable WindowChanges


module Graphics.X11.Xinerama

-- | Representation of the XineramaScreenInfo struct
data XineramaScreenInfo
XineramaScreenInfo :: !CInt -> !CShort -> !CShort -> !CShort -> !CShort -> XineramaScreenInfo
xsi_screen_number :: XineramaScreenInfo -> !CInt
xsi_x_org :: XineramaScreenInfo -> !CShort
xsi_y_org :: XineramaScreenInfo -> !CShort
xsi_width :: XineramaScreenInfo -> !CShort
xsi_height :: XineramaScreenInfo -> !CShort
xineramaIsActive :: Display -> IO Bool
xineramaQueryExtension :: Display -> IO (Maybe (CInt, CInt))
xineramaQueryVersion :: Display -> IO (Maybe (CInt, CInt))
xineramaQueryScreens :: Display -> IO (Maybe [XineramaScreenInfo])
compiledWithXinerama :: Bool

-- | Wrapper around xineramaQueryScreens that fakes a single screen when
--   Xinerama is not active. This is the preferred interface to
--   Graphics.X11.Xinerama.
getScreenInfo :: Display -> IO [Rectangle]
instance Show XineramaScreenInfo
instance Storable XineramaScreenInfo


-- | A Haskell binding for the X11 libraries.
module Graphics.X11