Skip to content

Instantly share code, notes, and snippets.

@Noitidart
Created January 10, 2015 12:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Noitidart/a1541a6968d25ecaaefc to your computer and use it in GitHub Desktop.
Save Noitidart/a1541a6968d25ecaaefc to your computer and use it in GitHub Desktop.
_c-X11_XChangeProperty - C module that can be compiled with `gcc -o icon icon.c -L/usr/X11/lib -lX11` after installing `sudo apt-get install libx11-dev` which will set the icon of the window in the alt + tab menu and dock. [x11] [linux] [ubuntu]
#include <stdlib.h>
#include <X11/Xlib.h>
int main( int argc, char **argv )
{
unsigned int buffer[] = {16,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,493470180,2556870889,3831546090,4267950572,4267951086,3781214700,2439496166,442675415,0,0,0,0,0,0,1391232293,1683398337,4115045318,4280718017,4281836996,4282562278,4283022571,4281906661,4282427859,4020292567,2057939348,4096,0,0,0,349729318,4259079973,4252858742,4284973170,4289174350,4283599734,4280067798,4280397793,268347868,4280128200,4285048260,4292861881,3083579497,0,0,0,1186092840,4292368678,4293095463,4293231141,4292907553,4281825418,4280061616,267754962,268016337,4279404997,4281301424,4293979332,4294108043,1307036176,0,0,2445565988,4293027109,4293029414,4293230118,4292904226,4292309057,4287856747,4279470531,4279598780,4279792821,4279788963,4288328365,4294962312,148790465,0,0,3855966499,4292894502,4292963110,4293162790,4293365539,4286866768,4280709289,4280054451,4279593130,268261785,267997068,4289442973,4294897046,3856053800,0,0,4241643555,4292762406,4292896294,4292040743,4286466102,4281161586,268130970,268130712,267931019,267928960,267925613,4294635683,4294897275,4273249089,2619376,0,4257894435,4292498470,4292828966,4291380007,4289026616,4279713899,4280044659,4282868837,4279452789,268251751,4280235097,4294432835,4294762791,4124616477,0,0,3517989668,4292037414,4292630310,4292565286,4292896550,4292768296,4292900902,4290208551,4283256913,4279380056,4286478138,4294362395,4294297617,3033563932,0,0,2007120932,4291313190,4292234790,4292696358,4292697382,4288562220,4283705141,4280230474,4279640654,4280492610,4292190499,4293831707,4292445729,2092061735,0,0,326641704,3937743651,4291444774,4292234790,4292696102,4292829222,4289680172,4285151541,4287318579,4293098022,4293691684,4292965669,4273099303,1070485540,0,0,0,1452747043,4273548837,4291313190,4292037414,4292498470,4292696614,4292828965,4293027365,4293160229,4292895781,4275262499,2361476386,0,0,0,0,57344,2322142232,4172097315,4290983974,4291642150,4292037670,4292300838,4292432678,4291973157,4272700196,2607751191,106496,0,0,0,0,16384,172032,7873126,3480622872,4137624096,4273089827,4273025314,4104138013,3666487322,157618543,233472,36864,0,0,0,0,0,0,36864,118784,208896,270336,283392,229376,143360,53248,4096,0,0,0,32,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,106277588,1417268978,2624966129,3497249777,4184918769,4268804593,4268804593,4134586865,3430009585,2541014257,1249234673,2129791,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,174502629,2054802674,3949840367,4284334572,4283678443,4283612394,4283743723,4283743980,4283809516,4283743723,4283677931,4283678186,4284334316,3815425774,1852951022,71286719,0,0,0,0,0,0,0,0,0,0,0,0,2619376,0,0,1064946414,3781935852,4283676132,4282167265,4281119202,4281512675,4282300391,4283022313,4283284971,4283350763,4283153642,4282694120,4281840868,4281249504,4284594652,4289453294,3565473519,829605354,0,0,0,0,0,0,0,0,0,0,417955626,2548992037,0,1802814955,4250514658,4282228949,4281113040,4280261842,4279412185,4279938784,4281054437,4282235113,4282760171,4282825964,4282628842,4281907431,4281316836,4280923105,4280918742,4282489804,4292404697,4156022509,3064830079,40806941,0,0,0,0,0,0,0,0,2481355812,3957617955,2273619392,4283344857,4281372872,4280322499,4279668680,4280916922,4287540842,4292460090,4283216826,4281119974,4281776104,4281841640,4281251302,4280398307,4279545568,4279806170,4280853719,4281441746,4281896383,4293191095,4292668650,3904409453,1139781425,0,0,0,0,0,0,0,4024331044,4292237606,4289683278,4284318615,4285497725,4285368954,4284322955,4292583980,4293899548,4283933590,268085981,4279676641,4280135906,4280135906,4279742433,268152030,267560922,4279276493,4280193739,4281571020,4287677922,4285375162,4294766236,4293061862,4257842768,1190910515,0,0,0,0,0,467232549,4291842598,4291446054,4292567079,4293161511,4293228839,4293297701,4293498657,4293698591,4290685761,268016594,267625688,267626715,267758044,267758044,267626715,267560409,267886292,268407499,4279601348,4280123838,4282551489,4293456118,4293452710,4294897566,4292334264,3773085240,7162528,0,0,0,0,953574436,4291183143,4292961829,4293094439,4293095975,4293163047,4293296933,4293432098,4293633055,4290150464,4279539144,268016594,267820756,267755734,267755734,267821013,267951314,268146639,268407243,4279471046,4279795902,4280450235,4286688721,4294901237,4294894698,4294898092,4293515883,98553269,0,0,0,0,1272538664,4293026853,4293093158,4293028902,4293095719,4293162791,4293230886,4293431587,4293632288,4292043299,4291194168,4289826390,4288778851,4283004298,268211918,268277197,268407500,4279340745,4279601605,4279862209,4280122556,4280317366,4280775857,4293455076,4294898614,4294895998,4294961515,188734960,0,0,0,0,3521407524,4293092133,4292961574,4293028646,4293029927,4293096999,4293230118,4293365027,4293565728,4291450404,4291644454,4292632103,4292768317,4284904574,4279471303,4279536326,4279600835,4279663289,4279727798,4280121528,4280251574,4279922095,4279592873,4288065972,4294963887,4294961536,4294962029,252694000,0,0,0,1038184485,4293157925,4292960294,4292895526,4292962598,4293029415,4293096487,4293163814,4293363748,4293498913,4292506406,4293235049,4294036129,4289703588,4280648122,4279927232,4279860668,4279727541,4279659950,4279527594,4279395493,4279724716,4279461287,268197278,4283661456,4294962319,4294960747,4294964120,268434976,13630784,0,0,2464246308,4292959781,4292828198,4292895270,4292962342,4292963367,4293095975,4293163047,4293296933,4293431842,4293499168,4291848250,4284314513,4280316852,4280317624,4280317880,4280251830,4280053937,4279593129,268328864,268262042,268195734,268130713,4283138987,4281885315,4294961006,4294894429,4294965458,268426730,2313722907,0,0,3487590692,4292762149,4292761894,4292828966,4292961830,4292962854,4293029927,4293096999,4293229862,4293364260,4293499169,4286612066,4279658922,4279790509,4279856302,4279856302,4279724459,4279394722,4279329443,268195991,268063119,267930761,267864197,4284123567,4289575619,4294896776,4294762068,4294900182,4294761777,4106252333,0,0,3990709286,4292564518,4292696102,4292828454,4292895782,4292896806,4293029159,4293030695,4292107815,4291189803,4288772675,4285364070,268263328,268329122,268394915,268394915,268262814,267997840,267997583,267930762,267864196,267862911,267992953,4282936978,4294768855,4294897284,4294762827,4294965179,4294235973,4271267644,3844768,0,3218692645,4292366886,4292564262,4292762406,4292829478,4292896038,4292962854,4290853927,4290589479,4285679442,268061833,268062862,267670677,267736727,267802520,267802520,267736469,267864454,267798661,267928446,267992953,268057459,268187501,4282801511,4294963057,4294895408,4294829109,4294963588,4291672392,4288379195,0,0,3856029222,4292169510,4292432166,4292761894,4292762918,4292829734,4292237606,4290786855,4292170278,4288764737,267995268,267864712,267799690,267799948,267734669,267734669,267799948,267864197,267993981,268122738,268187501,268252008,268382050,4283193159,4294762800,4294563883,4294697021,4294961467,4290158130,4041254948,0,0,3889387303,4291971878,4292234790,4292629798,4292696358,4292763174,4292104998,4292038182,4292829478,4293028903,4288308292,4280174454,268059775,268060033,4282407786,4286544207,4286086226,4280570485,268189561,268317030,268381794,4279315293,4279576920,4287199560,4294232383,4294497604,268430892,268426740,4294161176,3153110303,0,0,2916440105,4291708710,4291971622,4292366886,4292630054,4292762406,4292433702,4292630822,4292895526,4293029415,4293096487,4292244524,4289096254,4291329072,4293431331,4293499169,4293632799,4292978988,4280567147,4279317353,4279381344,4279444307,4282336849,4293705028,4294229548,4294827796,268414297,268406028,4293827358,2011928096,0,0,919885093,4291511334,4291642406,4292103206,4292497958,4292695846,4292696870,4292762662,4292762918,4292895782,4292963366,4293095719,4293096230,4293095974,4292700453,4291447334,4287904052,4285026373,4279907684,4279513445,4279577180,4279574606,4286279982,4294294034,268397581,268401916,4294098966,4293965338,4276716577,568820510,0,0,163584,4022944293,4291378982,4291773990,4292168998,4292563750,4292696102,4292762406,4292763430,4292499750,4292235814,4292301862,4292104230,4291445286,4289868074,4284295490,4279773787,4279708509,4279708252,4279773530,4279772244,4279704648,4291667229,4293963030,4294230804,4293965593,4293699614,4293563168,3303174433,0,0,0,0,2613855013,4290983975,4291378983,4291840038,4292234790,4292564006,4292696358,4292762662,4292829478,4292764198,4287250229,4283573825,4282328134,4280230736,4279903316,4279903316,4279968851,4279968337,4280033616,4279769671,4284171321,4294030370,4293765918,4293699870,4293565216,4293365538,4292570917,3199684394,0,0,0,0,785205281,4274075173,4290983975,4291510566,4291905830,4292300582,4292564006,4292696102,4292762662,4292829222,4292764454,4288302388,4284430656,4280755275,4280033101,4279769671,4279835464,4280098894,4283643714,4288370226,4292641574,4294288933,4293365282,4293298979,4293164581,4293096997,4286200632,2781695269,0,0,0,0,0,2831498021,4290654502,4291049767,4291510566,4291905574,4292300326,4292563750,4292695846,4292762406,4292763430,4292829734,4292305191,4288171060,4285086524,4283970621,4285611833,4289025587,4292504872,4293228325,4294152482,4293822756,4293030950,4293030438,4292897830,4288368436,4288955182,1305694756,0,0,0,0,0,415842079,3988533029,4290654503,4291049767,4291510566,4291839782,4292168998,4292497958,4292630054,4292696358,4292762662,4292828966,4292829734,4292895782,4292896294,4292962342,4293028902,4293293093,4293623332,4293755172,4293029414,4292897574,4292830758,4292763941,4291646247,3050392868,0,0,0,0,0,0,0,1354510115,4273416485,4290588710,4290983975,4291378983,4291773734,4292102950,4292300838,4292564006,4292695846,4292696614,4292762662,4292763174,4292829221,4292895525,4293027877,4293160229,4293226277,4292962085,4292830246,4292829733,4292696356,4292367140,3352184611,230963731,0,0,0,0,0,0,0,0,1790322724,4273284901,4290522662,4290852135,4291247143,4291576358,4291905574,4292103206,4292366374,4292498214,4292630054,4292696102,4292696614,4292762662,4292828966,4292828966,4292762918,4292697382,4292631589,4292367397,4275128868,2630303525,146751263,0,0,0,0,0,0,0,0,0,24576,1972640798,4222755876,4290325286,4290786086,4291115559,4291378983,4291642406,4291839782,4292037414,4292234790,4292366630,4292497958,4292498470,4292564262,4292564262,4292498725,4292301093,4291708709,4290459431,2090213918,45056,0,0,0,0,0,0,0,0,0,0,32768,143360,112541200,3852607265,4290127653,4290457126,4290786342,4291049767,4291378983,4291576614,4291708454,4291839782,4291905574,4292037158,4292037414,4291971622,4291577638,4287968561,4286589742,3079807517,180224,53248,0,0,0,0,0,0,0,0,0,0,4096,53248,163840,334080,2942833172,4087422496,4290061861,4290325286,4290522918,4290852134,4291049767,4291181607,4291313190,4291378726,4291312934,4291312934,4274141220,3802869536,2272074260,196608,77824,8192,0,0,0,0,0,0,0,0,0,0,0,0,16384,65536,163840,336640,158674192,3464566553,3968932637,4002815518,4272825634,4238812449,3918143515,3766951706,3346209301,2774603026,6960281,200704,86016,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,40960,94208,159744,212992,245760,254976,225280,176128,110592,49152,12288,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,224576747,1367200498,2356924402,3178810866,3799370994,4202024178,4285975795,4285975795,4168403954,3681930482,3094859250,2239417843,1199427828,106277588,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1182519280,2876952051,4185049841,4285056751,4284728558,4284531438,4284465646,4284400109,4284334573,4284334573,4284400109,4284465646,4284531437,4284728559,4285122544,4067478000,2658520306,880135664,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1165872880,3447180529,4285056238,4283940586,4283153128,4282890728,4282890728,4283087337,4283284202,4283349995,4283481323,4283481580,4283415531,4283349738,4283152873,4282956264,4282824422,4283283687,4284465129,4268279021,3077621999,829934319,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,326683108,2843200495,4268015850,4283610339,4282691039,4281512161,4280988130,4281316067,4281775333,4282497255,4282956521,4283153899,4283350763,4283416299,4283284970,4283153386,4282694120,4282037990,4281316067,4281183969,4282100957,4287877091,4289781745,4252551662,2389821422,158444258,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1257082149,753763618,0,0,981453553,3865821931,4283609569,4282492377,4281638869,4280722649,4280133594,4279872477,4280266207,4280922851,4281579238,4282366441,4282694634,4282891755,4282957291,4282957035,4282825705,4282366440,4281972710,4281644772,4280922850,4280591576,4280653520,4285379285,4293915879,4290503410,3531065326,1336644733,34502911,0,0,0,0,0,0,0,0,0,0,0,0,0,0,131755300,3672933411,1726710309,0,1434175981,4150311140,4282754263,4281702607,4280914891,4280390346,4280128460,4279409617,268018904,4280397519,4283151803,4281906649,4281776104,4282366442,4282629099,4282694635,4282497771,4282038505,4281513702,4280988900,4280595426,4280463840,4281052893,4281377750,4280651977,4283406531,4293848777,4293916139,4254648802,4022630990,1173135894,0,0,0,0,0,0,0,0,0,0,0,0,0,1910930470,4293425444,3605164580,1703262417,4250447837,4282227151,4281109958,4280388035,4279994562,4279603144,268277967,4282164138,4289442130,4294032931,4290756184,4281053656,4280923109,4281447911,4281710312,4281710568,4281448167,4280988645,4280332771,4279676897,268414431,4279609306,4280395224,4281180885,4281638867,4280716742,4283208377,4294175917,4294900452,4289975784,4139415631,1626319914,79675199,0,0,0,0,0,0,0,0,0,0,0,3571478308,4292766245,4292369957,4289033063,4281897158,4280911038,4280123322,4279664057,4279467707,4279472071,4287011181,4293765662,4293899548,4291409985,4279868617,4279282911,4279873506,4280332771,4280529636,4280595172,4280332771,4279939298,4279348704,267889373,267560666,268408526,4279997902,4280458450,4281309133,4285905630,4281765828,4285111726,4294962835,4294966247,4290433756,4240799295,2750459954,0,0,0,0,0,0,0,0,0,0,181167641,4275659812,4292106534,4291578407,4291314727,4289882696,4291065918,4292705836,4292971048,4292451629,4290944574,4293632032,4293765918,4293769501,4282030250,267560409,267626972,268020702,268348639,4279414240,4279414240,268414431,268086238,267626972,267495130,267886036,4279340746,4279732933,4280190915,4280715715,4282947529,4293062390,4287543510,4290167703,4294896776,4294966246,4290429881,4292245306,1643962911,0,0,0,0,0,0,0,0,0,987458851,4291645222,4291117095,4291775782,4293028134,4293160999,4293162023,4293163303,4293230374,4293364516,4293498402,4293632032,4293766174,4289636429,268146896,267755733,267625432,267495130,267495387,267561180,267561180,267561179,267495130,267625688,267755734,267951314,268276941,4279471303,4279535555,4279992252,4280516026,4283732931,4294638845,4293126886,4294895470,4294897047,4294768332,4289826947,3958887728,250398738,0,0,0,0,0,0,0,0,1071541540,4290524199,4292170790,4293159717,4293094439,4293095463,4293162023,4293163047,4293230374,4293364004,4293497890,4293632032,4293766174,4288447060,268211919,268016337,267886035,267821013,267755990,267690711,267690711,267755990,267821013,267886035,268016337,268212175,268341964,4279340745,4279536070,4279730366,4280122041,4280843449,4288265432,4294967295,4294898882,4294893648,4294898355,4293715884,4292855634,123719170,0,0,0,0,0,0,0,0,1071542564,4292039461,4293224997,4293159206,4293094439,4293095463,4293096231,4293163047,4293229862,4293363748,4293432098,4293565984,4293700126,4291778340,4286937451,4281766575,4281244087,4280720574,4279539655,268016594,268016594,268016337,268081360,268211919,268342477,4279275723,4279406024,4279601349,4279796930,4279992254,4280253115,4280646073,4281498292,4293850102,4294966508,4294896266,4294895739,4294963101,4294830185,229629440,0,0,0,0,0,0,0,0,2347266850,4293356324,4293158693,4293093414,4293028646,4293095207,4293096231,4293162791,4293229606,4293297701,4293431587,4293565473,4293699615,4291447333,4292435237,4293096743,4293495598,4293629749,4291063350,4282738818,268342221,268342220,268407499,4279275722,4279406024,4279536326,4279666372,4279862209,4280057534,4280253115,4280317367,4280119474,4280316080,4287935687,4294965720,4294964414,4294894695,4294962837,4294960993,268434992,41913712,0,0,0,0,0,0,736196131,4243091747,4293223973,4293092646,4292961830,4293028646,4293029415,4293095975,4293096999,4293163815,4293296933,4293430819,4293499169,4293633311,4290920998,4291446822,4292369190,4292764199,4292632360,4292113737,4281886856,4279405768,4279471303,4279536326,4279601605,4279665601,4279727798,4279728311,4279924663,4280252858,4280317110,4280053938,4279790509,4279592872,4282218920,4294964674,4294963886,4294961796,4294963098,4294960719,268434992,103796208,0,0,0,0,0,0,2699589411,4293290532,4293092133,4292960806,4292961830,4292962598,4293029159,4293030183,4293096743,4293163303,4293230630,4293364516,4293498402,4293632288,4291054631,4291582788,4293171571,4293041013,4293374861,4289835683,4280058300,4279731650,4279796930,4279796416,4279860668,4279726771,4279660464,4279594157,4279659179,4279856302,4279988144,4279724716,4279461287,268329378,4279392920,4292860837,4294962839,4294961794,4294962578,4294962274,268434992,145751568,0,0,0,0,0,181167641,4142429219,4293157925,4292960294,4292894758,4292961574,4292962342,4292963367,4293029927,4293096487,4293163047,4293230118,4293297956,4293431842,4293565729,4293100323,4293098573,4293567351,4293181853,4286354596,4280318392,4280057533,4280057533,4280122813,4279858614,4279792050,4279659436,4279593130,4279395751,4279263907,268394400,4279527079,4279395494,268329121,268065178,267995524,4289442442,4294961792,4294961005,4294896518,4294899112,268430881,170917392,182825497,0,0,0,0,1390836005,4293356836,4293025829,4292893990,4292828966,4292895270,4292962086,4292962854,4293029415,4293095975,4293097255,4293163814,4293296933,4293365027,4293498913,4293566496,4292831271,4289098083,4281560740,4280316595,4280317623,4280317624,4280317624,4280317623,4280317110,4280185523,4279856558,4279329701,268328864,268262556,268195991,268129684,268196248,267999642,4283533229,4281032078,4286878327,4294960744,4294894686,4294895739,4294966239,268426735,186621349,2380628514,0,0,0,0,2514843171,4293093156,4292893989,4292827686,4292828710,4292829478,4292962086,4292962598,4292963623,4293030183,4293096743,4293163303,4293230374,4293363748,4293432098,4293565729,4291531314,4279920036,4279856301,4279922095,4279987888,4279988145,4279988145,4279987888,4279922095,4279724716,4279592872,4279527336,268261786,268129684,268063376,267996812,267930247,267734412,4283138477,4291614690,4285497452,4294896515,4294828120,4294829951,4294966236,4294762558,3923488540,3856626722,0,0,0,0,3269751844,4292894757,4292761894,4292761638,4292762918,4292828966,4292961574,4292896550,4292963111,4293029671,4293096231,4293162791,4293229350,4293296933,4293365027,4293498658,4291926319,4279329700,4279395750,4279461543,4279527336,4279592873,4279592873,4279527337,268394400,268130455,268129941,268262814,268063377,267996812,267930504,267864196,267863168,267798661,4282479516,4294967036,4290887574,4294898336,4294762584,4294764164,4294965707,4294763096,4289828917,4258161442,0,0,0,0,3386994214,4292762661,4292630054,4292695846,4292762406,4292828710,4292895526,4292896038,4292962598,4292963623,4293030183,4292964903,4291844391,4291382311,4288503360,4286935376,4288643399,268065949,268197279,268263328,268263329,268329121,268329122,268263585,268130714,267997583,267931533,267931019,267864968,267864196,267863425,267928189,267992952,268058231,4281949308,4294965974,4294766760,4294897793,4294829369,4294764677,4294964910,4294762843,4286874957,4291192353,4979696,0,0,0,2782816038,4292565029,4292498470,4292629798,4292762150,4292762662,4292895270,4292829990,4292896550,4292963111,4292568359,4290260519,4290391847,4290854697,4279650174,268192647,4279324296,267670934,267736727,267802520,267868313,267868570,267868570,267868313,267801491,267864454,267864453,267798661,267863168,267928188,267992953,268057717,268122481,268187244,4281355626,4294963588,4294963054,4294961465,268426759,4294897020,4294963592,4294762318,4284115807,4291657248,0,0,0,0,3168493861,4292433189,4292366886,4292497958,4292761638,4292762150,4292828966,4292829478,4292896038,4292962598,4290590247,4290655271,4291577638,4291712554,267864711,267799690,267799948,267734926,267669648,267669905,267669906,267670162,267670162,267669906,267669905,267798403,267798919,267927931,267992695,268057716,268122481,268187501,268252265,268317029,4281813847,4294894877,4294895940,268422613,4294563092,4294897521,4294962265,4294629170,4281683045,4142509087,0,0,0,0,3201915685,4292235814,4292235046,4292300838,4292629798,4292696358,4292762662,4292828966,4292829990,4292566822,4290655271,4291708966,4292565286,4292895782,4284240991,267994755,267929733,267929990,267864712,267864969,267865226,267799690,267799690,267865226,267864969,267864454,267929991,268122996,268187759,268187244,268252265,268317030,268381794,4279249758,4282534987,268410185,4294764659,4294363668,4294497323,4294961466,4294960674,4291999006,4289694004,3472011038,0,0,0,0,3185205029,4292103974,4292037670,4292169254,4292432422,4292695846,4292696358,4292762918,4292829222,4292302630,4291511334,4292499238,4292829734,4292962598,4292898855,4285553493,268256124,268125311,268060032,268060033,267994754,4280045179,4283721570,4284904025,4282474858,268191359,268059775,268188530,268317287,268382308,268381793,4279249758,4279314522,4280628829,4283912770,4294032153,4294632054,4294165296,268426765,268430886,268430850,4294229779,4294026784,2649662750,0,0,0,0,2329435688,4291972646,4291840294,4292037414,4292300582,4292630054,4292695846,4292762150,4292763174,4292433958,4292169766,4292763174,4292896038,4293028647,4293095975,4293096999,4290801460,4283847517,4281683049,4283586399,4288509249,4293170468,4293565984,4293699103,4293898783,4291076667,4280699758,268319860,4279251044,4279315036,4279315551,4279379286,4279444564,4285428076,4290089538,4293764893,4294697302,4294695707,268422580,268418454,268414312,4294094105,4293892896,1575721246,0,0,0,0,517233962,4241509669,4291708710,4291840038,4292103206,4292432678,4292629798,4292696102,4292762406,4292631590,4292564774,4292762918,4292895270,4292963111,4293029671,4293096231,4293096999,4293163047,4293229606,4293230886,4293297956,4293365027,4293432098,4293499169,4293565728,4293699107,4288315201,4279318382,4279318124,4279382116,4279446108,4279509585,4279509328,4288582982,4294163249,4293630494,4294894355,268418455,268406013,268401886,4294297873,4293761054,4226518816,333743642,0,0,0,0,0,3486403364,4291577126,4291642151,4291905574,4292234790,4292497958,4292630054,4292696358,4292762662,4292696614,4292828710,4292697126,4292829478,4292962342,4293029159,4293029927,4293096231,4293096743,4293096486,4293030182,4292634149,4291578150,4290194215,4286589752,4284368711,4281482585,4279448166,4279513445,4279578467,4279575893,4279574350,4279574092,268299325,268389279,4293828631,268418454,268401886,4294098966,4294032920,4293965338,4293559329,2951316513,0,0,0,0,0,0,2412792357,4291313702,4291445030,4291642406,4291971622,4292234790,4292498214,4292630054,4292696358,4292762406,4292828454,4292763686,4292433702,4292565030,4292697382,4292763430,4292763430,4292631590,4292301862,4291708710,4290786599,4289014060,4282656841,4279773787,4279708510,4279643231,4279643231,4279708509,4279773787,4279706707,4279639370,4283056700,268406028,4294028820,4294029077,4294363664,4294098199,4293832477,4293766429,4293630239,4293425442,1139046690,0,0,0,0,0,0,1054167589,4291247654,4291181863,4291444775,4291773990,4292037414,4292300582,4292564006,4292695846,4292696614,4292762662,4292828966,4292829734,4292368678,4291841318,4291182887,4291116327,4290852647,4290392103,4288424495,4284884541,4280559185,4279773273,4279773530,4279773274,4279838808,4279838551,4279903574,4279903315,4279770442,4279704134,4289299241,4294098713,4293763611,4293966105,4293899803,4293765662,4293565984,4293565472,4293360930,4275397925,433475870,0,0,0,0,0,0,0,3704242981,4290918183,4291181607,4291510567,4291839782,4292102950,4292366374,4292564006,4292695846,4292696614,4292762662,4292828966,4292829734,4292896038,4288630578,4281345354,4281279562,4280164687,4280033616,4279968338,4279968851,4279968851,4279968595,4279968594,4279968337,4280033616,4280033359,4279901257,4279769670,4282922813,4293632799,4294228261,4293699358,4293699102,4293632543,4293498145,4293365026,4293298467,4292436518,4289415215,836392996,0,0,0,0,0,0,0,1842366501,4290852390,4290917927,4291247143,4291576359,4291840038,4292103206,4292366374,4292564006,4292695846,4292696358,4292762662,4292763430,4292829478,4292895782,4290205486,4283774018,4281345866,4280098894,4280098894,4280098894,4279901514,4279835464,4279835464,4280033101,4280098894,4280295757,4286860342,4282133569,4291853863,4293959460,4294158117,4293432097,4293431842,4293365282,4293165348,4293098533,4293095461,4285216828,4257301542,265049378,0,0,0,0,0,0,0,146751263,3854973989,4290654759,4290918183,4291247399,4291576615,4291840038,4292103206,4292366374,4292563750,4292630054,4292696358,4292762406,4292763174,4292829222,4292829990,4292896038,4291846441,4285349437,4280164429,4280033101,4279901514,4279769670,4279769670,4280033101,4282264903,4288960819,4293030695,4293030694,4293691684,4294352419,4293626916,4293164837,4293164325,4293098021,4292964390,4292964391,4286792760,4285803572,3369160740,0,0,0,0,0,0,0,0,0,1540112420,4290654758,4290654503,4290983719,4291247399,4291576359,4291839782,4292102950,4292300582,4292498214,4292629798,4292696102,4292762150,4292762918,4292828966,4292829478,4292829990,4292896038,4290927404,4287974452,4286399030,4286333494,4287712307,4290928941,4292438824,4293029671,4293029414,4293690148,4294218018,4294218274,4293096230,4292964647,4292964391,4292963623,4292897319,4290074927,4283838529,4291907365,1523863332,0,0,0,0,0,0,0,0,0,0,3116512549,4290391078,4290654759,4290918183,4291247399,4291510823,4291773990,4292037414,4292234790,4292432422,4292629542,4292695846,4292696358,4292762406,4292762918,4292828966,4292829478,4292829990,4292896038,4292896294,4292896550,4292962342,4292962598,4293028646,4293226789,4293623076,4293755172,4293821475,4293425445,4292897575,4292963111,4292897318,4292830246,4292764453,4290334764,4292301349,3151121188,0,0,0,0,0,0,0,0,0,0,0,432091934,3921358117,4290325542,4290654503,4290918183,4291181607,4291445031,4291708198,4291971366,4292168998,4292366374,4292498214,4292629798,4292695846,4292696614,4292762406,4292762918,4292763430,4292829222,4292829734,4292895525,4292961573,4293027877,4293160485,4293292325,4293358628,4293424676,4293292836,4292830758,4292896294,4292896294,4292829221,4292762660,4292564772,4292235301,3570288676,298007582,0,0,0,0,0,0,0,0,0,0,0,0,1018310178,4139132965,4290325286,4290588711,4290852135,4291115559,4291378983,4291642150,4291839782,4292037414,4292234790,4292366630,4292498214,4292629798,4292696102,4292696358,4292762406,4292762662,4292763174,4292828966,4292829222,4292895270,4293027621,4293093669,4293094181,4293027877,4292763941,4292829734,4292829734,4292763173,4292630564,4292367140,4292103717,3419030308,381237538,0,0,0,0,0,0,0,0,0,0,0,0,12288,36864,1620845087,4222887205,4290259494,4290522662,4290786087,4290983975,4291247399,4291510567,4291708198,4291905574,4292102950,4292234790,4292366630,4292498214,4292564006,4292630054,4292696102,4292696358,4292696614,4292762662,4292828710,4292828966,4292829222,4292763174,4292697382,4292763174,4292697638,4292631077,4292367141,4292169509,4274931236,2696427299,1330380,16384,0,0,0,0,0,0,0,0,0,0,0,4096,20480,57344,114688,1786386458,4121895460,4290127910,4290391078,4290654503,4290983719,4291115559,4291378983,4291510822,4291708198,4291905574,4292037414,4292168998,4292300582,4292432166,4292498214,4292564006,4292564262,4292630054,4292630310,4292630566,4292630566,4292630566,4292630566,4292564773,4292301349,4292037925,4291708453,3971626532,1752505622,131072,69632,28672,8192,0,0,0,0,0,0,0,0,0,0,4096,24576,61440,118784,196608,6834638,3869581090,4290061605,4290259494,4290457126,4290786343,4291049511,4291247143,4291444775,4291576614,4291708198,4291839782,4291971366,4292037414,4292168998,4292234790,4292300582,4292366374,4292432166,4292432422,4292432166,4292366630,4292169253,4292037669,4291248422,4288032815,4289209382,2423658263,221184,135168,73728,28672,8192,0,0,0,0,0,0,0,0,0,0,0,16384,45056,94208,163840,253952,6296098,3246266138,4272890147,4290127397,4290259494,4290522918,4290786087,4290917927,4291115815,4291313447,4291510823,4291642406,4291708454,4291773990,4291839782,4291905574,4291905830,4291971622,4292037158,4291905830,4291905574,4290987048,4285606969,4284163638,4271450658,2911117338,282624,184320,106496,53248,20480,4096,0,0,0,0,0,0,0,0,0,0,0,4096,20480,53248,102400,172032,258048,364544,9189018,3683391771,4272890147,4290127397,4290259238,4290391334,4290588710,4290720551,4290918183,4291115815,4291247655,4291379239,4291445286,4291511078,4291510822,4291510566,4291510310,4291510310,4291444774,4290788648,4290984742,3802935072,2220233489,282624,188416,118784,65536,28672,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,4096,16384,40960,81920,135168,204800,286720,380928,9057689,3414169113,4188479009,4289930020,4289864996,4290259237,4290391078,4290522662,4290588710,4290720294,4290786086,4290851878,4290917671,4290917926,4290786598,4273549092,3970640673,3247055130,8605183,311296,225280,151552,94208,49152,20480,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4096,20480,45056,77824,122880,172032,233472,294912,384258,152420113,3179157016,3346732312,3414497050,3852148254,4255785505,4154597406,3397064471,3127973653,3027310101,2724270610,8865213,6692949,311296,245760,188416,135168,86016,53248,24576,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4096,12288,24576,45056,69632,98304,126976,159744,188416,212992,233472,249856,258048,258048,262912,237568,221184,192512,163840,135168,106496,73728,49152,28672,12288,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4096,8192,16384,28672,36864,45056,53248,57344,61440,61440,57344,53248,45056,36864,28672,20480,12288,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
Display *d = XOpenDisplay(0);
int s = DefaultScreen(d);
Atom net_wm_icon = XInternAtom(d, "_NET_WM_ICON", False);
Atom cardinal = XInternAtom(d, "CARDINAL", False);
Window w;
XEvent e;
w = XCreateWindow(d, RootWindow(d, s), 0, 0, 200, 200, 0, CopyFromParent, InputOutput, CopyFromParent, 0, 0);
int length = 3590;
XChangeProperty(d, w, net_wm_icon, cardinal, 32,
PropModeReplace, (const unsigned char*) buffer, length);
XMapWindow(d, w);
while(1) XNextEvent(d, &e);
}
@Noitidart
Copy link
Author

README

Rev1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment