aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* added support for nested ^ca() commands, thanks to Devin J. Pohlygotmor2010-06-131-2/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@268 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* Fixed Xinerama for screens with different resolutionsgotmor2009-09-031-6/+27
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@266 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* removed some unnecessary intilizationsgotmor2009-04-231-3/+3
| | | | | | | corrected space/tab mixup git-svn-id: http://dzen.googlecode.com/svn/trunk@265 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed command line parsing bug for menu mode optionsgotmor2009-04-231-3/+11
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@264 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* corrected typo in draw.cgotmor2009-03-301-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@261 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* set WM_CLASS hint to "dzen2" "dzen"gotmor2009-03-281-2/+35
| | | | | | | set _NET_WM_STATE_STICKY and _NET_WM_STATE_ABOVE git-svn-id: http://dzen.googlecode.com/svn/trunk@260 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* applied patch from Philip Lewis:gotmor2009-02-271-25/+29
| | | | | | | | | | | | | | * refactored out big block of duplicated code in draw.c:parse_line() * y tracking for clickable areas * fixed bug where having position locked at end of line could screw up autoresize * "block align" formatting command: ^ba(width,align) * added optional arguments to menuprint actions git-svn-id: http://dzen.googlecode.com/svn/trunk@255 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed small bug in ^ca()gotmor2009-02-141-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@254 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* updated yeargotmor2009-02-131-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@253 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* made ^ca() to always bind to the title windowgotmor2009-02-131-2/+5
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@252 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* first bloody support for ^ca(button,cmd) ... ^ca()gotmor2009-02-131-0/+11
| | | | | | | | | | as of now it has the following limitations: * only works in the title window * does not work with "-expand" * probably some other issues git-svn-id: http://dzen.googlecode.com/svn/trunk@251 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* minor changes. comments and codegotmor2009-02-131-20/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@249 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* reverted strlen_utf8() change. now we use default strlen() againgotmor2009-02-121-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@248 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* replaced libc strlen() with optimized strlen_utf8() versiongotmor2009-02-121-2/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@246 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added printing of optional enabled features on "-v" switchgotmor2009-02-121-2/+15
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@243 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed segfault on exitgotmor2009-02-121-0/+2
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@242 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* correct handling of '-geometry' and '-y' options for dzen atgotmor2009-02-021-124/+122
| | | | | | | | | | the bottom of the screen cosmetic code clean ups Courtesy of Valery V. Vorotyntsev git-svn-id: http://dzen.googlecode.com/svn/trunk@240 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added the new options to the help stringgotmor2009-01-261-0/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@239 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "-title-name" and "-slave-name" command line optionsgotmor2009-01-261-3/+11
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@238 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added WM_CLIENT_MACHINE and _NET_WM_PID propertiesgotmor2009-01-261-20/+50
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@237 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed free_buffer(), so that ^cs() will work againgotmor2008-11-081-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@234 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "-h" option to the help stringgotmor2008-09-021-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@233 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* Dzen is now able to get font and color settings from X resources alexey.skladnoy2008-07-221-5/+33
| | | | | | | | | | | - Order of initialization changed: 1. connect to X server 2. Read X resources 3. Parse command line options - README files updated - x_read_resources may contain bugs git-svn-id: http://dzen.googlecode.com/svn/trunk@230 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* font preloading routines refactoredalexey.skladnoy2008-07-221-22/+10
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@229 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* aligment setting code refactored. set_alignment replaced with alignment from ↵alexey.skladnoy2008-07-201-35/+11
| | | | | | char. git-svn-id: http://dzen.googlecode.com/svn/trunk@228 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* set strut properties even if override_redirectgotmor2008-04-041-28/+29
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@222 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added _NET_WM_WINDOW_TYPE_DOCK supportgotmor2008-04-031-7/+39
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@221 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed bug in menu mode CL parsinggotmor2008-02-081-1/+4
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@217 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed menu mode buggotmor2008-02-081-30/+22
| | | | | | | added a check to determine if we use the pixmap buffer or not git-svn-id: http://dzen.googlecode.com/svn/trunk@216 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added -fn-preload option to preload fonts at startupgotmor2008-02-011-2/+71
| | | | | | | ^fn() makes use of the preloaded fonts when refenrencing them as dfnt0, dfnt1, ... git-svn-id: http://dzen.googlecode.com/svn/trunk@213 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed help stringgotmor2008-01-301-2/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@212 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed floating point exception for '-l 0'gotmor2008-01-231-11/+14
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@210 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* allow ^p() and ^pa() to set both X and Y positions in a linegotmor2008-01-111-28/+41
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@195 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed '-expand l' to take the '-x' position as the right corner of thegotmor2007-12-251-2/+10
| | | | | | | window git-svn-id: http://dzen.googlecode.com/svn/trunk@179 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added "-expand" option. automatically grows/srinks the window to fit thegotmor2007-12-221-0/+20
| | | | | | | input width git-svn-id: http://dzen.googlecode.com/svn/trunk@177 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added additional _NET_WM_STRUT supportgotmor2007-12-131-0/+15
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@172 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* typogotmor2007-11-271-1/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@171 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added -geometry option, allows relative positioninggotmor2007-11-271-4/+27
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@170 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added button6 and button7 eventsgotmor2007-08-181-0/+6
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@162 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added XPM icons supportgotmor2007-08-141-1/+6
| | | | | | | | drawing enhancement and fixes added command line option '-h' to set the line height git-svn-id: http://dzen.googlecode.com/svn/trunk@153 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* small readibilƣty fixesgotmor2007-08-051-2/+2
| | | | | | | | | documentation typo fixes kittscanner.sh improved execution speed new noisyalert.sh gadget git-svn-id: http://dzen.googlecode.com/svn/trunk@152 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* release 0.7.5gotmor2007-08-011-42/+58
| | | | | | | | | | | | | | | | | fixed memory leak added in-text commands: ^tw() ^c() ^p() added gadgets: kittscanner gdbar gcpubar git-svn-id: http://dzen.googlecode.com/svn/trunk@149 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added textwidth gadgetgotmor2007-07-201-2/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@139 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* remove flicker that occurs in some cases if slave_win receives exposure eventsgotmor2007-07-201-3/+7
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@138 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* make '-u' position independendgotmor2007-07-201-1/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@137 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* give dzen windows namesgotmor2007-07-171-0/+3
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@129 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* speed up expose handling, do less redrawinggotmor2007-07-171-4/+9
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@127 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* fixed expose handlinggotmor2007-07-171-0/+1
| | | | git-svn-id: http://dzen.googlecode.com/svn/trunk@126 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* clean upgotmor2007-07-161-0/+2
| | | | | | | readded text longer than line markers git-svn-id: http://dzen.googlecode.com/svn/trunk@125 f2baff5b-bf2c-0410-a398-912abdc3d8b2
* added support to color arbitrary parts of textgotmor2007-07-161-3/+4
| | | | | | | code needs testing git-svn-id: http://dzen.googlecode.com/svn/trunk@124 f2baff5b-bf2c-0410-a398-912abdc3d8b2