Commit Graph

137 Commits

Author SHA1 Message Date
Julien Danjou 14e8c82a8a fix max() size restore, introduce volatile option to resize() 2007-10-29 15:24:10 +01:00
Julien Danjou d24413a75d rename resize() to client_resize() 2007-10-26 19:51:20 +02:00
Julien Danjou 52f8476ae3 include util.h in max.c
Thanks MATSUU Takuto
2007-10-24 11:05:32 +02:00
Julien Danjou 9d9b397649 replace XFree by p_delete() 2007-10-23 16:36:27 +02:00
MATSUU Takuto b1dcf6c71b set{nmaster,ncol,mwfact,moveresize} to work
From 842eed01c0, setnmaster, setncol,
setmwfact and setmoveresize don't work fine.
2007-10-22 09:56:33 +02:00
Julien Danjou 7a921fbc5e remove ftview attribute 2007-10-19 15:41:20 +02:00
Julien Danjou 842eed01c0 remove current_layout, insert get_current_layout() to get it dynamicly 2007-10-16 22:33:15 +02:00
Julien Danjou ccb7e89750 arrange() does not need Display as arg 2007-10-15 18:23:05 +02:00
Julien Danjou a74ca1d1de tabswidth is 4 not 6 2007-10-15 13:56:24 +02:00
Julien Danjou 4e0acfa99a add coding style stuff 2007-10-15 13:40:52 +02:00
Julien Danjou 17cf2c230d remove display as arg of layouts 2007-10-11 23:35:45 +02:00
Julien Danjou c4e130d7d9 remove Display as param for uicb 2007-10-11 23:32:29 +02:00
Julien Danjou 12ef66b79a clients list is no more global 2007-10-11 21:50:32 +02:00
Julien Danjou c05ed01c1a bugfix: only catch first click to raise if we're floating 2007-10-11 11:33:40 +02:00
Julien Danjou e733af41ec remove drawcontext everywhere 2007-10-10 14:09:36 +02:00
Julien Danjou fd0fc340d7 bugfix: wrong column X coord in multi-columns mode
Thanks to Fabienne Ducroquet <fabiduc@gmail.com>
2007-10-09 10:45:27 +02:00
Julien Danjou de45017b5d switch to libconfuse instead of libconfig 2007-10-08 18:45:05 +02:00
Julien Danjou 97a2085705 cosmetic: remove lines with empty spaces at end 2007-10-03 17:26:14 +02:00
Julien Danjou b0933b177c remove useless extern Client sel in tile layout 2007-10-03 00:30:15 +02:00
Julien Danjou 950605b1a0 simplify get_screen_info() 2007-10-01 20:58:29 +02:00
Julien Danjou 784e120fa2 inverse setmwfact value in tileleft layout 2007-10-01 13:00:13 +02:00
Julien Danjou 8112ec2cca introduce move_client_to_screen to move a client in a new screen and tag it with good tags 2007-09-28 11:30:51 +02:00
Julien Danjou 30c9d74dd2 I was too happy, I forgot some printf 2007-09-27 22:31:06 +02:00
Julien Danjou 57e9f1c02c tile layout is Xinerama compliant 2007-09-27 22:29:36 +02:00
Julien Danjou 972ea8f832 max layout is now Xinerama aware 2007-09-27 19:34:41 +02:00
Julien Danjou ca16334351 introduce get_xinerama_screen_bycoord(...)
this allows to retrieve the xinerama screen of a client with its coordinates
2007-09-27 17:13:30 +02:00
Julien Danjou 595eba78d7 create a Tag struct type and use it 2007-09-24 15:37:52 +02:00
Julien Danjou 8592058e00 add a LAYOUT_PROTO to common.h and use it 2007-09-24 14:59:29 +02:00
Julien Danjou c8373622ec Add UICB_PROTO to common.h (new) to declare uicb_functions 2007-09-24 14:40:40 +02:00
Julien Danjou 917a82ed15 fix typo in setnmaster test which broke the function 2007-09-24 11:20:34 +02:00
Julien Danjou d44e7bcbc4 add support for Xinerama in max layout 2007-09-21 18:18:01 +02:00
Julien Danjou c80855836a new feature: add max layout 2007-09-21 00:30:32 +02:00
Julien Danjou 5602e9e76b latest commit introduced a regression in multi-head tile support, fix that 2007-09-20 23:08:20 +02:00
Julien Danjou 2f43209c34 fix toggle floating with Button2 in tileleft layout, and prefix layout functions with layouts_ 2007-09-20 22:07:59 +02:00
Julien Danjou 57bb886dae remove spiral from layouts 2007-09-18 22:59:16 +02:00
Julien Danjou d967edfec9 remove screen from layouts arrange() arg 2007-09-18 19:53:52 +02:00
Julien Danjou dcec6aa749 remove screen arg from uicb* 2007-09-18 19:53:52 +02:00
Julien Danjou 30e7cf5b40 simplify arrange and restack 2007-09-18 19:53:46 +02:00
Julien Danjou 0539eaa4b0 is_visible check for screen 2007-09-16 14:56:08 +02:00
Julien Danjou a010212f97 rework IS_TILED with screen 2007-09-16 14:56:08 +02:00
Julien Danjou 58abf74d43 spawn X client in the right head and add screen arg to layouts 2007-09-16 01:36:26 +02:00
Julien Danjou 933b0413ea add screen arg to uicb* 2007-09-16 01:05:43 +02:00
Julien Danjou 3ab80f68b8 first multihead support 2007-09-16 00:36:56 +02:00
Julien Danjou e91de5bfb9 restack and arrange take screen as arg 2007-09-15 23:17:59 +02:00
Julien Danjou 389e1f809a add screen arg to _tile 2007-09-15 23:10:36 +02:00
Julien Danjou f4cb327f6d get_screen_info get screen as arg 2007-09-15 23:09:02 +02:00
Julien Danjou 2c3dc9a4dc bug fix: reset current_col to 0 (Xinerama problem) 2007-09-15 15:48:31 +02:00
Julien Danjou fe89aa31b0 create statusbar.c and move things from draw.c 2007-09-15 15:16:53 +02:00
Julien Danjou b490276b66 optimize mh computing 2007-09-15 14:40:08 +02:00
Julien Danjou d990643b5f optimize computing a bit 2007-09-15 14:37:26 +02:00
Julien Danjou 9130abb0fe rename some vars 2007-09-15 14:26:55 +02:00
Julien Danjou 636459d85d cosmectic 2007-09-15 14:23:18 +02:00
Julien Danjou fa7d80ac4f remove static vars from tile layout 2007-09-15 14:20:01 +02:00
Julien Danjou 6f8a267450 no idea why we should redraw statusbar here, so removing 2007-09-15 13:56:12 +02:00
Julien Danjou 01b2785587 rename drawstatus to drawstatusbar 2007-09-15 13:54:02 +02:00
Julien Danjou bc3f70e0fa add uicb_setncols(), clean config, really use config in tile.c 2007-09-15 13:04:36 +02:00
Julien Danjou 9a1201c7a5 remove grid layout 2007-09-15 12:39:33 +02:00
Julien Danjou ceb7e60ee0 remove bstack layout 2007-09-15 12:37:34 +02:00
Julien Danjou 3a61701885 support ncols for non-master wins 2007-09-15 02:52:41 +02:00
Julien Danjou 5801ab0589 cosmetic 2007-09-14 21:20:05 +02:00
Julien Danjou 9cc12396a1 allow nmaster to be 0 2007-09-14 20:59:52 +02:00
Julien Danjou 4d03dd3e53 use compute_new_value_from_arg in uicb_setmwfact 2007-09-14 13:54:59 +02:00
Julien Danjou 35defcc4e8 add compute_new_value_from_arg() to do the +/- job in uicb fcts 2007-09-14 13:43:51 +02:00
Julien Danjou c7735d4d1f add screen.[ch] to handle Xinerama config, and deprecate get_wa*() 2007-09-14 11:35:40 +02:00
Julien Danjou c50480205c add Xinerama support for tile layout 2007-09-13 23:20:05 +02:00
Julien Danjou ca125f1ac4 bug fix: forgot to add DC to uicb_ in tile.c 2007-09-13 19:11:24 +02:00
Julien Danjou aa3967717d remove useless extern DC also in grid layout 2007-09-12 17:15:58 +02:00
Julien Danjou cd4ee038a9 remove useless extern dc in spiral 2007-09-12 17:15:12 +02:00
Julien Danjou 77467394c1 remove focus/restack call, useless 2007-09-12 17:02:41 +02:00
Julien Danjou de3fdc02d8 add DC to arrange() 2007-09-12 17:00:33 +02:00
Julien Danjou 9897e5a839 remove DC from global in draw.c 2007-09-12 16:55:47 +02:00
Julien Danjou d6c63bd086 remove wa(x,y,h,w) from global vars, add functions to compute them 2007-09-12 16:03:42 +02:00
Julien Danjou 7659289b9e chance license to GPLv2 2007-09-12 14:29:51 +02:00
Julien Danjou 6085246aa8 change incnmaster to setnmaster 2007-09-11 15:53:03 +02:00
Julien Danjou eb1759f28f simplify grid layout 2007-09-11 15:41:25 +02:00
Julien Danjou 9f56ade4e9 use more safe functions and update #inlcude 2007-09-11 14:00:49 +02:00
Julien Danjou baa1e422fe rename last jdwm to awesome and make config a little more robust 2007-09-10 16:11:57 +02:00
Julien Danjou 6f528063be rename jdwm to awesome 2007-09-10 12:06:54 +02:00
Julien Danjou e3c0478434 add resize_hints config 2007-09-10 12:01:36 +02:00
Julien Danjou d61ca0da62 move bpos to Statusbar struct and change name of default_statubar_position in jdwmconf 2007-09-07 16:35:46 +02:00
Julien Danjou a6a705dd85 remove global bh/blw and add a Statusbar type 2007-09-07 16:13:59 +02:00
Julien Danjou a9d1f4a37d remove global selscreen variable and remove unused vars from setup() 2007-09-07 12:53:30 +02:00
Julien Danjou 9f9757e1b4 deprected nexttiled, add IS_TILED macro to check if a client is tiled to current tags 2007-09-06 20:02:30 +02:00
Julien Danjou 4fc212ed40 include config.h 2007-09-06 19:33:20 +02:00
Julien Danjou e5f2ed3f22 remove extern seltags, put it in jdwmconf 2007-09-06 19:05:26 +02:00
Julien Danjou 24e15433b7 remove bpos from global var, added in jdwmconf 2007-09-05 20:39:11 +02:00
Julien Danjou f7173bd79d first import 2007-09-05 20:15:00 +02:00