Commit graph

407 commits

Author SHA1 Message Date
Bastien Dejean
0c30711cae Fix incomplete source dependencies 2013-03-19 23:17:39 +01:00
Bastien Dejean
7a7130d4c8 Pattern rules are not POSIX 2013-03-19 19:03:17 +01:00
Bastien Dejean
1dd4f179b8 Sensible Makefile 2013-03-19 18:54:41 +01:00
Bastien Dejean
25d3c3051d Don't need clean or install 2013-03-19 16:48:30 +01:00
Bastien Dejean
fde438c092 Rework Makefile
Add headers dependency, let the commands be printed as if.
2013-03-19 14:54:53 +01:00
Bastien Dejean
a63125bec0 Encourage the use of pam 2013-03-18 21:02:37 +01:00
Bastien Dejean
1a1c282c8f Merge branch 'master' into fix-cpu 2013-03-18 19:56:57 +01:00
Bastien Dejean
84d4ad4eb8 Exhaustively clear input focus before unmapping
This is a fix for the following bug:
https://bbs.archlinux.org/viewtopic.php?pid=1244541#p1244541

I'm not sure why `monsterwm` is immune to this or if there's a better
way to fix it. I've made a test with a simple window listening to
focus{in,out} events and it did receive those events after being
unmapped without needing the fix...
2013-03-18 19:44:09 +01:00
Bastien Dejean
0158ea7da6 Change input focus before unmapping 2013-03-18 15:34:07 +01:00
Bastien Dejean
09f96321af Add looping examples 2013-03-18 11:30:41 +01:00
Bastien Dejean
2f6b48af34 Focus the root window on an empty desktop 2013-03-17 22:37:19 +01:00
Bastien Dejean
25b21321d3 Remove trailing spaces 2013-03-16 19:20:20 +01:00
Bastien Dejean
bd6877370c Clarify and expand the configuration documentation 2013-03-16 12:29:24 +01:00
Bastien Dejean
d393da88ce Version 0.5 2013-03-14 11:49:07 +01:00
Bastien Dejean
f7e38e44a7 Remove useless reload_* messages 2013-03-12 21:43:44 +01:00
Bastien Dejean
b273b9c9bd New argument for the rule message: follow 2013-03-12 10:56:45 +01:00
Bastien Dejean
67e57260dd Set current EWMH desktop in restore 2013-03-12 10:34:38 +01:00
Bastien Dejean
ac5ad7d1c0 Add new contributor 2013-03-10 23:09:11 +01:00
Bastien Dejean
45cb3efd44 New message: balance 2013-03-10 18:28:30 +01:00
Bastien Dejean
d18b3917ee Moving tiled windows to empty desktops 2013-03-10 09:55:09 +01:00
Bastien Dejean
5d9eebb463 Move tiled window: don't miss valid cases
When we move a tiled window from one monitor to the other, we don't care
about the state of the window under the pointer.
2013-03-09 20:49:19 +01:00
Bastien Dejean
b1318ee553 Moving a tiled window to another monitor
When we move a tiled window to another monitor via the `move` argument
of the `grab_pointer` message, we shall transfer the related node.
2013-03-09 19:40:47 +01:00
Bastien Dejean
1176b5c369 Lower the motion recorder when querying
The current implementation of `focus_follows_pointer` requires that the
motion recorder be lowered when `xcb_query_pointer` is called,
otherwise, the response will specify the motion recorder as child
attribute.
2013-03-07 21:53:45 +01:00
Bastien Dejean
6057feed61 Generalize swap_nodes
The `swap_nodes` function was not written to handle nodes from different
desktops. We need to be able to do that in order to move tiled windows
across monitors.
2013-03-07 21:34:33 +01:00
Bastien Dejean
f9401b9b9b Remove obsolete function 2013-03-04 21:13:10 +01:00
Bastien Dejean
829bc9b91f New setting: 'focus_follows_pointer' 2013-03-04 11:25:12 +01:00
Bastien Dejean
0acdab744c Remove setting: 'focus_follows_pointer'
It is impossible to make the feature work in every cases without
unwanted side effects, therefore it will only exists as a branch.
2013-03-04 11:19:24 +01:00
Bastien Dejean
6ea50d94a6 Make ffp reacts immediately 2013-03-04 10:41:35 +01:00
Bastien Dejean
ca01046c4e Disable motion recording as soon as possible
Also, get_pointed_window needs to lower the motion_recorder
window otherwise xcb_query_pointer will return that window as child
attribute.
2013-03-03 21:46:09 +01:00
Bastien Dejean
27204857af Update TODO. 2013-03-03 10:39:15 +01:00
Bastien Dejean
6bfebaaf6b Focus follows pointer rewrite 2013-03-02 19:39:16 +01:00
Bastien Dejean
336ec4c96c Update TODO 2013-03-02 17:45:43 +01:00
Bastien Dejean
83a10ac1e8 Remove obsolete prototypes 2013-02-28 17:36:56 +01:00
Bastien Dejean
0f6f533a87 Unify tiled and floating pointer actions
The following 'grab_pointer' arguments are removed: 'move_tiled',
'resize_tiled'. The regular 'move' and 'resize_*' arguments shall be
used instead. The 'fence_grip' parameter is no longer meaningful and
has been removed. Moving and resizing now behaves the same for tiled and
floating windows.
2013-02-28 15:04:14 +01:00
Bastien Dejean
3573089f0d Reuse W 2013-02-28 12:47:29 +01:00
Bastien Dejean
2d860de977 New 'grab_pointer' argument: 'resize_side'
The 'resize' argument is now called 'resize_corner'.
2013-02-28 12:27:26 +01:00
Bastien Dejean
695b50ab6a Use the default is XDG_CONFIG_HOME is not set 2013-02-28 11:22:50 +01:00
Bastien Dejean
df928c7053 New message: 'flip' 2013-02-26 12:54:01 +01:00
Bastien Dejean
28c88a6e41 Update TODO 2013-02-19 14:26:00 +01:00
Bastien Dejean
9a16477e02 Be neutral 2013-02-19 14:24:31 +01:00
Bastien Dejean
6aedb91ff8 Be explicit regarding the license 2013-02-14 20:05:01 +01:00
Bastien Dejean
5438f49c94 Quick desktop preview
If two identical *use* messages are received, the last one will be
equivalent to *alternate_desktop*.
2013-02-12 17:25:23 +01:00
Bastien Dejean
1a2bf4087e Update TODO 2013-02-12 17:18:01 +01:00
Bastien Dejean
78ed1548d8 Differentiate focused and active colors 2013-02-07 11:16:26 +01:00
Bastien Dejean
3b77dd4316 Remove the inner and outer borders
The concept of triple border was initially introduced to solve the
visibility problem occurring when the border's environment is similar to
the border itself. In practice however, it doesn't help much and has no
redeeming aesthetic value.
2013-02-06 22:23:49 +01:00
Bastien Dejean
7741295902 Add tiled move/resize pointer actions
New arguments for `grab_pointer`: `{move,resize}_tiled`.
New setting: `fence_grip`.
2013-02-04 14:22:41 +01:00
Bastien Dejean
914f204c8c Update TODO 2013-02-02 11:43:34 +01:00
Bastien Dejean
dd86f2d296 Check the initialization of EWMH atoms 2013-01-29 17:08:35 +01:00
Bastien Dejean
0494fc8601 Prevent pointer actions on fullscreen windows 2013-01-19 21:41:10 +01:00
Bastien Dejean
9a72c87da0 Don't alter the floating state of fullscreen windows 2013-01-19 21:34:56 +01:00