aboutsummaryrefslogtreecommitdiffstats
path: root/Tabbed.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* defaultLayouts -> layoutsSpencer Janssen2007-10-151-9/+9
| | | | darcs-hash:20071015205542-a5988-4636825868c99db4f3cfdcd6b1e361d78e393762.gz
* Tabbed: haddock fixesAndrea Rossato2007-10-131-5/+9
| | | | darcs-hash:20071013090342-32816-3c2575691c880a1248b839d3f1fcbd54acfabda5.gz
* doco fix: s/SomeLayout/Layout/gDevin Mullins2007-10-121-4/+4
| | | | darcs-hash:20071012025953-78224-916a50210664192b90802aabb67da486374d0519.gz
* make createNewWindow set background and foreground to a given color.David Roundy2007-10-081-1/+1
| | | | | | | | This means we don't need to draw colors that are this color. Also speeds up redrawing, since the X server can do all the drawing on its own, without talking with xmonad. darcs-hash:20071008125206-72aca-0f17cde109eeb8f66ea651657fcc09599680881d.gz
* Add LANGUAGE pragamsShachaf Ben-Kiki2007-10-081-1/+2
| | | | | | | | It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE pragma, so not all of them were added; this patch adds the rest of them, which is necessary for xmonad to compile in GHC > darcs-hash:20071008022141-bffde-c7ab0ae3d58eab8707b5f428a7236540bae5b4e1.gz
* Tabbed and XPrompt updated to lates Extras changesAndrea Rossato2007-10-071-15/+11
| | | | darcs-hash:20071007163825-32816-8ebe1d13dff1ac21304138a19b6ae883a54f71c7.gz
* Tabbed: updated to the last (unannounced) API changesAndrea Rossato2007-10-071-1/+5
| | | | darcs-hash:20071007072018-32816-e982babac787e3d32c24cb407475fb8c56e89f9e.gz
* Tabbed: check if we really have a window to focusAndrea Rossato2007-10-051-2/+4
| | | | darcs-hash:20071005111733-32816-6e026a39a1f807302223547b3ce2855ef844d520.gz
* some renaming of classes and data types.David Roundy2007-09-291-1/+1
| | | | darcs-hash:20070929191238-72aca-ceb0f2a89b35460e87cf9ff935f786b5a6028fb5.gz
* Make Tabbed use XUtils.releaseFontAndrea Rossato2007-10-021-3/+2
| | | | darcs-hash:20071002062709-32816-5d0465f61bcd76ad587e0a2d0e06b9097fac4e38.gz
* Tabbed: updated usage informationAndrea Rossato2007-10-011-4/+4
| | | | darcs-hash:20071001082219-32816-884bc455e28a1a7b69cd6f8c9ad6fb955bb6afe6.gz
* Removed fromIMaybe from Tabbed ad added it to InvisibleAndrea Rossato2007-09-301-6/+2
| | | | darcs-hash:20070930181912-32816-142656b555beb7701117f43c1e20837e2daeb589.gz
* Tabbed: reintroduced shrinker configuration option and removed the unneeded ↵Andrea Rossato2007-09-301-33/+36
| | | | | | Read instance darcs-hash:20070930131936-32816-354ee38e34c345b573947fba614d554ff8140a09.gz
* Tabbed: moved string positioning to XUtilsAndrea Rossato2007-09-301-5/+1
| | | | darcs-hash:20070930095441-32816-5ef330e813e605abf70b8a365224b48befb9eee2.gz
* make Tabbed use XUtilsAndrea Rossato2007-09-291-47/+14
| | | | darcs-hash:20070929172823-32816-83817935b03b166259155d5671a46051ae93ebea.gz
* Tabbed: fixed a bug: when only one window is in the stack doLayout must ↵Andrea Rossato2007-09-291-3/+3
| | | | | | still return a Tabbed (I Nothing) TConf darcs-hash:20070928223136-32816-33bbcf0b5cf72e47b278c4656f54ac6f8f528fea.gz
* Tabbed now uses InvisibleAndrea Rossato2007-09-281-20/+14
| | | | darcs-hash:20070928185808-32816-60007a3a392da2cc317195f62f1c2a389e0c19f7.gz
* Tabbed: removed two little bugs due to the mess during the transition (my ↵Andrea Rossato2007-09-281-2/+2
| | | | | | fault, sorry ;) darcs-hash:20070928085513-32816-3b1aec5f65f3077eee240e4ecf9eec1c379d46ec.gz
* Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen2007-09-281-1/+2
| | | | darcs-hash:20070928181614-a5988-85415ed570690a468bf92cdf0f66d69494cecf4e.gz
* Tabbed: give a nice descriptionSpencer Janssen2007-09-281-0/+1
| | | | darcs-hash:20070928052608-a5988-8fad757e5e7927d9c184f2d6393ce9aa7100318e.gz
* NewTabbed: after a ReleaseResources we should return Tabbed Nothing...Andrea Rossato2007-09-281-4/+4
| | | | darcs-hash:20070928011645-32816-65bee6e787843aca95306b592c7f611b1bb1926a.gz
* Move NewTabbed to TabbedSpencer Janssen2007-09-281-0/+250
| | | | darcs-hash:20070927231840-a5988-248eab9abaef26741a2a2482e4c5b5b2f8a8859d.gz
* Remove Tabbed.hsSpencer Janssen2007-09-281-146/+0
| | | | darcs-hash:20070927231002-a5988-c1cbb1c0724912f2327879eaba41917366d66dc4.gz
* Typo in Tabbed.hs documentationMichael Fellinger2007-09-111-1/+1
| | | | darcs-hash:20070911021815-cbc08-f0ed1f0a45095387739a549c2f7b6b451bf54a43.gz
* Docstring parser for generating xmonad build configs with default settings ↵Alex Tarkovsky2007-09-051-0/+3
| | | | | | for extensions darcs-hash:20070905200128-bd4fb-ff90db3eb7ebce6ea75956f19ebc6c35d36c08d4.gz
* use a little more contrast in default tabs.David Roundy2007-07-241-3/+3
| | | | darcs-hash:20070724143723-72aca-219bbf72dae0292eaef8fdc7830f11563fba8aee.gz
* Tabbed.hs: corrected error in Usage reported by Xavier MaillardAndrea Rossato2007-07-171-1/+1
| | | | darcs-hash:20070717050034-32816-069be547ec3bd7c4bc42daa4b613fa7ec9c22254.gz
* Tabbed: updated usage informationAndrea Rossato2007-07-071-2/+2
| | | | darcs-hash:20070707065123-32816-d157a19ba12b12f0833c2db3ac09236c5b4d3f75.gz
* Tabbed: added more configuration optionsAndrea Rossato2007-07-061-19/+26
| | | | | | | | It is now possible to configure active and inactive border colors, and active and inactive text colors (i.e. tabs are now very similar to Ion3 tabs: former Ion users may appreciate). darcs-hash:20070706130845-32816-5fb790432b5e013ff546304448ae025c0ebf88b8.gz
* resolve conflicts in Decoration and Tabbed.David Roundy2007-06-291-20/+49
| | | | | | Note that you no longer need simpleStacking when using tabbed. darcs-hash:20070629204518-72aca-9d2b708c6eb60b3d6c1370fc41349b2a3c86819d.gz
* make everything work with new doLayout.David Roundy2007-06-231-33/+16
| | | | | | | | | This modifies all the contrib modules to work (so far as I know) with the new contrib layout. The exception is the LayoutHooks module, which isn't used. It exports an API that is inherently unsafe, so far as I can tell (and always has been). darcs-hash:20070623210952-72aca-1993ca13dc6996b59fedacc271c03fbaf87eabaa.gz
* Tabbed: Make use of the Stack to get focused windowJason Creighton2007-06-271-4/+3
| | | | darcs-hash:20070627033910-b9aa7-0c9dd49af1c853ac608f8b7b368febe687d7343d.gz
* Tabbed.hs: updated usage informationAndrea Rossato2007-06-251-0/+10
| | | | darcs-hash:20070625140735-32816-0bb95586b8579186cdde4d444f2344223182aded.gz
* added configration options and moved font stuff to Decorations.hsAndrea Rossato2007-06-251-30/+45
| | | | | | | | Added a new data type to keep configuration options. tabbed now takes the shrinker and the configuration type. Fixed a bug related to vertical alignment of text. darcs-hash:20070625140112-32816-bb7d5ca75803b255d450aed01b3bc91d6c834611.gz
* add SimpleStacking module to make Combo and Tabbed work together.David Roundy2007-06-211-4/+4
| | | | | | | | | | | WARNING! This change will break existing Tabbed configurations. The problem is that there is no way within a Layout's "doLayout" to safely modify the layout itself. This makes LayoutHooks fragile, and more to the point, makes SimpleStacking fragile, so we can't safely define a tabbed' darcs-hash:20070621151524-72aca-2466fff5a37ce1388879367c419cf52161f8f838.gz
* Fix type signatures.joachim.fasting2007-06-201-1/+1
| | | | | | Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
* shrink window names to fit tabs.David Roundy2007-06-171-9/+25
| | | | darcs-hash:20070617152340-72aca-31e28c0deb224de9951b3778ccd4e9d7232b9917.gz
* Tabbed.hs: fixed centerText issues and some binding shadowing warningsAndrea Rossato2007-06-171-17/+15
| | | | | | | | | | | | | This patch fixes the centerText issue due to the inappropriate use of textExtends and textWidth. Those functions need a FontStruct id to operate, and this cannot be retrieved with queryFont (see comments in Graphics.X11.Xlib.Font). So we now get the FontStruct with loadQueryFont, we set the default Xorg fonts and we calculate things for (vertical and horizontal) centering. It also removes some binding shadows compiler warnings darcs-hash:20070617104219-32816-1dec65118dfaca35b41f9eb2ebcaa5b02e77e0c0.gz
* Tabbed.hs: Get correct color values instead of assuming a 24-bit displayJason Creighton2007-06-141-6/+10
| | | | | | | | | | Using, eg, 0xBBBBBB directly makes assumptions about the server's colormap and only works on 24-bit displays. This patch fetches the colors on every doLayout call, which is ugly, but works. It would be nice if we could do all the required initColors only once. darcs-hash:20070613235049-b9aa7-8505038bc46ba47d39ffe106df67eb060cd3d3ae.gz
* Update license informationSpencer Janssen2007-06-131-1/+1
| | | | darcs-hash:20070613152829-a5988-c3243be0138fb07dede241c148bcfb1a0cd5a54c.gz
* template for module information e documentationAndrea Rossato2007-06-131-10/+28
| | | | darcs-hash:20070613131029-32816-c60792d6cdcabc37ca1bc5ffa9d61c6babf84cc0.gz
* changes to work with Stacks that can't be empty.David Roundy2007-06-121-3/+2
| | | | darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
* the Stack can be EmptyAndrea Rossato2007-06-121-0/+1
| | | | darcs-hash:20070612055144-32816-ce6e65fc1ce44c16163c4414e5594f6475e07ae8.gz
* Updates to work with recent API changesSpencer Janssen2007-06-111-5/+6
| | | | darcs-hash:20070611183439-a5988-c3d6cc194fa83f012ab49d6d79130ff459dcdfe1.gz
* redraw decorations on PropertyNotifyJason Creighton2007-06-111-1/+1
| | | | | | | | newDecoration now takes a Window parameter, which is the window the decoration is "for". If there is a PropertyNotify for that window, the decoration is redrawn. darcs-hash:20070611021408-b9aa7-b01860371ef9e47a06ab4541aee09422c8f19865.gz
* use safe peek instead of unsafe focusJason Creighton2007-06-111-3/+2
| | | | | | | Fixes crashing bug with Xinerama where you have a tabbed layout on one screen and attempt to switch to an empty workspace on the other. darcs-hash:20070611015437-b9aa7-19e093acecdf9c248a965625b226b82b1422ffd0.gz
* make Tabbed respect the y position of the layout rect (statusbar bugfix)Jason Creighton2007-06-111-6/+6
| | | | darcs-hash:20070610231510-b9aa7-c3b9ee2c2ead8d21e2fe36343575706424617171.gz
* tune layout of Tabbed just a bit.David Roundy2007-06-101-2/+2
| | | | darcs-hash:20070610203513-72aca-aed9945d5a3935ce447a298f4b6c2abba53817c0.gz
* color focussed tab differently.David Roundy2007-06-101-2/+9
| | | | darcs-hash:20070610195743-72aca-fcc3b7023c3379b10d68050a4a68d753f7a0aab5.gz
* display names of windows on tabs.David Roundy2007-06-101-2/+18
| | | | darcs-hash:20070610163729-72aca-1f53da6ef8f2d4254544bfa679121aac564b3ea9.gz