Commit Graph

8 Commits

Author SHA1 Message Date
gwern0
6f04a51959 XSelection.hs: fmt imports and sigs 2007-10-19 18:12:32 +00:00
gwern0
75589eaf16 XSelection.hs: +2 functions, safePromptSelection and unsafePromptSelection
Analogous to Run.hs patch; these use safeSpawn and unsafeSpawn respectively.
2007-10-19 18:11:37 +00:00
gwern0
890f586bb7 XSelection.hs: documentation format changes. 2007-10-19 01:00:57 +00:00
gwern0
984f9092c1 XSelection.hs: +type signature for auxiliary function 2007-10-19 01:00:34 +00:00
gwern0
f0eb0f0311 XSelection.hs: simplify creation of window
While spelunking in the xclip source code, I noticed it had much the same call to createSimpleWindow but with a simpler geometry - just 1x1 pixels, not the odd 200x100 of the original code. It seems to work the same and looks better and less mysterious, so unless arossato had a specific reason for those particular two numbers...
2007-10-19 01:00:13 +00:00
Andrea Rossato
a85718506b Haddock fixes 2007-10-12 10:04:16 +00:00
gwern0
762681f9bd XSelection.hs: Implement Andrea's idea for handling non-UTF-8 string cases 2007-10-10 02:06:16 +00:00
gwern0
749f309474 XSelection.hs: a new module for XMonadContrib dealing with copy-and-paste
This is based on Andrea Rossato's standalone tools and is meant for integration straight into a Config.hs. It offers two main functions, 'getSelection' and 'putSelection', whose names should be self-explanatory.
2007-10-08 22:27:06 +00:00