Aldo Cortesi
965cbb7e0b
Continue to simplify interfaces that require arguments in globalconf.
...
Today I focus on screen.c.
2007-12-18 11:26:39 +01:00
Aldo Cortesi
205f2c55ca
Make "Statusbar statusbar" the in VirtScreen "Statusbar *statusbar". This is
...
more consistent with the rest of the interface, and will make our life easier
when we have mulitiple statusbars per screen.
2007-12-18 11:26:18 +01:00
Aldo Cortesi
d5fd96dbd2
Refactor the focus.c interface to use globalconf.
2007-12-17 18:21:42 +01:00
Aldo Cortesi
b6bfd1a4d0
The arg to uicb_ functions is no longer const.
2007-12-17 18:19:44 +01:00
Julien Danjou
f0f522bd47
move things around
...
- rename parse_config to config_parse
- move KeyModList and ButtonList in their own functions
- move LayoutsList in layout.c
- move static fcts around in config.c
2007-12-16 13:24:12 +01:00
Aldo Cortesi
6e8b1383fe
Various doc comment fixes.
2007-12-16 12:13:07 +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
Aldo Cortesi
f36a56cdcc
Refactor draw.c
...
This is a big patch that does not change any behaviour. We abstract the data
needed by the draw.c functions into a context object, and pass that around
instead of passing each argument every time. This results in a much cleaner API
- most functions lose 3-4 arguments.
This is a preparatory patch for further work on statusbar.
2007-12-15 09:30:29 +01:00
Julien Danjou
df2a8e1b1d
add a focus history
2007-12-14 21:51:54 +01:00
Julien Danjou
c7c1da5693
fix memory leak on exit
2007-12-14 20:18:59 +01:00
Julien Danjou
aacb020564
rename statusbar functions
2007-12-14 20:10:52 +01:00
Julien Danjou
bb1381abc2
make tags a linked list instead of array
2007-12-14 19:05:30 +01:00
Julien Danjou
b03cdbd877
remove nlayouts
2007-12-14 17:57:05 +01:00
Julien Danjou
f92772953c
fix some #include
2007-12-14 16:42:54 +01:00
Julien Danjou
e426e60801
remove my name from -v and accept --version
2007-12-14 16:32:34 +01:00
Julien Danjou
6241354fec
prefix eprint() with awesome:
2007-12-13 15:20:42 +01:00
Julien Danjou
5f811b1cf2
use VirtScreen arg for tag_client_with_current_selected()
2007-12-13 10:46:32 +01:00
Aldo Cortesi
c7a4a54b47
Use warn function throughout project.
2007-12-13 09:59:46 +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
Julien Danjou
db65eac4b8
add release name in -v
2007-12-10 17:34:32 +01:00
Nathan Hüsken
9524f15478
Adding padding
2007-11-28 11:00:48 +01:00
Nikos Ntarmos
af0eab0322
delete key->arg on cleanup
2007-11-15 17:21:38 +01:00
Julien Danjou
bf37316aad
rework Button bindings freeness
2007-11-15 12:15:14 +01:00
Julien Danjou
a0ea5bf734
move compileregs() from tag.c to rules.c
2007-11-13 22:45:46 +01:00
Julien Danjou
9f21fb3c9e
rules are now stored in a linked list
2007-11-12 19:25:10 +01:00
Julien Danjou
0c5c5ce426
remove nkeys: keys is now a linked list
2007-11-12 17:22:40 +01:00
Julien Danjou
ef7034b0b8
use linked list instead of tabs for mouse bindings
2007-11-12 13:21:28 +01:00
Julien Danjou
0753ed5fb5
statusbar drawable is no more stored but dynamicaly created; this fix a problem with statusbar on right
2007-11-11 22:27:00 +01:00
Julien Danjou
0bee56e27d
mouse buttons are now configurable for click on layout symbols
2007-11-11 16:01:49 +01:00
Julien Danjou
99370f0ccd
mouse buttons are now configurable for click on title bar
2007-11-11 15:55:13 +01:00
Julien Danjou
83f7087f13
don't forget to delete mouse bindings for tabs
2007-11-11 15:43:49 +01:00
Nikos Ntarmos
be61dcdddf
store configpath in awesomeconf
2007-11-08 11:22:25 +01:00
Nikos Ntarmos
982230c82b
add cleanup_screen() and setup_screen() functions to split init/clean ops
2007-10-30 14:59:24 +01:00
Nikos Ntarmos
bf90028edb
modify parse_config() to not take display and screen as arg
2007-10-30 14:57:00 +01:00
Julien Danjou
e98697ddfd
don't free client_sel since we don't p_new() it
2007-10-30 11:18:49 +01:00
Julien Danjou
f28f0e7407
add display name in socket path
2007-10-29 17:29:58 +01:00
Julien Danjou
7476a9712a
don't forget to delete addr pointers
2007-10-29 16:23:05 +01:00
Julien Danjou
78b3dab63e
remove unused pointer **sel in main()
2007-10-29 16:16:17 +01:00
Julien Danjou
27e7706800
move common stuff for socket com into awesome-client-common.c
2007-10-29 16:14:50 +01:00
Julien Danjou
60352e221a
remove fifo code
2007-10-29 10:58:02 +01:00
Julien Danjou
7e755c17ea
add awesome-client.h with common #define and add copyright notice in awesome-client.c
2007-10-27 18:47:13 +02:00
Julien Danjou
001f430c0c
remove global client_sel, use tag's client_sel
2007-10-26 23:19:13 +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
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
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
daniel@brinkers.de
cb0080039e
patch for using UNIX domain sockets for control
2007-10-15 23:13:52 +02:00
Julien Danjou
5a47c01381
fix initstatusbar()
2007-10-15 20:23:45 +02:00