Julien Danjou
3216eb4d41
documente some functions and simplify client_saveprops() proto
2007-12-30 15:08:38 +01:00
Julien Danjou
87fce96644
add support for NET_CLOSE_WINDOW
2007-12-27 20:49:38 +01:00
Julien Danjou
58a3c0c494
add new UICB: uicb_focus_client_byname
2007-12-23 16:16:02 +01:00
Julien Danjou
d5d9439777
add support for Urgency hint
2007-12-23 15:16:10 +01:00
Aldo Cortesi
ce556ec743
The preferred line length is 80 characters.
2007-12-18 11:27:26 +01:00
Aldo Cortesi
2f74c079aa
Massive, massive interface refactoring.
...
The big change here is that we now keep our configuration structure in a global
variable called globalconf. This radically simplifies many interfaces, since
passing awesomeconf everywhere is no longer necessary. There are also more
subtle interface effects - now we can reliably identify a screen from just a
screen ID, rather than an awesomeconf, screenid tuple.
Overall, this patch makes most of the interfaces in awesome much nicer to use -
enjoy!
Yes, this is a huge patch, but since a lot of the refactoring was done
systematically using vim macros, splitting this up would have been very hard.
2007-12-16 12:12:48 +01:00
Julien Danjou
781ebc8882
move tag_client_with_rules() from client.c to tag.c
2007-12-14 16:40:08 +01:00
Julien Danjou
3a4fbce6f9
rename isvisible() to client_isvisible() and move it in client.c
2007-12-14 16:38:12 +01:00
Julien Danjou
213c839597
prefix some client functions with client
2007-12-14 16:05:10 +01:00
Julien Danjou
14809f80e4
remove useless client_reattach_after()
2007-12-14 14:51:58 +01:00
Julien Danjou
078d224b46
use a linked list for handling tag <-> client relationship
2007-12-14 14:29:32 +01:00
Aldo Cortesi
8264f15fc6
Remove inline declarations in client.h - these don't match what's in the the .c
...
anyway.
2007-12-14 09:12:45 +01:00
Julien Danjou
5fa67c23df
split awesomeconf and screen config
...
a.k.a the big post-2.0 blind commit
2007-12-11 20:56:51 +01:00
Nikos Ntarmos
355dc7d556
fix rules handling in configurequest events
2007-11-27 16:48:06 +01:00
Julien Danjou
455ef2e1d7
rename uicb_swap{prev,next} to uicb_client_swap{prev,next}
2007-11-14 18:07:35 +01:00
Julien Danjou
8b933e196b
rename uicb_settrans to uicb_client_settrans
2007-11-14 17:52:49 +01:00
Julien Danjou
b594731fc2
rename uicb_moveresize to uicb_client_moveresize
2007-11-14 17:51:22 +01:00
Julien Danjou
c5ee95992c
rename uicb_killclient to uicb_client_kill
2007-11-14 17:50:16 +01:00
Nikos Ntarmos
983d2d72a6
implement uicb_reloadconfig
2007-10-31 11:37:38 +01:00
Julien Danjou
14e8c82a8a
fix max() size restore, introduce volatile option to resize()
2007-10-29 15:24:10 +01: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
ddf64e9db2
grab some window function from client.c and move them in window.c
2007-10-26 18:23:15 +02:00
Julien Danjou
47b3ea3356
cleanup header files
...
remove old dwm comments
2007-10-23 16:37:36 +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
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
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
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
8a1633ccbe
rename and document client_attach/detach
2007-10-17 12:10:17 +02:00
Julien Danjou
1080180320
move get_client_bywin in client.c
2007-10-16 22:40:02 +02:00
Julien Danjou
0026bd3813
focus does not need Display as arg
2007-10-15 18:25:29 +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
12ef66b79a
clients list is no more global
2007-10-11 21:50:32 +02:00
Nikos Ntarmos
8401eee5f5
Implementing a click-to-raise feature
...
When in floating mode or in floating layout the only way to bring one
window on top of another seems to be a focus switch through
focusnext/focusprev. The following patch implements a click-to-raise
feature.
2007-10-11 10:34:16 +02:00
Julien Danjou
e733af41ec
remove drawcontext everywhere
2007-10-10 14:09:36 +02:00
Julien Danjou
97a2085705
cosmetic: remove lines with empty spaces at end
2007-10-03 17:26:14 +02:00
Julien Danjou
2ea22c721c
set inline in header file
2007-10-01 20:44:02 +02:00
Julien Danjou
8c531e2a81
store phys_screen
2007-10-01 15:23:05 +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
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
d34146fcec
doc update for client.h
2007-09-26 16:30:17 +02:00
Julien Danjou
a22b4c1008
new feature: add swap{next,prev} for reordering visible windows
2007-09-25 12:41:36 +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
a8a814110c
fix the ultimate bug when restarting awesome, client misdisplayed
2007-09-19 00:03:54 +02:00
Julien Danjou
9919ba2d4b
add uicb_setborder to change conf borderpx while running
2007-09-18 23:36:52 +02:00
Julien Danjou
dcec6aa749
remove screen arg from uicb*
2007-09-18 19:53:52 +02:00
Julien Danjou
ef69814e29
simplify manage(), remove screen arg
2007-09-18 19:53:52 +02:00
Julien Danjou
bf9601f79c
simplify focus, get screen from awesomeconf
2007-09-17 13:39:18 +02:00
Julien Danjou
834a579587
comment client.h
2007-09-17 13:32:20 +02:00
Julien Danjou
933b0413ea
add screen arg to uicb*
2007-09-16 01:05:43 +02:00
Julien Danjou
3cc29b0250
add screen args to focus()
2007-09-15 22:51:09 +02:00
Julien Danjou
c02be2ab82
store screen of client, first step to multi head support
2007-09-15 22:36:23 +02:00
Julien Danjou
fe89aa31b0
create statusbar.c and move things from draw.c
2007-09-15 15:16:53 +02:00
Julien Danjou
c8abcf33fb
add XShape support
2007-09-13 15:58:08 +02:00
Julien Danjou
2c6a71f358
add DC to uicb_*() args
2007-09-12 18:11:27 +02:00
Julien Danjou
7659289b9e
chance license to GPLv2
2007-09-12 14:29:51 +02:00
Julien Danjou
9223e8c0b8
Revert "remove unmapped attribute"
...
This reverts commit 10e324ad0b
.
2007-09-11 15:55:34 +02:00
Julien Danjou
10e324ad0b
remove unmapped attribute
2007-09-11 14:56:24 +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
a9d1f4a37d
remove global selscreen variable and remove unused vars from setup()
2007-09-07 12:53:30 +02:00
Julien Danjou
6dcccd7a5a
Rework settrans
...
- set setclienttrans static
- remove current_opacity arg of setclienttrans, not useful
2007-09-06 22:45:05 +02:00
Julien Danjou
f7173bd79d
first import
2007-09-05 20:15:00 +02:00