Commit Graph

1888 Commits

Author SHA1 Message Date
Julien Danjou ea7c1ceeb3 [ewmh/awesome] Comsmetics
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
Julien Danjou ef07db2bd4 [scan] Remove alloca() usage and simplify some stuff
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
Arnaud Fontaine a541477e94 Cosmetic 2008-05-03 12:01:01 +02:00
Arnaud Fontaine 2f9409ba74 Desallocate replies and events properly 2008-05-03 12:01:01 +02:00
Arnaud Fontaine 216f7f16f2 [awesome] Send geometry requests and then process the replies in scan() 2008-05-03 12:01:01 +02:00
Arnaud Fontaine 1309287ead Cleanup of TODO messages 2008-05-03 12:01:01 +02:00
Arnaud Fontaine d2d85941ad [common/xutil.c] Free ClassHint reply 2008-05-03 12:01:01 +02:00
Arnaud Fontaine d99586f68b [common/xutil.c] Rewrite xgettextprop properly for UTF8_STRING 2008-05-03 12:01:01 +02:00
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