Commit Graph

71 Commits

Author SHA1 Message Date
Julien Danjou dc27cff8ab [awesome] Remove checking for value before p_delete()'ing memory
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:35 +02:00
Julien Danjou b142264787 [draw] Make draw_text using a const pointer to a style
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:06 +02:00
Julien Danjou 04ea13c205 [screen] Rename ScreensInfo to screen_info_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:05 +02:00
Julien Danjou 33837d77a1 [draw] Rename DrawCtx to draw_context_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:05 +02:00
Julien Danjou f12f1798dd [draw] Add margin code inside markup string
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:05 +02:00
Julien Danjou 5c51759cca [draw] Make text_align part of markup format
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:05 +02:00
Julien Danjou ce8d1ff89e [titlebar] Add string to format
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:04 +02:00
Julien Danjou e246410126 [swindow] Rename SimpleWindow to simple_window_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:02 +02:00
Julien Danjou a04395ddc9 [swindow] Store gc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:02 +02:00
Julien Danjou da0b04d667 [awesome-menu] Fix quitting
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:02 +02:00
Julien Danjou 01f0a6bde6 [events] Wait for events rather than poll
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Julien Danjou 33709c62cd [xutil] Remove map_raised
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Julien Danjou a664203639 [xutil/awesome] Cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:01 +02:00
Arnaud Fontaine a1f8a0520f [awesome-menu] Convert properly a KeySym to a character
It now allows special characters like tab and return to be properly
displayed instead of calling XKeysymToString() which only removes the
'XK_' prefix from each name and also converts a keysym to an unicode
character.
2008-05-03 12:01:01 +02:00
Julien Danjou 989b89c0cd [awesome-menu] Fix uninitialized variable 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 71e9100927 Remove useless xutil_root_window() 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 02c99fccb8 Prefix xutil functions properly 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 1eab0e44e7 * Make key symbols table, NumLock, ShiftLock and CapsLock global variables.
* Get CapsLock and ShiftLock masks properly and fix XLookupString() XCB equivalent.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine ed00d300ab Translate properly a KeyCode to a KeySym and a string (XKB support
missing ATM).
2008-05-03 12:01:00 +02:00
Arnaud Fontaine dafafd077c Port Awesome to XCB 2008-05-03 12:00:59 +02:00
Nikos Ntarmos ef60378754 [common] remove and getline and strndup usage
There is no getline() on FreeBSD, nor any strndup().

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 23:08:18 +02:00
Julien Danjou 7a220718d2 [awesome-menu] Grab keyboard earlier if stdin is not a tty
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 16:43:18 +02:00
Julien Danjou ce117df401 [awesome-menu] Map when finished to draw
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 15:50:29 +02:00
Julien Danjou 99c9e00d99 [awesome-menu] Remember the last completion request (FS#136)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 15:32:41 +02:00
Julien Danjou ff44fc44ca [awesome-menu] Documente code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:25:59 +02: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
marco candrian b92a292e43 additional line width argument to draw_rectangle[_gradient] in draw.c
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou 1d468c5583 Lot of cosmetic changes: proto change, etc.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou accf223bb1 Use warn() instead of perror()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou c7e821a54a Remove sizeof() usage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Arnaud Fontaine 77dfdd2928 Remove PATH_MAX usage from awesome-menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 9204066788 Begin to use validate function in config handling 2008-03-23 15:52:21 +01:00
Arnaud Fontaine 7743e71837 Add missing includes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Julien Danjou 74777016af Documente existing -c option of awesome-menu 2008-03-23 15:52:19 +01:00
Julien Danjou c6eec955c8 Rename Area to area_t 2008-03-23 15:52:18 +01:00
Julien Danjou d10b98c101 Make awesome-{menu,message} Xinerama aware 2008-03-23 15:52:18 +01:00
Julien Danjou fa47024714 Change colors infrastructure to style: rename colors_ctx_t to style_t and add font in it 2008-03-23 15:52:18 +01:00
Julien Danjou 9dfd488dda Change colors handling 2008-03-23 15:52:18 +01:00
Arnaud Fontaine fc9e31ff62 get rid of PATH_MAX
I  replaced  stack  memory  allocations  with PATH_MAX  by  heap  memory
allocations on post-2.2 branch  because PATH_MAX isn't necessary defined
according to  POSIX specification.   For instance GNU/Hurd  doesn't have
PATH  size restriction,  thus doesn't  defined PATH_MAX  and compilation
will fail.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:17 +01:00
Julien Danjou 6b4c9fed83 Remove useless ; after DO_SLIST macro 2008-03-23 15:52:17 +01:00
Julien Danjou 0a980095b3 Rework colors stuff, add a common colors_ctx_t containing colors and shadow options 2008-03-23 15:52:17 +01:00
Julien Danjou cbc5ec8060 Use common/xscreen infra to get screens info 2008-03-23 15:52:17 +01:00
Julien Danjou 8db08ea43e [awesome-menu] Fix a problem with XK_Tab completion and with "." listing 2008-03-23 15:52:17 +01:00
Julien Danjou f3652aaca6 Add a pointer to SLIST struct to store previous element
This will make back cycling faster
2008-03-23 15:52:17 +01:00
Julien Danjou 6d5d2e68d6 [awesome-menu] Add a final / to directory names 2008-03-23 15:52:17 +01:00
Julien Danjou 6b06e6808a [awesome-menu] Add support for ~user path 2008-03-23 15:52:17 +01:00
Julien Danjou 33560c393d [awesome-menu] Check that we have enough width to draw our items 2008-03-23 15:52:17 +01:00
Julien Danjou 4a41a50a39 [awesome-menu] Better handling of selected item that are drawn in the end of the list 2008-03-23 15:52:17 +01:00
Julien Danjou e668bf8dc3 [awesome-menu] Fix problem with filling via stdin was overwritten 2008-03-23 15:52:17 +01:00
Julien Danjou e6b3aa92f5 [awesome-menu] Remove a bunch of useless keybindings and add support for ISO_Left_Tab 2008-03-23 15:52:17 +01:00