Commit Graph

1939 Commits

Author SHA1 Message Date
Julien Danjou 3692e5f251 [config] Add documentation for a bunch of options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:31:55 +01:00
Julien Danjou d25ff609ca [build/doc] Add support for STR_LIST
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:02:53 +01:00
Julien Danjou ced72a959f [build] Add python detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:40:52 +01:00
Julien Danjou 7294dc55fd [build/doc] Add support for comments on section
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:22:35 +01:00
Julien Danjou 51b6630d9e [build] Change python path to /usr/bin/env python
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:13:14 +01:00
Julien Danjou 3d33c84e36 [titlebar] Check if titlebar was created before unmaping it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:01:57 +01:00
Julien Danjou 25b22a7cb9 [doc] Add autogeneration of options documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 16:48:52 +01:00
Julien Danjou c834134cc8 [doc] Autogenerate documentation for uicb from source code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 15:00:46 +01:00
Julien Danjou 4a40929d9b [placement] Fix smart placement with window which had titlebars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 10:38:33 +01:00
Julien Danjou 553af0db03 [event] Add more comment about the Bob Marley algorithm
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 16:57:50 +01:00
Julien Danjou 227c31fd77 [titlebar] Collapse for all position
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 11:07:23 +01:00
Julien Danjou 15256cccc1 [titlebar] Collapse titlebar to windows even if we do not resize it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 11:03:52 +01:00
Julien Danjou 3ea69238ae [widgets/progressbar] Initialize unit value to 0
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:59:06 +01:00
Julien Danjou 214b5a4a31 [titlebar] Fix resize_hints usage with titlebar
- titlebar_update_geometry() give now void
- we call titlebar_update_geometry_floating() to reset correctly the
  titlebar position for right/bottom, so they will be stucked to the window

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:57:06 +01:00
Julien Danjou 38ad723055 [titlebar] Reuse geometry_remove function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:46:25 +01:00
Julien Danjou 0a9b206fc0 [ewmh] Use premul alpha for net_wm_icons
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:26:08 +01:00
marco candrian 89f4e22255 [widgets] new progressbar options
if a ticks_count is defined (!= 0), round the value to them ('ticks')
and draw finally some gaps.

Also an important issue: since the bar needs to be 'homogenous', they may won't
match a given height. Some value tweaking will be necessary then.

An alternative would be a not homogenous bar, what is worse I think.

The values, when there are 'ticks', get rounded up somebit. So they get turned on,
when half of them is reached - or so.

new options (see awesomerc.5.txt for a more detailed description):

border_width
border_padding
fg_off

ticks_count
ticks_gap

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:02:37 +01:00
Julien Danjou 3fa15dd272 [core] Fix ConfigureRequest handling for non-floating windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 09:52:54 +01: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 5cabcab2f5 Fix a bug in NET_WM icon, blue and red were reversed
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 19:30:31 +01:00
Julien Danjou 3514982955 Focus has prio over urgent in titlebar style drawing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 19:07:25 +01:00
Julien Danjou 7605585aee Fix bug when switching focus to an empty screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 18:20:39 +01:00
Julien Danjou 06ac58cd6e Add icons in dist tarball and in default statusbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:59:51 +01:00
Julien Danjou d5d1319821 Do not start to OpenDisplay before reading command line options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:56:47 +01:00
Julien Danjou e9dbf302be Add window indicating size and position on move and resize (FS#107)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:10:12 +01:00
Julien Danjou f00b0b850e draw_textwidth() can use a const char *
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 15:55:45 +01:00
Julien Danjou 57c36df181 Add window snapping with siblings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 15:24:45 +01:00
Julien Danjou 9c17053c51 Moving client with mouse will now snap on titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:56:38 +01:00
Julien Danjou 13168d758a Add a function to remove titlebar geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:56:21 +01:00
Julien Danjou f47ca7cda7 Export titlebar_geometry_add() outside of placement to titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:45:13 +01:00
Julien Danjou ee56b41833 uicb_client_mousemove now detects screen changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:41:46 +01:00
Julien Danjou 536700b674 If the window did not received focus, restack it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 11:28:56 +01:00
Julien Danjou 762645ca32 client_focus() now return bool to indicate if it has given focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 11:28:38 +01:00
Julien Danjou da119cda7d Add alignment attribute to titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 17:42:45 +01:00
Julien Danjou c5afa7753b Split restack function out of focus, and fix click-to-raise
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 16:34:41 +01:00
Julien Danjou c39d8c2a7e Add width and height option to titlebars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 16:31:02 +01:00
Julien Danjou 7fae889888 Remove unused variable
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 15:26:13 +01:00
Julien Danjou dfb479b0f5 Switch pack name to lowercase
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 15:12:31 +01:00
Julien Danjou db8c39d5b0 Close X connection before execing in uicb_exec
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 14:45:46 +01:00
Julien Danjou b946119d46 Disable titlebar on fullscreen/maximize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 14:44:11 +01:00
Julien Danjou 2045c811e2 Enhance configurerequest handling a bit
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 14:37:57 +01:00
Julien Danjou 3310b974b4 Allow skip to be focused (by mouse) but refuse to focus them if they're newcomer
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 10:58:32 +01:00
Julien Danjou 60e36aee54 Add a workaround for cairo < 1.5
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 10:48:15 +01:00
Julien Danjou 8b411eb15d Use pre-multiplied alpha for cairo rendering
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 10:26:35 +01:00
Heikki Orsila 822fe535e3 Fix STYLE file to reflect current style [CORRECTIVE]
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 07:49:33 +01:00
Julien Danjou afa8591d50 Change opacity between 0 and 1 and update validation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 07:47:07 +01:00
Julien Danjou 8ba54194de Switch from uicb_exec(0, globalconf.argv) to uicb_restart()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 21:57:07 +01:00
Julien Danjou db0932f77a Cleanup stuff in client_manage for loading properties
Remove a double call to ewmh_check_client_hints, and only call
move_client_to_screen() when needed.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 21:56:12 +01:00
Julien Danjou 507ef3c21d Fix -c option, and make -k accept -c option better
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 21:35:34 +01:00