Commit Graph

1947 Commits

Author SHA1 Message Date
Julien Danjou ddd4f1c43b Refactorize item drawing: add draw_item() function 2008-03-23 15:52:15 +01:00
Julien Danjou e5069d1b8c Add Xinerama support to awesome-menu and fix a bug with wrong displaying when selecting an item 2008-03-23 15:52:15 +01:00
Julien Danjou 5084451dc9 Fix rendering problem when selecting a item which would be drawn after the end of the screen. 2008-03-23 15:52:15 +01:00
Julien Danjou 7dbcdde705 Add reverse attribute to awesome-menu: support for XK_Left to go back 2008-03-23 15:52:15 +01:00
Julien Danjou e81bd8de02 Add a #prefix_list_next() function to lists functions
That may seem useless, but it's not.
2008-03-23 15:52:15 +01:00
Julien Danjou 867b2f0775 first version of awesome-menu 2008-03-23 15:52:15 +01:00
Julien Danjou a52832b57d Fix a bug in uicb_spawn when using IP address in DISPLAY
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-22 21:15:59 +01:00
Julien Danjou 74ab56b1b2 Stop adding useless space at the end of each default awesomerc line
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-21 14:50:35 +01:00
Julien Danjou 6036e68e85 Fix a bug with sleep()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-20 18:30:52 +01:00
Julien Danjou a734c7dd5d Remove transparency prop on focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-19 15:04:43 +01:00
Julien Danjou 4516bfcf3a Check for EWMH hints after reloading client props
This avoid to think a client has already props in case it's tagged
with EWMH and then do not use its rules
2008-03-15 14:46:45 +01:00
Julien Danjou 91a09c2423 Add a note about writing documentation 2008-03-15 09:47:43 +01:00
Thomas Janu a30c6279dc awesomerc-documentatin
Hello!

I just wrote some more documentation stuff for awesomerc that was missing and
changed some things I consider to be typing errors. Hope it helps.

Greetings,
	Thomas

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-14 15:09:38 +01:00
Julien Danjou d1e7633a22 Use tag code in case of no tag, not ours. 2008-03-14 07:27:23 +01:00
Julien Danjou f797aec81e Fix segmentation fault on no layout available 2008-03-14 07:23:39 +01:00
Julien Danjou 2b0de43885 Remove useless tab_border option. 2008-03-13 13:25:15 +01:00
Julien Danjou e534111a39 Update awesomerc.5 documentation 2008-03-13 13:09:19 +01:00
Julien Danjou e971ab1b51 Add some global options to awesomerc.5 2008-03-13 11:49:28 +01:00
Julien Danjou 23a31eda23 Add a manpage for awesome-message 2008-03-13 11:33:58 +01:00
Julien Danjou f4beb460d8 Add support for package codename into codename-stamp (like version) 2008-03-13 10:57:10 +01:00
Julien Danjou 14798753ca Bugfix in client_toggletag and checking if not tag selected 2008-03-12 16:09:56 +01:00
Hans Ulrich Niedermann 2d454a438a Determine screen number from $DISPLAY for restarts
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:50:11 +01:00
Hans Ulrich Niedermann f1e4ad09a1 Add make targets replacing the running awesome
Presuming we are running awesome on this screen, and this is
screen 0,

  * we replace the running awesome instance by a freshly compiled
    one with the "restart-uninstalled" target,
  * we replace the running awesome instance by the last installed
    one with the "restart-installed" target.

Note this can render your running X11 screen unusable.

A little bit of test magic starting Xnest should make more
confined tests possible with less serious failure modes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-09 20:49:47 +01:00
Julien Danjou a9d7a08c2e Add support for ~ in include() from awesome 2008-03-09 20:01:32 +01:00
Julien Danjou 2fd1f0db66 Write our own cfg_awesome_include() function to do check before calling confuse's one 2008-03-09 18:31:16 +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
Julien Danjou af04238204 Merge branch 'master' of ssh://git.naquadah.org/var/cache/git/awesome 2008-03-07 09:14:33 +01:00
Julien Danjou bd2f4a212e Move grabkeys() out of event, and move it into window; clean and remove setup() function in awesome.c 2008-03-06 16:18:01 +01:00
Julien Danjou d10036a366 Remove useless call to get_phys_screen() in grabkeys()
screen is already a physical screen since we use ScreenCount()
2008-03-06 16:09:38 +01:00
Julien Danjou fcf086ec08 Add some comments to window functions 2008-03-06 16:04:58 +01:00
Julien Danjou b58631581b Add comments to some layout functions 2008-03-06 16:03:01 +01:00
Julien Danjou 3d8b7565d4 Comments widgets functions 2008-03-06 11:41:26 +01:00
Julien Danjou 5efe8c6de4 Merge branch 'master' of ssh://git.naquadah.org/var/cache/git/awesome 2008-03-06 10:28:29 +01:00
Julien Danjou dd9a1b99c4 Rename events functions from handle_event... to event_handle 2008-03-06 09:09:59 +01:00
Julien Danjou edb865a070 Simplify grabkeys() function 2008-03-06 09:07:33 +01:00
Julien Danjou c1b503af1a Comment event.c functions 2008-03-06 09:05:15 +01:00
Julien Danjou fc7244758a [awesome-message] config_parse() now returns status as int
That allows us to check if the config parsing is ok and exit
properly otherwise.
2008-03-04 20:40:37 +01:00
Julien Danjou 9d98d71ad1 Keep floating windows on top of the stack 2008-03-04 15:25:59 +01:00
Julien Danjou 6231a0451c change awesomerc manpage ignore 2008-03-04 14:28:30 +01:00
Julien Danjou ee55e9f77a ignore BadMatch error for XConfigureWindow() calls 2008-03-04 12:56:43 +01:00
Julien Danjou de8dcbb724 replace drop_events arch by x,y pointer coordinates saving 2008-03-04 10:14:13 +01:00
marco candrian 317929baea Is the pointer inside client with including the borders...
it didn't reshift the pointer when the pointer was on the
right border (or even somebit in the client) because it didn't calculate
the border with to the dimensions.

Also, it wrapped the pointer inside the client. now it leaves it on the border
when that was the case before. Or on resizing (smaller) the pointer might also move
(relativ to the client) to the most outside point of the left or top border.

There is still the problem so:
the client gets moved/resize, the pointer might get out of the area temprarly and the
client loses the focus - despite that the pointer will reshifted onto it again.

A general: client_focus(sel, screen, False);
at the end seems to help, but is probably not clean etc.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-02 19:28:50 +01:00
Julien Danjou 8b8fc8148f add comments for simplewindow functions 2008-03-01 11:25:04 +01:00
Julien Danjou 5446071aef do not use cfg_print() to generate default configuration file: fwrite() the default one 2008-02-29 15:36:13 +01:00
Julien Danjou 0621a33130 add include() statement in awesomerc manpage 2008-02-29 09:55:39 +01:00
Julien Danjou 950c9b0820 support for include() in configuration file 2008-02-29 09:54:03 +01:00
Julien Danjou 86927a9e7e textbox can be flex-aligned 2008-02-28 16:19:38 +01:00
Julien Danjou 46b80552c6 add support for flex -> AlignFlex 2008-02-28 16:19:26 +01:00
Julien Danjou d7e679d2d7 add widget name in warnings 2008-02-28 16:19:03 +01:00
Julien Danjou 19ffbf6e0f move awesomerc manpages to section 5 (File format) 2008-02-28 12:36:17 +01:00