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
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
Martin Duquesnoy
3cf93a0961
Launcher: Add width_limit option in multi set_launcher section to limit size of launcher window (Requested by s__C)
2010-11-28 13:06:24 +01:00
Philippe Pepiot
daeffb324e
Fix possibles segfaults, dead assignment and other division by zero.
...
Thanks to clang build report
2010-11-19 19:55:57 +01:00
Philippe Pepiot
d75746bcf4
s/strcpy/strncpy and fix somes unused variables
2010-11-19 17:36:37 +01:00
Philippe Pepiot
82b17ea02f
Improve allocating system and integrate parser
...
emalloc remplaced with xcalloc/xmalloc/xrealloc
and easy wrappers for strings zmalloc/zcalloc/zrealloc
- exit on fail
- prevent size_t overflow
Integrate parser in src/
2010-11-19 16:42:14 +01:00
Philippe Pepiot
c2664e8e85
wmfs compile with -W -Wall -Wextra (TODO: fix types !!)
2010-11-17 02:27:15 +01:00
Philippe Pepiot
3366ec835f
Parser and launcher: check asprintf return
2010-08-28 23:44:49 +02:00
Radek Tříška
839ebeaf2b
Launcher: autocompletion alphabetical sort from PeVe
2010-08-28 23:26:35 +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
510cb29e9f
Launcher: Fix launchers position when layout placement is left (Bug #53 signaled by Armael)
2010-06-05 23:26:33 +02:00
Martin Duquesnoy
fbb36877dc
EWMH: Improve _NET_WM_STATE_FULLSCREEN management
2010-04-08 12:33:52 +02:00
Martin Duquesnoy
e920b99951
Launcher: Add Control-p/n to manage historic (vim-like) requested by Bram
2010-04-06 21:15:56 +02:00
Martin Duquesnoy
22b405cba8
Launcher: Add historic for launcher (Feature #8 requested by bacardi55)
2010-04-06 21:06:21 +02:00
Philippe Pepiot
39ef26690c
Launcher: Replace ~/ by $HOME/
2009-10-15 20:49:03 +02:00
Philippe Pepiot
e723c03fe3
All: Use err(x) warn(x) instead of fprintf for formated error messages
...
with additional information from errno.
2009-10-14 00:15:24 +02:00
Philippe Pepiot
7917654281
Launcher: Use stat(2) instead of DT_DIR from dirent.h
2009-10-13 23:47:07 +02:00
Philippe Pepiot
21e964a404
Launcher: Define _BSD_SOURCE to using DT_DIR on glibc
2009-10-13 22:46:35 +02:00
Philippe Pepiot
fd2852b50f
Launcher: To use asprintf() with glibc we define _GNU_SOURCE
2009-10-13 22:39:34 +02:00
Philippe Pepiot
6abac69d8f
Launcher: add filename completion
2009-10-13 21:57:24 +02:00
Philippe Pepiot
23848e8291
Launcher: rearrange completion
2009-10-13 20:11:14 +02:00
Martin Duquesnoy
36c9f52296
All: Update head license in each file.
2009-08-22 22:56:41 +02:00
Martin Duquesnoy
fd287cd562
Build system/WMFS: WMFS does not *need* xinerama and xrandr librairies anyway, optional now.
2009-07-11 23:24:46 +02:00
Guillaume B
0acbad7289
Launcher: Fixed launcher position in infobar.
2009-07-05 22:46:44 +02:00
Martin Duquesnoy
2885309b83
Launcher: Check if there is a keypad with IsKeypadKey(), so fixed segfault.
2009-07-05 22:21:08 +02:00
Martin Duquesnoy
3eacc103ea
Launcher: Add Keypad enter key to justify a command and adjust cursor size.
2009-06-21 02:23:44 +02:00
Martin Duquesnoy
26624ced65
Launcher: Rename PATH_MAX -> PATHMAX
2009-06-20 13:19:45 +02:00
martin
787ecfee69
Launcher: Add cursor
2009-06-20 01:40:21 +02:00
martin
3fc2571b92
Launcher/Signal/Mouse: Set wmfs ANSI approved, use signal instead sigaction and fix mouse_resize tiny bug.
2009-06-20 01:20:41 +02:00
Martin Duquesnoy
16171797a3
Client: client_set_wanted_tag() -> set xch to { 0 } so fix possibly segfault.
2009-06-13 15:50:10 +02:00
Martin Duquesnoy
fbfc1629f4
Launcher: Fixed typo.
2009-06-06 14:07:13 +02:00
rck
10cbda4969
Launcher: Added launcher completion.
2009-06-06 13:56:06 +02:00
Martin Duquesnoy
c7948f8d3a
Launcher: Add screen_get_sel before choose selected screen to draw launcher.
2009-05-29 00:00:39 +02:00
Martin Duquesnoy
903f567086
Launcher: Improved launcher: Use a new BarWindow to show the launcher
2009-05-09 00:22:08 +02:00
Martin Duquesnoy
56a2c10bbe
conf: Fix default wmfs keybinds.
2009-02-21 22:44:56 +01:00
Martin Duquesnoy
292ff26eb7
launcher/conf: Add launcher section in the configuration file, see the default conf.
2009-02-03 14:55:57 +01:00