Julien Danjou
207df8e2b0
luaa: change deprecate() with more useful info
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 11:54:08 +01:00
Julien Danjou
5709435392
wibox: rework, merge titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou
2dfde8c181
util: remove off position
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
305af484f5
wibox: add full geometry
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
0feb7de68e
wibox: merge statusbars and titlebars Lua objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:34:43 +02:00
Julien Danjou
14c5644fbf
wibox: remove name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
34fe130307
wibox: merge statusbar and titlebar types
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
2e17f8a662
swindow: do not store phys_screen; store border color
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
fcc93e5f88
draw: merge draw context into swindow
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
44ef511aed
screen: store statusbars as array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
b11c068b96
statusbar: remove phys_screen attribute
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
2fa76f9237
statusbar: remove width_user
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
4193e81fa8
screen: merge with xscreen, remove screens_info
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
6a5ad6af9b
common: move draw, xscreen and swindow out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
85c85976c0
statusbar: only rebuild when necessary
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
fcde8d229b
ewmh: add support for _NET_WM_STRUT_PARTIAL
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
e871bbfa18
widget: add support for mouse enter and leave events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
da9de6938d
statusbar: add statusbar_getbywin()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
7b00a2baf0
systray: reparent windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 17:54:53 +02:00
Alex Cornejo
93e0b4ecfe
statusbar: systray inherits the bg color.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 10:07:30 +02:00
Julien Danjou
7409f6e778
Lua API documentation fixes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-25 18:04:42 +02:00
Julien Danjou
d261f9a3cc
widgets: generic set/get for list
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 19:13:46 +02:00
Julien Danjou
145e19b2e6
statusbar: widget is now a function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 18:20:39 +02:00
Julien Danjou
a567917cc5
screen: reset statusbar and windows properly on padding changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-14 18:25:45 +02:00
Arnaud Fontaine
193a73c5d9
draw: make xcolor_init() asynchronous.
2008-08-12 14:53:57 +02:00
Kanru Chen
4ceb4e8bde
statusbar: don't refresh screen if statusbar is not assigned one.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 09:49:40 +02:00
Julien Danjou
be2bfdcfc5
screen: introduce screen objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 17:14:02 +02:00
Julien Danjou
adebbb5df2
systray: ignore XEMBED_MAPPED, everyone is not XEMBED aware
...
Like QT apps.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 20:58:03 +02:00
Julien Danjou
56b42a7878
titlebar: widgets are now returned/set as array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:49:26 +02:00
Julien Danjou
e5d828b369
statusbar: widgets is now an array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 15:47:09 +02:00
Julien Danjou
e7871ff8f8
statusbar: support systray kick out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 17:23:37 +02:00
Julien Danjou
189157843a
systray: remove has_systray
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 17:03:14 +02:00
Julien Danjou
254a39b6d3
statusbar: handle systray invisibility
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 16:59:54 +02:00
Julien Danjou
3db9f29453
appicon: new widget, used in titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:51:21 +02:00
Julien Danjou
4ba2e22bae
widget: add detach callbacks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 11:50:40 +02:00
Julien Danjou
80b79717ba
various documentation update for _index()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 16:03:38 +02:00
Julien Danjou
8329d7e1c5
statusbar: fix color initialization
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 18:20:46 +02:00
Julien Danjou
21f1f4cf0a
statusbar: use screen attribute to add to screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:37:24 +02:00
Julien Danjou
36fd44d1a0
draw: add char len as arg of xcolor_init()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:30:16 +02:00
Julien Danjou
015f529928
documentation update and disallow tag name change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:10 +02:00
Pierre Habouzit
46ea7c45aa
Get rid of the color name, and generate a #RGBA value on the fly if needed.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 11:09:10 +02:00
Pierre Habouzit
924078c898
Streamline xcolor_t.
...
Do not have a ->name char * field, but a char[32] instead. This isn't a
big problem, the longest color in /etc/X11/rgb.txt is 23 chars long, and
if it becomes a problem one day, one could just strip the name and
generate an hexadecimal representation on the fly instead. But allocating
the name is asking for a lot of trouble.
Since we do not allocate anything anymore, just don't allocate anything
anymore at all, it avoids the mess of xcolor_copy/_wipe and fixes a lot of
sleeping bugs (p_dup were used e.g., which is wrong).
Pass xcolor_t *, xcolor_t becomes too big to be passed by value. Add
consts at some places.
xcolor_new allocates nothing, hence is renamed xcolor_init, has xcolor_t
as a first argument (OO-style, this is self), and doesn't touch the
structure at all if it returns false, which allow us to skip a lot of
intermediates values.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 10:36:46 +02:00
Julien Danjou
78eca81072
statusbar: fix the loop on widget_remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:58:44 +02:00
Julien Danjou
f2a2882cf5
statusbar: fix background color setting
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:45:07 +02:00
Julien Danjou
1723cc160a
lua: introduce luaA_usemetatable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:25:58 +02:00
Julien Danjou
3750b08248
statusbar: merge position_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 17:00:31 +02:00
Julien Danjou
06b490d319
statusbar: widget_get() returns a dict
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:53:20 +02:00
Julien Danjou
49f823dcb6
statusbar: merge colors_set() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:50:03 +02:00
Julien Danjou
99fe611d31
statusbar: introduce index, use it for align_set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:31:22 +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