Philippe Pepiot
bfb8658bba
Infobar: segfault when client->title is NULL, fixes #132
...
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2011-07-06 13:32:33 +02:00
Philippe Pepiot
e57a6c5e62
build system: add setlocalversion
...
Version is built from git commit id, for example wmfs-ga33ec04-dirty
-> 'g', this is a git repo
-> a33ec04 is the beginning of the commit id (sha1)
-> dirty mean that there is uncommitted changes
wmfs users gives their 'wmfs -v' and developers can easily identify wmfs
version.
Move status.sh to scripts/ with setlocalversion
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2011-04-16 20:52:28 +02:00
Clément Bœsch
6291639b24
Remove a lot of static declarations
...
A lot of functions are also moved in the process.
2011-02-23 22:37:42 +01:00
Clément Bœsch
6a0eedb63c
Make a bunch of stuff static
2011-02-23 22:37:13 +01:00
Clément Bœsch
7d66c50676
Cosmetic
2011-02-23 22:37:13 +01:00
Martin Duquesnoy
d213d13784
Barwin/Frame: Optimization of saikobee feature
2011-02-23 15:15:31 +01:00
Raphael Khaiat
c8e5ac4619
Feature #79 : add a keybind to toggle the display of the infobar.
...
Feature requested by litemotiv
2011-01-24 23:50:52 +01:00
Clément Bœsch
a5432919ca
Remove pointless if before calling free.
...
The free() function frees the memory space pointed to by ptr, which must
have been returned by a previous call to malloc(), calloc() or
realloc(). Otherwise, or if free(ptr) has already been called before,
undefined behavior occurs. If ptr is NULL, no operation is performed.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- man malloc(3)
2011-01-12 20:17:57 +01:00
Julien Pivotto
bf16b4a2e7
Add a 'ignoretags' rule
...
Signed-off-by: bacardi55@gmail.com <bacardi55@daimadoshi.bacardi55.org>
2010-12-31 15:12:53 +01:00
Raphael Khaiat
bc31510d64
Merge branch master in bacardi55
2010-11-19 23:41:56 +01:00
Martin Duquesnoy
eda1bfdfec
Merge branch 'master' of git.wmfs.info:wmfs
2010-11-18 19:12:35 +01:00
Martin Duquesnoy
22295948ec
Ewmh: Remove _NET_WORKAREA support, Fix bug #58 signaled by Kernald.
2010-11-18 19:12:10 +01:00
Philippe Pepiot
c2664e8e85
wmfs compile with -W -Wall -Wextra (TODO: fix types !!)
2010-11-17 02:27:15 +01:00
Martin Duquesnoy
2a9d024784
Config/Infobar: Add occupied_fg option (Requested by s__C)
2010-10-23 16:36:07 +02:00
Martin Duquesnoy
5017c4ced5
Config: Apply PeVe/mseed patch: layout_button_width option in [layouts] section. Thanks to them.
2010-08-12 21:58:28 +02:00
Martin Duquesnoy
dc2e571e5e
Config: Fix UGLY mistake (lenght -> length, thanks chacha)
2010-08-12 19:57:00 +02:00
Raphael Khaiat
e71f85ff26
Fix segfault when using client_ignore_tag. bug #72 reported by myself
2010-06-27 00:47:36 +02:00
Martin Duquesnoy
a0a53f3af2
Infobar: Improve selbar check if there is no sel (in current screen)
2010-05-08 21:41:53 +02:00
Martin Duquesnoy
add85a7509
Infobar: Fix toggle_autohide with whole infobar replacement
2010-04-20 18:27:49 +02:00
OldMan
236b86ff0a
Infobar: Add toggle_tagautohide uicb function.
2010-04-20 20:11:59 +06:00
Martin Duquesnoy
7119d3cc25
Tag: Improve and fix some bugs in tag_delete
2010-04-19 22:32:41 +02:00
Martin Duquesnoy
129a21bada
Tag: add tag_new and tag_del function *Dynamic taggin*
2010-04-18 22:25:26 +02:00
Martin Duquesnoy
0f25f75f0d
Tag: Add tag_swap and uicb function: tag_swap with cmd = <tag>, tag_swap_next & tag_swap_prev
2010-04-18 18:50:08 +02:00
Martin Duquesnoy
8c0e37cb38
Infobar: Add autohide option in [tags]: Hide empty tags in tag list (Feature #24 requested by Erus)
2010-04-18 17:38:12 +02:00
Martin Duquesnoy
5875af2949
Selbar: Put ... only when sel->title lenght > max_lenght
2010-04-16 19:41:02 +02:00
Martin Duquesnoy
49b9a08fab
Selbar/Conf: Add max_lenght option to cut title lenght (requested by Erus)
2010-04-16 19:31:33 +02:00
Martin Duquesnoy
55e74cd849
Selbar: Unmap selbar if there is no selected client
2010-04-15 17:59:32 +02:00
OldMan
1ddc714196
Conf: section 'selbar' in section 'bar'
2010-04-13 10:15:40 +06:00
OldMan
0bed70e52c
InfoBar: taglist optimization
2010-04-11 12:47:58 +06:00
Martin Duquesnoy
b4c326ebaf
Menu: Fix screen limits (bug with multi-head)
2010-04-10 13:48:12 +02:00
Martin Duquesnoy
5c439c245c
Tag: Add multitag support (Feature #38 requested by Chacha^Wmarkand): button 3 click on tag to add it. (tagtransfert is now button 2 by default)
2010-04-07 00:33:00 +02:00
Martin Duquesnoy
ee13255297
Client/Event/Tag: Fix XUrgencyHint support
2010-04-04 15:42:51 +02:00
Martin Duquesnoy
9c154fd0f3
Client/Event/Tag: Add XUrgencyHint support (colorize tag where there is an urgent client)
2010-04-04 15:13:02 +02:00
Martin Duquesnoy
842bc7d3ce
Infobar: Add selbar; title of selected client in infobar (Feature #31 requested by markand), conf: [bar] selbar = true/false
2010-03-24 18:03:17 +01:00
Martin Duquesnoy
56079ebdfe
Infobar: Add option to move layout button before of after tags list (Feature #20 requested by Erus.)
2010-02-07 17:27:42 +01:00
Martin Duquesnoy
881ac9f68f
Status: Add status.c, clean statutext fonction and add located text stuff: \s[x;y;#color;text]\.
2010-02-04 02:58:28 +01:00
Martin Duquesnoy
888b2a7467
Infobar: Set buffers size to MAXSS
2010-01-31 16:27:27 +01:00
Martin Duquesnoy
6c0a0b62b6
Infobar: Remove debug stuff ... again...
2010-01-10 16:33:56 +01:00
Martin Duquesnoy
bc94d42372
Infobar: Remove useless strncpy.
2010-01-10 16:32:49 +01:00
Martin Duquesnoy
f4d683f17f
Infobar: Remove debug stuff
2010-01-10 15:07:19 +01:00
Martin Duquesnoy
d8afcfa013
Infobar: Fix strncpy mistake.
2010-01-10 15:06:37 +01:00
Martin Duquesnoy
af0d459b4c
Infobar: Improve and simplify infobar_draw_statustext.
2010-01-10 03:00:48 +01:00
Martin Duquesnoy
b766375db8
Infobar: Code cosmetic.
2010-01-07 18:33:16 +01:00
Martin Duquesnoy
26498dc07b
Infobar: Add bar feature in infobar_draw_statustext to make rectangle with wmfs -s -> \b[xx;yy;width;height;#color]\ *TEST*
2010-01-07 18:27:34 +01:00
Martin Duquesnoy
000a1f4c3d
Infobar: Add bar feature in infobar_draw_statustext to make rectangle with wmfs -s -> \b[xx;yy;width;height;#color]\ *TEST*
2010-01-03 23:02:25 +01:00
Martin Duquesnoy
250518c2a4
Wmfsrc: Add status_timing in default conf
2010-01-02 18:31:19 +01:00
Martin Duquesnoy
7acf0139d4
Infobar/Wmfs: Fix infobar_draw_statustext, remove useless screen_count()
2010-01-02 17:38:13 +01:00
Martin Duquesnoy
e4bbe15fc4
Infobar: Fix memleak in infobar_draw_statustext by replacing pointer to array
2010-01-02 16:50:37 +01:00
Martin Duquesnoy
8362a4ab68
Infobar/Init: Improve status.sh check test and fix free mistake (segfault) in infobar_draw_statustext from philpep
2010-01-02 12:13:27 +01:00
Philippe Pepiot
7b30445d19
Fix other memleak in infobar_draw_statustext()
2009-11-16 00:51:11 +01:00