Commit Graph

221 Commits

Author SHA1 Message Date
Pierre Habouzit 9ea15fd224 And migrate the rest of the loop to the libev.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-17 00:30:53 +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
Julien Danjou 70dbe7bc4d systray: add support for multiple physical screens
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-14 23:23:00 +02:00
Julien Danjou e5e379656a systray: import widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-14 18:12:16 +02:00
Julien Danjou a7d89a6c24 statusbar: fix removal segfault
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-12 14:48:24 +02:00
Julien Danjou 1ac6bf17aa statusbar: add widget_remove()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-12 14:40:15 +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 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 8078d45da1 [statusbar] Use new userdata fct
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 18:05:32 +02:00
Michael Gehring 59c04890fc [cleanup] random doxygen fixes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 17:13:09 +02:00
Julien Danjou 4c41361d6c [lua] Add object as argument to mouse click function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 19:21:21 +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 2742318f16 [common] Use pixmap instead of drawable type
It's just more clear.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 16:13:41 +02:00
Julien Danjou 24176ba8c7 [screen] s/screen_get_area/screen_area_get/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 15:35:48 +02:00
Julien Danjou 70dbc724bf [titlebar] Add titlebar_widget_get()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 13:29:45 +02:00
Julien Danjou 35b5afe38c [widget] Move widget_get to statusbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 13:25:34 +02:00
Julien Danjou 1e08a992b8 [titlebar] Rewrote titlebar based on widgets
This is the new titlebar handling code, based on widgets.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 18:41:54 +02:00
Julien Danjou dfea3c3bba [widget] Split out widget rendering
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 16:32:23 +02:00
Julien Danjou 807c5bf208 [widget] Remove useless drawing args
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 16:08:33 +02:00
Julien Danjou 59aa2b2da7 [statusbar] Add a flag to know if user specified width
That fix dynamic position switching.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 11:47:05 +02:00
Julien Danjou d8a5b43f26 [widgets] Make draw functions statusbar-less dependents
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 12:18:17 +02:00
Julien Danjou 01fe4e3331 [statusbar] Remove multi-threading code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 16:04:46 +02:00
Julien Danjou 7cff3567e3 [statusbar] Fix left and right statusbars alpha support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 18:09:54 +02:00
Julien Danjou 51b0a5e20c [statusbar] Add alpha channel support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 13:08:11 +02:00
Julien Danjou c332971b21 [draw] Rename draw_color_new() to xcolor_new()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 12:34:38 +02:00
Julien Danjou 106ed4ee65 [statusbar] Fix multithread issue
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 10:24:13 +02:00
Julien Danjou eacd9b1e69 [statusbar] Remove spurious printf
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 14:13:13 +02:00
Julien Danjou fda025a591 [statusbar] Add fake transparency
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 13:01:09 +02:00
Julien Danjou befd2324d1 [statusbar] Add doc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 10:13:27 +02:00
Julien Danjou b1467494ea Revert "[lua] Add a hook on standard fd activity"
This reverts commit 785c41f089.

Too much potential deadlock problems.
2008-05-27 16:36:06 +02:00
Julien Danjou c3d16391f5 [statusbar] Add position_get() function for statusbars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 16:04:05 +02:00
Julien Danjou 785c41f089 [lua] Add a hook on standard fd activity
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 15:56:14 +02:00
Julien Danjou 664dfcd0b8 [statusbar] Force X to sync after drawing statusbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 15:51:58 +02:00
Julien Danjou aa33db169a [statusbar] Need arrange on every position change
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 15:23:24 +02:00
Julien Danjou a0b24c5505 [statusbar] Implement multi-threading per statusbar
More more efficient than before.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 11:17:51 +02:00
Julien Danjou 2654b5b938 [statusbar] Remove todo.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 17:44:59 +02:00
Julien Danjou 2b0e70dc5b [statusbar] Check for names and uniqness before adding, add remove function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 14:34:16 +02:00
Julien Danjou 6931bc70e6 [statusbar] Add align option
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 11:08:34 +02:00
Julien Danjou 968a9080c5 [statusbar] Respect width paramater on creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 09:06:04 +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 ffdb9727b7 [widget] Add a visible attribute to widgets and Lua functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 19:29:55 +02:00
Julien Danjou 819ba3f191 [layout] Change {layout,statusbar}_refresh proto
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 14:40:16 +02:00
Julien Danjou 597719e5aa [statusbar] statusbar_position_update() is static
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 20:02:08 +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 255d91c711 [statusbar] Separate widget cache inside widets and sbars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-13 16:48:33 +02:00
Julien Danjou a73b07f5d3 [statusbar] Rename Statusbar type to statusbar_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00