Commit Graph

1828 Commits

Author SHA1 Message Date
Arnaud Fontaine b0b0dcf525 [client] Send properly the ClientMessage request when killing a client 2008-05-03 12:01:01 +02:00
Arnaud Fontaine d2383012f7 Remove xsync option (no XCB equivalent of XSynchronize) 2008-05-03 12:01:00 +02:00
Julien Danjou 989b89c0cd [awesome-menu] Fix uninitialized variable 2008-05-03 12:01:00 +02:00
Arnaud Fontaine ff13d83f55 [mouse] Fix regression in moving 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 70dafae396 Move xcb_event_handler code to xutil 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 da5236d57a Cosmetic 2008-05-03 12:01:00 +02:00
Julien Danjou 75926a6039 [ewmh] Fix data type in EWMH icon
Actually, it should be CARD32 in Xlib, but somehow this did not work
until I used unsigned long. This seems to be fixed in xcb, I'm
impressed.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine fa5bc02103 Fix incorrect porting of XCreateFontCursor() 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 6db3cd48d8 Get properly windows geometry when handling existing windows at Awesome startup 2008-05-03 12:01:00 +02:00
Julien Danjou cd42cda9d4 [screen] Use default screen on Xinerama for 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 bcdc000e2c Fix typo when checking GetGeometry reply 2008-05-03 12:01:00 +02:00
Julien Danjou 3b295beaed Fix Xinerama detection 2008-05-03 12:01:00 +02:00
Arnaud Fontaine bf4071397a * Remove buggy ignore_motion_events.
* Add xcb_aux_sync() in order to fix problem when moving or resizing a window.
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 64edc7c767 Allow to specify hexadecimal colors in configuration 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 970d2e7bd9 When handling a ConfigureRequest, send a ConfigureWindow according to
the event value mask.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine 4a1720ddca Remove useless x_select_input() which leaded to useless requests 2008-05-03 12:01:00 +02:00
Arnaud Fontaine abcb60b9ea Fix x_get_transient_for_hint() based on XGetTransientForHint() 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 164e696005 Cosmetic 2008-05-03 12:01:00 +02:00
Arnaud Fontaine 163c1240d8 Fix incorrect call of xcb_configure_window() 2008-05-03 12:01:00 +02:00
Arnaud Fontaine df3e102832 Rewrite code which query xinerama screens to fix a double free 2008-05-03 12:00:59 +02:00
Arnaud Fontaine 3ea19aab12 Set properly the border width of a new window 2008-05-03 12:00:59 +02:00
Arnaud Fontaine 4bd034f768 Use unchecked instead of checked call because the error has to be in the error queue 2008-05-03 12:00:59 +02:00
Arnaud Fontaine 98091b2f1e Copy properly a window text property 2008-05-03 12:00:59 +02:00
Arnaud Fontaine dafafd077c Port Awesome to XCB 2008-05-03 12:00:59 +02:00
Thomas Janu 7e301b5ef2 Layer 0 is also usable now
The check for a valid layer was wrong

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:00:25 +02:00
Wolfgang Kroener 3af77fd56e add ewmh stacking layers
Add layers for ewmh stacking order
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#STACKINGORDER
desktop, below, tile, float, above, fullscreen

Signed-off-by: Wolfgang Kroener <wk@azog.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:00:25 +02:00
Julien Danjou 24d2e200af [client] Fix for 'invalidate' cache when swapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 11:59:56 +02:00
Julien Danjou 5daa3c6478 [client] Invalidate cache when swapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 11:53:38 +02:00
Jan Niehusmann 78dd0b8620 [event] Fix handling of keysym/keycode in event_handle_keypress.
Only compare the configured one of these two properties for any
given key.

Signed-off-by: Jan Niehusmann <jan@gondor.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 14:23:58 +02:00
Julien Danjou 6623668b6f [config] Store keysym or keycode (FS#64)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 11:12:53 +02:00
Julien Danjou 73dee91a28 [layout] Do not focus new client if current focused is maximized (FS#182)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 11:02:22 +02:00
Julien Danjou 4ca0c6f684 [doc] Generate doc for widgets/layouts/common
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 10:55:46 +02:00
Julien Danjou e3496f7a25 [config] Enhance rules documentation a bit
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-30 11:11:32 +02:00
Julien Danjou 20ad84d972 [config] Fix memory leak in widget handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-28 22:00:19 +02:00
Julien Danjou 84df60e11b [draw] Check len while checking for UTF-8 chars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-28 07:35:03 +02:00
Julien Danjou afdc57bc97 [titlebar] Add proper interface to set titlebar position
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-24 22:58:25 +02:00
Julien Danjou 3df5a50fc4 [titlebar] Fix unmap/map handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 14:25:40 +02:00
Julien Danjou 029a60072b Enhance AUTHORS file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 10:52:12 +02:00
marco candrian ce17b1457e [widgets] allow NULL for 'command' (FS#175)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 08:49:31 +02:00
Julien Danjou 62e3eb758b [awesomerc] Fix indentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-22 11:03:06 +02:00
marco candrian 88a08c210f force a floating point division
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:28:54 +02:00
marco candrian 8129bb7135 documentation fix on client_settrans
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:28:54 +02:00
marco candrian 7cad52aa01 [progressbar] Fix X computation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:25:13 +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
marco candrian 1b65a8acfd [draw] line-width increasing from 1.0 to 1.25 for line-style
1.25 figured out by testing...

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 11:20:06 +02:00
marco candrian 37f05a8277 [draw] precise line drawing using antialiasing
Antialiasing also has the advantage, that the path get's drawn now precisely -
there have been some issues without ... depending on the line-angle, some
pixels weren't filled on some y coordinates etc.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 11:19:59 +02:00