Julien Danjou
9b74cdbc0a
draw: iso2utf now gets len as arg
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:44:19 +02:00
Julien Danjou
282dc95042
tag: use index for name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:31:47 +02:00
Julien Danjou
e012a4ba49
tag: use index for ncol
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:23:06 +02:00
Julien Danjou
d328904d30
tag: use index for nmaster
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:17:07 +02:00
Julien Danjou
ef7379c983
tag: remove mwfact_{get,set}, use {new,}index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 13:59:40 +02:00
Julien Danjou
f750124d5c
tag: add {new,}index, use it for selected
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 11:38:40 +02:00
Julien Danjou
45b0a2df80
lua: replace .new() by __call meth
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 14:11:54 +02:00
Julien Danjou
f2d2a10d9b
lua: remove luaA_name_init
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 13:50:49 +02:00
Julien Danjou
91b2926d8d
screen: merge tag_client_with_current_selected() code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-27 23:00:20 +02:00
Julien Danjou
013b2afe62
remove useless #include
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 18:10:45 +02:00
Julien Danjou
db88877587
lua: split getopt_string/getopt_lstring; fix mouse corner
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 17:33:05 +02:00
Pierre Habouzit
f84e66ddc6
Avoid lists of tag/client pairs, use an array per tag.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-24 14:30:13 +02:00
Pierre Habouzit
14f4e02e66
Replace tag_t lists with arrays.
...
This improves lots of code efficiency (we *know* how many tags we have
now, YA'RLY).
Also fix a \todo in client.c: since knowing the number of tags is cheap,
ignore props that don't match it.
Use many p_alloca for things that depends on the number of tags (no sane
user will have *thousands* of tags. This saves a few more mallocs.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 17:37:19 +02:00
Julien Danjou
ab5119732d
use more tokenizer, with len
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 14:01:33 +02:00
Julien Danjou
dc8a309c95
fix comments typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 20:00:24 +02:00
Julien Danjou
2aab3415e0
tag: fix comments typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 19:44:31 +02:00
Julien Danjou
92f369e3aa
lua: userdata_new is now macro
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 18:31:35 +02:00
Julien Danjou
6cfa589f03
tag: introduce geti() to get tag with numbers as index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 17:56:24 +02:00
Julien Danjou
c7fc344cd3
titlebar: check for widget uniqness
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 16:37:26 +02:00
Julien Danjou
471e0f1088
tag: tag.get() now returns an 'hash' table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 16:04:49 +02:00
Julien Danjou
9490c0c3fd
ewmh: add support for _NET_WORKAREA
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-17 22:12:30 +02:00
Julien Danjou
16646c86ab
lua: __eq methods are not macros
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-16 11:37:55 +02:00
Julien Danjou
6e36717163
lua: _gc are now macros
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-16 11:31:38 +02:00
Michael Gehring
276f5f8849
[doxygen] Add \lvalue and convert existing doc.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:36:34 +02:00
Michael Gehring
1ca55927f0
[doxygen] Convert Lua documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:12:51 +02:00
Julien Danjou
aa6bfc560a
[draw] Do inline UTF-8 conversion
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 07:32:35 +02:00
Julien Danjou
1049393840
Revert "Replace tags by workspaces"
...
This reverts commit 00f966ea04
.
Revert "[focus] Fix bogus arguments"
This reverts commit 816b5d16bc
.
Revert "[mouse] Fix bug with floating"
This reverts commit 89daa72790
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 21:56:03 +02:00
Julien Danjou
00f966ea04
Replace tags by workspaces
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 16:30:46 +02:00
Julien Danjou
98119d5d3f
[lua] Check for object validity
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 18:27:10 +02:00
Julien Danjou
0a44e90cb6
[lua] Fix garbage collectors
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 18:17:47 +02:00
Julien Danjou
aba52508c7
[tag] Documentation update
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 10:13:28 +02:00
Julien Danjou
6ad47dc828
[layouts] Add magnifier layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 20:54:53 +02:00
Julien Danjou
4b3e7f766c
[tag] Fix tag add checking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 16:20:38 +02:00
Julien Danjou
be44700669
[doc] Add new Lua based documentation generator for API
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 15:25:40 +02:00
Julien Danjou
971d51918b
[tag] Check that tag has not been added before.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 17:43:09 +02:00
Fabienne Ducroquet
834405425e
Rearrange the screen when changing layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 15:46:40 +02:00
Julien Danjou
21ae849d9f
Rename VirtScreen to screen_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 09:01:49 +02:00
Julien Danjou
0bbd2d4b3e
Rename AwesomeConf to awesome_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 08:59:27 +02:00
Julien Danjou
4e4a7d2703
[tag] Add luaA_tag_userdata_new() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 08:40:41 +02:00
Julien Danjou
c6261b028b
[tag] Add function to manipulate layouts
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 16:59:05 +02:00
Julien Danjou
2c548ef816
[tag] Add lua function to get/set tag's name.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 15:57:18 +02:00
Julien Danjou
0142f0efc9
[layout] Rename LayoutArrange to layout_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 15:11:59 +02:00
Julien Danjou
ccb2a2db77
[lua] Remove regex matching
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 13:17:02 +02:00
Julien Danjou
1c4acbe38c
[tag] Make static and remove useless functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 19:58:34 +02:00
Julien Danjou
1f046b3c9f
[everything] Switch from libconfuse to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00
Julien Danjou
48482f3712
[tag] Add missing elements in tag_push_to_screen()
2008-05-09 22:45:32 +02:00
Julien Danjou
e4d091ab2e
[tag] Rename Tag type to tag_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
d1635db59f
[client] Rename Client type to client_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
c9f4c45007
[rules] Rename Rule to rule_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Arnaud Fontaine
dafafd077c
Port Awesome to XCB
2008-05-03 12:00:59 +02:00
Fabienne Ducroquet
b12a5235a5
[doc] Fix some typos, modify a few descriptions
...
Before awesome 2.3 release, I've decided to look for typos in the
awesome* manpages, here is the result. I've also modified some options'
descriptions that I didn't find very clear, I hope I have not
added/missed too many mistakes as I'm not a native English speaker...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-11 07:34:45 +02:00
Julien Danjou
40eaa6b997
[doc] Add a bunch of documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 09:45:48 +02:00
Julien Danjou
4bfcfc5a9b
[tags] Check that at least one tag is vieedw on toggletag (FS#143)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 09:00:14 +02:00
Steffen Schulz
981c47835e
[uicb] uicb_client_toggletag() with NULL use as sticky toggle
...
The following modification to client_toggletag will make it possible to
make windows sticky/unsticky via client_toggletag(0).
Upon unsticky, the window will stay at the currently selected tags.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 09:06:53 +01:00
Julien Danjou
2a6292db29
Add documentation for tag_new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 08:53:14 +01:00
Julien Danjou
b39529b44d
Clean EWMH desktop calls
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
0a6c6e017b
Store physical screen id in statusbar and client, change get_phys_s() to screen_virttophys()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou
f88d403d1c
Update various copyrights
2008-03-23 15:52:19 +01:00
Julien Danjou
14798753ca
Bugfix in client_toggletag and checking if not tag selected
2008-03-12 16:09:56 +01:00
Julien Danjou
1b87c2be2a
Verify user input for tag values (mwfact, nmaster and ncol)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-08 10:26:51 +01:00
Michael Kaminsky
6fb68f5d90
Fix segfault after viewing same tag twice and doing a tag_prev_selected.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-26 22:22:38 +01:00
Julien Danjou
0b6129e625
remove {load,save}awesomeprops()
...
this is too bugged
2008-02-12 15:43:57 +01:00
Julien Danjou
105f89a58b
fix was_selected tag attribute handling
2008-02-04 14:32:06 +01:00
Julien Danjou
ab8d95f13d
rework include
2008-01-29 11:27:14 +01:00
Julien Danjou
d9298f6edb
rename get_current_tags to tags_get_current()
2008-01-29 08:31:13 +01:00
Julien Danjou
6a05197297
add tag_view_byinde()
2008-01-23 08:45:02 +01:00
Julien Danjou
668702b777
move list.h and util.[ch] to common/
2008-01-21 18:14:59 +01:00
Julien Danjou
6e4d13c9dc
add a new cache system for arrange()ing
2008-01-21 16:31:15 +01:00
Julien Danjou
5f72c9f056
use tag_list_next_cycle()
2008-01-21 16:31:15 +01:00
Julien Danjou
3b1526ea5b
store screen in tag
2008-01-21 16:31:15 +01:00
Julien Danjou
67c155c0dd
add tag_view() function
2008-01-21 16:31:15 +01:00
Julien Danjou
2592d3032c
add more functions to manipulate tags
2008-01-21 16:31:15 +01:00
Julien Danjou
4ee9cdcd67
make tag_view_prev and next to by cycling
2008-01-21 16:31:14 +01:00
Julien Danjou
94197429e5
tag_client_with_rule() only tag is a rule match
2008-01-21 16:31:14 +01:00
Julien Danjou
47ee745425
rewrite client_manage()
2008-01-21 16:31:14 +01:00
Julien Danjou
f700e483d6
rename TagClientLink to tag_client_node_t
2008-01-21 16:31:14 +01:00
Julien Danjou
6fc766a847
clean some tag stuff
2008-01-21 16:31:14 +01:00
Julien Danjou
45ac9d24f4
rename tag_view to tag_view_byindex
2008-01-21 16:31:14 +01:00
Julien Danjou
654fba9b5e
insert and use rule_matching_client()
2008-01-21 16:31:14 +01:00
Julien Danjou
29740269ec
rename is_tag_match_rules() to tag_match_rule()
2008-01-21 16:31:14 +01:00
Julien Danjou
628ce3e7ad
use list functions for TagClientLink
2008-01-21 16:31:14 +01:00
Julien Danjou
99e54ef971
use list functions for Tag
2008-01-21 16:31:13 +01:00
Julien Danjou
c248d9afca
resize with floating geom when setting floating
2008-01-17 10:08:20 +01:00
Julien Danjou
f7ea8a1c50
invalidate cache on tag switching
2008-01-11 16:01:10 +01:00
Julien Danjou
bbc94b97f8
fix some cache flags
2008-01-09 09:59:45 +01:00
Julien Danjou
a1205efc20
move toggle floating function to layout.c and fix problem when moving with mouse tiled windows
2008-01-07 13:38:26 +01:00
Julien Danjou
58c8912e33
Revert "force windows to tile mode" - it's useful afterall to not consider "no value" as "false"
...
This reverts commit 81afe81b4e
.
Conflicts:
event.c
2008-01-07 00:36:45 +01:00
Julien Danjou
81afe81b4e
force windows to tile mode
2008-01-07 00:28:27 +01:00
Julien Danjou
29a5cda54f
fix some weird conditions with fullscreen/max/arrange
2008-01-06 23:27:47 +01:00
Julien Danjou
4fbce766bf
add auto option to float in rules
2008-01-06 22:21:23 +01:00
Julien Danjou
af708d2fbc
Rewrite everything about client geoemtry, resize, etc.
2008-01-06 20:36:39 +01:00
Julien Danjou
70a3114dba
use Area as arg for client_resize
2008-01-05 20:19:59 +01:00
Julien Danjou
163acc8624
use Area to store window geoms
2008-01-05 19:38:50 +01:00
Julien Danjou
8978f0837e
break on detach or for() will fail to assign ->next
2008-01-04 17:08:30 +01:00
Nikos Ntarmos
e79fdcb22e
uicb_tag_view not working correctly with null argument
...
uicb_tag_view(...) hasn't been working correctly since tag_view(...)
came into existence. The problem is that saveawesomeprops(...),
arrange(...) and ewmh_update_net_current_desktop(...) need to be called
for a NULL argument as well, but these were moved to tag_view(...).
We can either add them back albeit only for the arg=NULL case, or move
these calls back into uicb_tag_view(...) and copy them over to
ewmh_process_client_message(...) and to all possible future users of
tag_view(...). The attached patch does the former.
2008-01-03 09:44:13 +01:00
Julien Danjou
5d9ef8b5d5
new uicb: tag_create
2008-01-02 17:10:32 +01:00
Julien Danjou
4f65aa8f51
rework headers inclusion
2008-01-01 18:02:36 +01:00
Julien Danjou
909f92d500
replace UICB_PROTO macro by a typedef
2008-01-01 17:25:48 +01:00
Julien Danjou
3216eb4d41
documente some functions and simplify client_saveprops() proto
2007-12-30 15:08:38 +01:00
Julien Danjou
f8300c5523
add support for _NET_CURRENT_DESKTOP messages
2007-12-28 22:16:27 +01:00