Julien Danjou
001f430c0c
remove global client_sel, use tag's client_sel
2007-10-26 23:19:13 +02:00
Julien Danjou
9d507dc50c
rewrite get_current_tag_number() in get_current_tag()
2007-10-26 22:15:26 +02:00
Julien Danjou
8b7561cb89
add doc for get_current_tag_number()
2007-10-26 22:00:00 +02:00
Julien Danjou
c817b07d9a
rename ban() and unban() to client_*()
2007-10-26 19:51:20 +02:00
Julien Danjou
f330cb303c
rename manage() and unmanage() to client_*()
2007-10-26 19:51:20 +02:00
Julien Danjou
d24413a75d
rename resize() to client_resize()
2007-10-26 19:51:20 +02:00
Julien Danjou
e646072312
move grabbuttons to window functions
2007-10-26 19:51:20 +02:00
Julien Danjou
47a878e4cd
move set_shape in client.c to window_setshape in window.c
2007-10-26 19:51:20 +02:00
Julien Danjou
bd0dc10842
compute c->screen correctly
2007-10-26 18:42:05 +02:00
Julien Danjou
ddf64e9db2
grab some window function from client.c and move them in window.c
2007-10-26 18:23:15 +02:00
Nikos Ntarmos
40e7654925
fix missing p_delete
2007-10-25 22:33:48 +02:00
Julien Danjou
0fe746e425
use git to compute version number or devel if no git
2007-10-25 21:27:25 +02:00
Nikos Ntarmos
4db1146f6c
Remember the focused window on tag changes
...
a. Adds a get_current_tag_number function to allow for above updates
and teaches get_current_layout(...) and arrange(...) to use it.
b. Adds an extra client_sel entry in struct Tag, updated on
focus(...), manage(...), and unmanage(...), and used in arrange(...).
2007-10-25 20:20:13 +02:00
Julien Danjou
dd5387e25e
bugfix: do not assume 0,0 is the screen coords, for god sake
2007-10-25 18:52:28 +02:00
Julien Danjou
44f63f0ff8
bugfix: move_to_screen really move to the right place
...
don't assume that -= + is the same as = - +
2007-10-25 16:56:01 +02:00
Julien Danjou
530a6ef104
bugfix: save rx/ry/rw/rh when resizing a floating window
2007-10-25 13:57:02 +02:00
Julien Danjou
bd08d8a119
bugfix: don't display window name in statusbar if sel is not on our screen
2007-10-25 13:48:22 +02:00
Julien Danjou
702d85b4d2
do not use c->screen but awesomeconf->screen in si
2007-10-24 12:35:53 +02:00
Julien Danjou
52f8476ae3
include util.h in max.c
...
Thanks MATSUU Takuto
2007-10-24 11:05:32 +02:00
Julien Danjou
47b3ea3356
cleanup header files
...
remove old dwm comments
2007-10-23 16:37:36 +02:00
Julien Danjou
9d9b397649
replace XFree by p_delete()
2007-10-23 16:36:27 +02:00
Julien Danjou
e47e1a4a23
remove unmapped attribute
...
this fix a bug when fast-switching between tags and dropping
some windows management as we should not.
Use window_getstate() (moved from awesome.c's getstate()) instead.
2007-10-23 16:32:55 +02:00
Julien Danjou
9b60eb3d06
bugfix: set rx correctly
2007-10-22 17:01:25 +02:00
Julien Danjou
f379de70ce
Remove disp arg to manage(), add comments to manage() and rename setclienttrans to window_settrans
2007-10-22 16:25:27 +02:00
Julien Danjou
dfcfa92994
remove useless printf()
2007-10-22 11:25:37 +02:00
Julien Danjou
f217cc3e09
simply maximize(), insert Client *sel;
2007-10-22 11:24:26 +02:00
Julien Danjou
71b7860ba3
cosmetic and documente Bool-s attribute in Client
2007-10-22 11:21: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
03681846fa
remove useless isbanned attribute on Client
2007-10-19 15:42:48 +02:00
Julien Danjou
7a921fbc5e
remove ftview attribute
2007-10-19 15:41:20 +02:00
Julien Danjou
25d12961a8
rename setclientstate to window_setstate and change args for isprotodel()
2007-10-19 15:36:41 +02:00
Julien Danjou
f957a0e0b5
cosmetic remove useless {}
2007-10-19 15:31:30 +02:00
Julien Danjou
3afccadae2
enhance movetoscreen function by computing new x/y/w/h with new screen infos
2007-10-19 15:07:46 +02:00
Julien Danjou
cabfc67b87
rename configure() as window_configure() and passes info as args
2007-10-17 17:29:21 +02:00
Julien Danjou
2e832c8186
get_client_bywin() only need a single pointer, not a double
2007-10-17 17:09:26 +02:00
Julien Danjou
e258b90765
reattach tabbed windows just after the master one when zoom()ing
2007-10-17 15:21:11 +02:00
Julien Danjou
02c07a8e11
move tabbed windows collapsed in **clients list, so focusing next/prev will be nicer
2007-10-17 15:09:59 +02:00
Julien Danjou
e7da450d3c
client_attach and detach are together <3
2007-10-17 12:12:40 +02:00
Julien Danjou
8a1633ccbe
rename and document client_attach/detach
2007-10-17 12:10:17 +02:00
Julien Danjou
222b3dcc2d
update manpage
2007-10-17 11:58:19 +02:00
Julien Danjou
b59df01d6c
document get_client_bywin
2007-10-17 11:49:54 +02:00
Julien Danjou
8ad32d29c2
fix information headers
2007-10-17 10:53:32 +02:00
Julien Danjou
cffeb9a22c
use get_client_bywin in manage()
2007-10-16 22:43:03 +02:00
Julien Danjou
1080180320
move get_client_bywin in client.c
2007-10-16 22:40:02 +02:00
Julien Danjou
842eed01c0
remove current_layout, insert get_current_layout() to get it dynamicly
2007-10-16 22:33:15 +02:00
Martin Stubenschrott
b333185ec1
better centering for drawtext()
2007-10-16 19:20:39 +02:00
Julien Danjou
472b07f8ab
remove useless cast
2007-10-16 18:54:58 +02:00
Julien Danjou
237a97dfc0
remove duplicate view 9
2007-10-16 18:29:14 +02:00
Julien Danjou
dd2874a0a1
don't break existing tabs on tab()
2007-10-16 17:03:18 +02:00
Nikos Ntarmos
7ecbae334f
use Cairo to render fonts
2007-10-16 16:35:28 +02:00