Commit Graph

8079 Commits

Author SHA1 Message Date
Julien Danjou 4e14888e73 use a more generic mouse_opt 2007-11-11 16:48:19 +01:00
Julien Danjou 95938f8fef factorize mouse button press event handling for status bar 2007-11-11 16:33:59 +01:00
Julien Danjou 0bee56e27d mouse buttons are now configurable for click on layout symbols 2007-11-11 16:01:49 +01:00
Julien Danjou 99370f0ccd mouse buttons are now configurable for click on title bar 2007-11-11 15:55:13 +01:00
Julien Danjou 83f7087f13 don't forget to delete mouse bindings for tabs 2007-11-11 15:43:49 +01:00
Julien Danjou a75c7f694a mouse buttons are now configurable for click on tag names 2007-11-11 15:40:01 +01:00
Julien Danjou 7604fa70b5 introduce mouse section in config file 2007-11-11 13:17:23 +01:00
Julien Danjou 799da178b0 layouts are now configurable per screen 2007-11-11 12:05:04 +01:00
Julien Danjou 1c9c2b9309 general options are now configurable per screen 2007-11-11 12:02:16 +01:00
Julien Danjou 9d6a985a02 colors are now configurable per screen 2007-11-11 11:58:58 +01:00
Julien Danjou ceb6cc797a ncol is now configurable per tag 2007-11-11 11:55:20 +01:00
Julien Danjou 59f377526f nmaster is now configurable per tag 2007-11-11 11:53:10 +01:00
Julien Danjou 32b098796e mwfact is now configurable per tag 2007-11-11 11:48:26 +01:00
Julien Danjou a30227e27b tags are now per screen configurable 2007-11-11 11:36:30 +01:00
Julien Danjou 8b048ec6fe tags uicb function does not take arg name anymore, but tag index number 2007-11-11 11:30:07 +01:00
Nikos Ntarmos 0f840d2eec Sanitize screen changes - take 2
I was looking back at this issue and realized that it is possible for
one of the x,y coordinates to be negative and yet a screen change must
be performed. This may happen when a window is moving with its
upper-left corner outside the upper part of the screen, and it crosses
the x-axis boundary between two consecutive screens.
2007-11-10 17:59:33 +01:00
Julien Danjou 1004cefa2f Remove current tab support
We will add a real new one later.
2007-11-10 10:45:32 +01:00
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