Commit Graph

6362 Commits

Author SHA1 Message Date
Julien Danjou 602d92d8b2 move statusbar_default_position in Statusbar struct 2007-11-10 10:17:54 +01:00
Julien Danjou 101e1783d8 Also use dummy arg to togglefloating for mouseresizing 2007-11-10 10:13:10 +01:00
Julien Danjou 6ef4b8e741 really update coords on resize 2007-11-10 10:12:50 +01:00
Julien Danjou ae4932ce46 focus screen-moved window 2007-11-10 10:03:53 +01:00
Nikos Ntarmos e2452fa62a Sanitize screen changes
Whith Xinerama active a client that moves outside the upper-left screen
boundary is erroneously changing screens. The attached patch changes
this behavior so that a client may change screen only when its new
coordinates are positive. The assumption is that the client can't fall
off the lower-right boundary since the mouse pointer can't go there when
moving. However, the upper-left corner of a window (which is the point
we use to compute the client's scren) can move more to the left or up
than the upper-left corner of the screen (coords 0,0) thus becoming
negative.
2007-11-09 19:25:31 +01:00
Nikos Ntarmos 360f96b5fd stop centering mouse on move, just keep current coords 2007-11-09 19:22:42 +01:00
Julien Danjou 6fae35349a Implement per screen configuration for statusbar.
Others will come later.
2007-11-09 14:45:43 +01:00
Julien Danjou f8c885aac5 Remove garbage in awesomerc
Thanks Piotr Husiatynski for pointing this
2007-11-08 17:33:11 +01:00
Nikos Ntarmos c108c444df Make config.mk bsd-friendly
The $(shell ...) substitution in config.mk is not understood by
BSD-style make. The attached patch allows it to work with both BSD and
GNU make.
2007-11-08 11:40:35 +01:00
Nikos Ntarmos ae406f51dc Map new clients on the screen where the mouse pointer is
I was having this annoying issue with multi-head setups on d9b49f5,
where new clients would always get mapped to the same screen (leftmost).
It seems that the x and y coordinate in the XWindowAttributes of new
clients are set to 0,0. The attached patch ignores these values and uses
the coordinates of the mouse pointer instead.
2007-11-08 11:38:18 +01:00
Nikos Ntarmos 96350151b9 Fix issue with multiple clients having focused border on same tag
It so happens that when two clients are fired up one after the other on
the same tag, they both get a 'focused'-type border. A bisect sequence
showed that the culprit was commit 001f430. I think that it all boils
down to client_manage just setting tag->client_sel and hoping for
arrange(...) to do the Right Thing (TM). The attached patch uses
focus(...) instead.
2007-11-08 11:31:37 +01:00
Nikos Ntarmos 89e16fad93 reset correctly active tag on reload 2007-11-08 11:23:04 +01:00
Nikos Ntarmos be61dcdddf store configpath in awesomeconf 2007-11-08 11:22:25 +01:00
Mychael Janes f140ee9970 added awesome-client to ignore list 2007-11-04 17:39:04 +01:00
Julien Danjou d9b49f546e config: print useful error messages on parsing error or config file error 2007-10-31 15:11:39 +01:00
Julien Danjou eabbd371a5 events: warp and center in window pointer when moving with mouse 2007-10-31 14:27:28 +01:00
Julien Danjou 93310f673d uicb_reloadconfig: delete savetagclientsel 2007-10-31 11:49:51 +01:00
Julien Danjou 3328104ccd use a_str* functions instead of str* 2007-10-31 11:47:22 +01:00
Julien Danjou ee64728f41 add reloadconfig key binding 2007-10-31 11:46:09 +01:00
Julien Danjou 04255a9251 simplify savetagclientsel 2007-10-31 11:43:17 +01:00
Julien Danjou 582c81a3d0 uicb_reloadconfig: cosmetic and simplify clients pointer 2007-10-31 11:41:50 +01:00
Nikos Ntarmos 983d2d72a6 implement uicb_reloadconfig 2007-10-31 11:37:38 +01:00
Nikos Ntarmos 982230c82b add cleanup_screen() and setup_screen() functions to split init/clean ops 2007-10-30 14:59:24 +01:00
Nikos Ntarmos bf90028edb modify parse_config() to not take display and screen as arg 2007-10-30 14:57:00 +01:00
Julien Danjou e98697ddfd don't free client_sel since we don't p_new() it 2007-10-30 11:18:49 +01:00
Julien Danjou d64d353d5b fix mouse wheel on root window for Xinerama 2007-10-29 20:21:13 +01:00
Julien Danjou 96430ced33 split install and strip to allow unstripped install 2007-10-29 20:19:14 +01:00
Julien Danjou f28f0e7407 add display name in socket path 2007-10-29 17:29:58 +01:00
Julien Danjou 0c826b8ab3 add RELEASE in config.mk 2007-10-29 17:16:33 +01:00
Julien Danjou 7476a9712a don't forget to delete addr pointers 2007-10-29 16:23:05 +01:00
Julien Danjou c8e489d4c9 return EXIT_FAILURE on failure 2007-10-29 16:20:11 +01:00
Julien Danjou 78b3dab63e remove unused pointer **sel in main() 2007-10-29 16:16:17 +01:00
Julien Danjou 27e7706800 move common stuff for socket com into awesome-client-common.c 2007-10-29 16:14:50 +01:00
Julien Danjou cbd817c65e reset CFLAGS to 03 2007-10-29 15:44:34 +01:00
Julien Danjou 14e8c82a8a fix max() size restore, introduce volatile option to resize() 2007-10-29 15:24:10 +01:00
Julien Danjou 335b2c53ab fix offscreen apperance in Xinerama 2007-10-29 12:44:22 +01:00
Julien Danjou 60352e221a remove fifo code 2007-10-29 10:58:02 +01:00
Julien Danjou 4c712ea158 remove awesome-client on uninstall 2007-10-28 20:36:05 +01:00
Julien Danjou 4406efaeda install awesome-client in install target 2007-10-28 19:28:38 +01:00
Julien Danjou bd20a965f3 update client coords on manage() to set them on the right screen in Xinerama 2007-10-27 22:54:34 +02:00
Julien Danjou fe7f17a8d8 update dist and clean target to support awesome-client 2007-10-27 18:50:00 +02:00
Julien Danjou 7e755c17ea add awesome-client.h with common #define and add copyright notice in awesome-client.c 2007-10-27 18:47:13 +02:00
daniel@brinkers.de 23d2e4dd57 add awesome-client to communicate via awesome socket 2007-10-27 18:11:27 +02:00
Florian Forster 0bbfff8026 awesome(1): Fixed a typo.
Signed-off-by: Florian Forster <octo@verplant.org>
2007-10-27 18:09:07 +02:00
Florian Forster 0dce437e0f awesomerc: Remove one of the two `toggletag 3' definitions.
Having this twice has the funny effect of the tag being activated and (near)
constantly being deactivated again.

Signed-off-by: Florian Forster <octo@verplant.org>
2007-10-27 18:09:07 +02:00
Florian Forster ba80b49fd4 config.c: Fix a segfault when an invalid `ModKey' is specified.
Signed-off-by: Florian Forster <octo@verplant.org>
2007-10-27 18:09:07 +02:00
Florian Forster 71e6e4db65 config.c: Print an appropriate error message when reading the configuration fails.
Signed-off-by: Florian Forster <octo@verplant.org>
2007-10-27 18:09:07 +02:00
Julien Danjou ddfc087c99 also saves real coords in floating layout 2007-10-27 09:02:48 +02:00
Julien Danjou 001f430c0c remove global client_sel, use tag's client_sel 2007-10-26 23:19:13 +02:00
Julien Danjou 9d507dc50c rewrite get_current_tag_number() in get_current_tag() 2007-10-26 22:15:26 +02:00