Commit graph

41 commits

Author SHA1 Message Date
Julien Danjou
f37c71c162 add support for _NET_WM_STATE_FULLSCREEN
This commit also drop the handle_event_configurerequest() because it seems
totally unuseful now. This can cause problem, and if so, report it.
2007-12-28 18:31:31 +01:00
Julien Danjou
dcee599f8c remove deprecated functions 2007-12-27 13:23:50 +01:00
Julien Danjou
a0e7aee072 introduce get_current_tags() and deprecate get_current_{tag,layout}() 2007-12-23 16:28:40 +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
f92772953c fix some #include 2007-12-14 16:42:54 +01:00
Aldo Cortesi
2b5ba1f16f Improve the call signature of get_current_tag and get_current_layout. 2007-12-14 09:29:42 +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
938850a487 rename setlayout to tag_setlayout 2007-11-14 18:19:00 +01:00
Julien Danjou
aee9cdf8cb prefix a bunch of uicb with client_ 2007-11-14 18:10:51 +01:00
Julien Danjou
9d507dc50c rewrite get_current_tag_number() in get_current_tag() 2007-10-26 22:15:26 +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
47b3ea3356 cleanup header files
remove old dwm comments
2007-10-23 16:37:36 +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
fefa16611a restack does not need Display as arg 2007-10-15 18:28:07 +02:00
Julien Danjou
ccb7e89750 arrange() does not need Display as arg 2007-10-15 18:23:05 +02:00
Julien Danjou
3592e8e448 save and loadawesomeprops do not need display as arg 2007-10-15 18:14:43 +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
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
97a2085705 cosmetic: remove lines with empty spaces at end 2007-10-03 17:26:14 +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
d9523d3436 simplify load/saveawesomeprops 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
933b0413ea add screen arg to uicb* 2007-09-16 01:05:43 +02:00
Julien Danjou
e91de5bfb9 restack and arrange take screen as arg 2007-09-15 23:17:59 +02:00
Julien Danjou
5c78f4785f load and save awesome props now take screen as arg 2007-09-15 22:40:52 +02:00
Julien Danjou
3e3f213b72 move uicb_togglebar to statusbar.c 2007-09-15 15:34:28 +02:00
Julien Danjou
2c6a71f358 add DC to uicb_*() args 2007-09-12 18:11:27 +02:00
Julien Danjou
de3fdc02d8 add DC to arrange() 2007-09-12 17:00:33 +02:00
Julien Danjou
7659289b9e chance license to GPLv2 2007-09-12 14:29:51 +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
c3d2e56ef1 remove jdwmprops as global var, replaced by a macro 2007-09-07 16:46:46 +02:00
Julien Danjou
2eaadb39e7 remove initlayout function 2007-09-07 15:04:02 +02:00
Julien Danjou
0a90a3f618 remove nexttiled 2007-09-06 23:26:48 +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
e5f2ed3f22 remove extern seltags, put it in jdwmconf 2007-09-06 19:05:26 +02:00
Julien Danjou
f7173bd79d first import 2007-09-05 20:15:00 +02:00