110 Commits

Author SHA1 Message Date
Clément Bœsch
7ac4bf32c2 One memset instead of two.
This also fix the strange sizeof.
2011-01-12 20:17:57 +01:00
Martin Duquesnoy
a0fd6a77cc Layout: Fix nmaster ksh bug with tile_right/left 2011-01-03 20:01:04 +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
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
Martin Duquesnoy
c63a9af492 Layout: Remove layer layout (was for testing) 2010-08-05 16:06:39 +02:00
Martin Duquesnoy
6d99de883c Layout: Fix toggle maximization in free layout 2010-08-03 02:03:01 +02:00
Martin Duquesnoy
910421c41c Layout: Fix screen test in arrange (reported by mseed) 2010-07-21 13:20:09 +02:00
Raphael Khaiat
e17f36f24f Change declaration place for uniformity 2010-06-25 14:02:14 +02:00
Raphael Khaiat
cee16d6f7f Add a tile_grid_vertical layout that split vertically unlike the tile_grid
layout that split horizontally. Add tile_grid_horizontal too that is the
same as tile_grid. You should use the tile_grid_horizontal, tile_grid is
kept for backward compatibility
2010-06-25 01:40:53 +02:00
Martin Duquesnoy
995c4e94e7 Client: Add padding option in client to set space between tiled client (Feature #52 requested by Armael) 2010-04-25 17:20:24 +02:00
Philippe Pepiot
46608a14be Fix possible use of unitialized variables 2010-04-20 14:25:57 +02:00
OldMan
c5c307deea Menuitem option 'check'. Draw bullet '*' on the left (ugly, but simple). 2010-04-10 17:16:24 +06:00
OldMan
2b7d1c115d Client: Keep free-size after toggle_{free, max}. 2010-02-25 20:48:24 +01:00
Martin Duquesnoy
436d28d248 Layout: Fix mistake when toggle of abovecf (arragement per tag) 2009-12-26 15:26:42 +01:00
Martin Duquesnoy
0a09838b80 Layout: Fix mistake when toggle of abovecf (arrangement) 2009-12-26 15:25:29 +01:00
Martin Duquesnoy
5d0b922907 Client/Layout: Add abovefc option and toggle uicb fonction. Requested by Arpinux. 2009-12-25 21:25:20 +01:00
Martin Duquesnoy
c37e192b4d Conf: *TEST* make parser faster. 2009-11-06 19:52:26 +01:00
linkdd
a84cc5ef48 Add option to set the new windows as master or not 2009-10-20 18:22:30 +02:00
Martin Duquesnoy
3fa21c0d2e Layout: Add width reminder in layer layout. 2009-10-12 20:41:34 +02:00
Martin Duquesnoy
b45b14dcd0 Conf: Fix "bug" #7 requested by sahko. 2009-10-12 19:16:03 +02:00
Martin Duquesnoy
6f17f0e5f7 Layout: Fix layer layout bug when decreasing tag layers 2009-10-11 19:51:27 +02:00
Martin Duquesnoy
ff729f59fa Layout: Add layer layout (manual layout), testing. 2009-10-11 19:24:13 +02:00
Martin Duquesnoy
36c9f52296 All: Update head license in each file. 2009-08-22 22:56:41 +02:00
Martin Duquesnoy
c97cc8a7db Wmfs: Remove all Boolean value in the Client struct: all works with flags and fix multi-head _NET_WM_STATE_FULLSCREEN little placement buf. 2009-08-20 17:50:59 +02:00
Martin Duquesnoy
020e2c88c7 Layout: Get the selected screen before toggle resizhint. 2009-08-19 23:16:10 +02:00
Martin Duquesnoy
ec2ccea884 Client: Add client_get_{next, prev} to simplify some functions. 2009-07-22 20:56:53 +02:00
Martin Duquesnoy
33689fc5a0 Client/Layout: Fix focus issue (#1) with max layout. 2009-07-22 14:27:52 +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
Martin Duquesnoy
c7a0fc9c3f Layout: Add update_layout boolean argument in arrange() function 2009-07-05 03:13:07 +02:00
Martin Duquesnoy
c035b52c29 Layout: Don't do the free layout if c->max = True. 2009-06-14 03:21:50 +02:00
Martin Duquesnoy
fba8e7b25f Ewmh/Event/Frame: Fix bug with mplayer in fullscreen and FREE layout reported by philpep and remove titlebar limit for title drawing. 2009-06-14 03:06:10 +02:00
Martin Duquesnoy
8ff0264736 Ewmh: Remove ewmh_get_curent_layout: Set it in ewmh_update_current_tag_prop(). 2009-04-25 11:16:18 +02:00
Martin Duquesnoy
06270b371a Ewmh: Add _WMFS_MWFACT & _WMFS_NMASTER to know the current tag mwfact and nmaster. 2009-04-25 03:22:03 +02:00
Martin Duquesnoy
92156f050d Client: Add _WMFS_ISFREE attributes to re-set the c->free attributes when reloading. 2009-04-23 22:17:27 +02:00
Martin Duquesnoy
1e1d14736f Scan: Fix screen set if there is less screen than before reload 2009-04-23 21:58:42 +02:00
Martin Duquesnoy
a46a728e2b Layout: Remove test things 2009-04-11 23:06:04 +02:00
Martin Duquesnoy
e4470bc88c README: Update 2009-04-11 23:04:28 +02:00
Martin Duquesnoy
c58a75539b Client: Fix arrangement bug: add screen argument to ishide(). 2009-04-06 03:04:37 +02:00
Martin Duquesnoy
009f11847b Layout: Fix mirror layout (code simplify was bad) 2009-03-30 15:49:44 +02:00
Martin Duquesnoy
02af9d6523 Layout: Simplify mirror code. 2009-03-30 07:46:16 +02:00
Martin Duquesnoy
582f1a9481 Screen/Infobar: Fix position with multi-head, add spgeo[] (screen pure geometry). 2009-03-30 07:30:32 +02:00
Martin Duquesnoy
6eff09d790 Layout: Add mirror_vertical and mirror_horizontal! 2009-03-30 06:44:36 +02:00
Martin Duquesnoy
44aa82eb4e Layout: Add nmaster support to new Mirror layout. 2009-03-30 04:27:20 +02:00
Martin Duquesnoy
c1bcd7c405 Layout: New layout: Mirror tile (idea from Cheaterman) 2009-03-29 22:09:22 +02:00
Martin Duquesnoy
d1fe3977a7 Layout/conf: Add toggle_resizehint uicb function. 2009-03-29 03:43:05 +02:00
Martin Duquesnoy
cc54ab8819 Layout: Fix uicb_set_layout. 2009-03-26 01:23:13 +01:00
Martin Duquesnoy
0d60b5dd90 titlebar: Fix size and position in frame.c, fix layout with these changes 2009-03-22 13:39:54 +01:00
Martin Duquesnoy
74fd1d7c92 Infobar: Complete requested feature #8 (By Cheaterman) infobar_position = "<pos>" by tag 2009-03-19 20:17:25 +01:00
Martin Duquesnoy
0b3a2d1b8f Infobar: Add hide position (Feature #8 requested by Cheaterman) 2009-03-19 00:20:07 +01:00