Commit graph

2198 commits

Author SHA1 Message Date
Michael Gehring
bdee66bcd9 [mouse] improved floating client resizeing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 20:01:45 +02:00
Michael Gehring
b6a81100d1 [mouse] add some Pointer related utility functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 19:59:48 +02:00
Michael Gehring
108b9a2870 [mouse] remove spurious xcb_aux_sync
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 19:58:38 +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
c5237444a9 [build] Fix lua detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 18:38:05 +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
05ef68a4c4 [refcount] Check for pointer existence
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 18:14:08 +02:00
Julien Danjou
eb8378749b [titlebar] Add titlebar_client_get()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 17:54:52 +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
5f2585d82e [screen] s/get_display_area/display_area_get/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 15:34:11 +02:00
Julien Danjou
fa08ec5316 [screen] Rename Padding to padding_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 15:30:47 +02:00
Julien Danjou
80ec848130 [client] Add titlebar_get()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 13:36:13 +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
131f31c561 [titlebar] Redraw on widget_add
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 13:27:13 +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
aecc3c0e45 [titlebar] Store titlebar inside client
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 11:50:21 +02:00
Michael Gehring
321f855752 stop reloading image on every draw
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 08:32:58 +02:00
Michael Gehring
f95889f2ad unify draw_image_from_file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 08:32:50 +02:00
Michael Gehring
88a0e58e79 add draw_image_new, draw_image_delete, draw_image
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 08:32:48 +02:00
Michael Gehring
d2f9c6518b rename draw_image to draw_image_from_file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 08:32:46 +02:00
marco candrian
0afa1a41b7 [tasklist] 'tags', 'focus', 'all', are new_value's
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 08:23:17 +02:00
Julien Danjou
4e066c4436 [titlebar] Remove dead code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 20:12:48 +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
Michael Gehring
26632ae48c [PATCH] [mouse] show correct geometry on resize (FS#203)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 14:22:59 +02:00
Julien Danjou
1dbea735b3 [list] Remove useless DO_SLIST_UNREF
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 11:53:59 +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
34cd5504a7 [widget] Make button press event statusbar indep
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 11:40:50 +02:00
Michael Gehring
c20a2cb416 [draw] fix --with-imlib2 build
when configured with imlib2 draw.c fails to compile (at least on arch
linux), as it cannot find the gtk/gdk-pixbuf headers. The #includes are
guarded by #ifdef HAVE_IMLIB2, but as config.h isn't included, this is
never defined.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 11:27:04 +02:00
marco candrian
007787107c [graph] re-add draw_style ('bottom', 'top' and 'line')
e.g.: graph:set("draw_style", "data-title line")

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 07:58:45 +02:00
Julien Danjou
f602a68541 [awesomerc] Simplify floating binding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 15:55:20 +02:00
Julien Danjou
e350a61eb0 [widget] Add tasklist show property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 14:26:49 +02:00
Lucas de Vries
a4161434c2 [tasklist] Add show_icons property handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 14:24:57 +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
930997898b [client] Add unmanage function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 08:32:16 +02:00
Julien Danjou
ff23b67c65 [hooks] Initialize lastrun to 0
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-01 19:00:31 +02:00
Julien Danjou
d19639d555 [awesomerc] Add example with real date
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:56:31 +02:00
Julien Danjou
dae5352d33 [awesomerc] Raise on tasklist click
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:50:01 +02:00
Julien Danjou
b202b22314 [hooks] Fix timer resolution
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:43:28 +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
5e01a24ac3 [awesomerc] Fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 15:57:22 +02:00
Lucas de Vries
252fd45573 [awful] Handle hooks
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 15:47:00 +02:00
marco candrian
878b4de509 [graph] lua transition
no 'draw_style' yet.
2008-05-31 14:53:56 +02:00
Michael Gehring
2cb52ca2d1 make D-BUS optional
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 08:33:21 +02:00
Michael Gehring
b7a57f2a62 remove bogus commandline options
-k and -s are not implemented so remove them.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 08:32:23 +02:00
Michael Gehring
b62fda99c3 exit if loading/parsing of configuration file fails
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 19:58:21 +02:00
Julien Danjou
83534783c0 [awesomerc] Add a default hook timer to have time
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 18:50:09 +02:00