Commit graph

33 commits

Author SHA1 Message Date
Bastien Dejean
e6da88fa1c New setting: focus_by_distance
The aforementioned setting, when set, makes the focus movements based on
the distances between the window sides.

The `{prev,next}_leaf` functions were taught not to climb above their
roofs.
2013-05-07 22:45:14 +02:00
Bastien Dejean
6c7d7d9444 Stack tiling windows via focus history 2013-05-06 18:31:53 +02:00
Bastien Dejean
1f894fe492 Add support for _NET_WM_STATE_DEMANDS_ATTENTION 2013-03-26 11:34:06 +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
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
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
6bfebaaf6b Focus follows pointer rewrite 2013-03-02 19:39:16 +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
9bd1e7fff7 Merge branch 'master' into compton-shadow 2013-01-17 10:54:36 +01:00
Bastien Dejean
d3e351adf6 Revert "Cursor pointer feedbacks for 'grab_pointer'"
This reverts commit e1e04bff2e.
2013-01-12 11:12:17 +01:00
Bastien Dejean
e1e04bff2e Cursor pointer feedbacks for 'grab_pointer' 2013-01-10 17:59:22 +01:00
Bastien Dejean
878bc8b144 Focus follows pointer needs enter notify events
It seems that pointer motion events are not sufficient to enforce
'focus_follows_pointer': some windows grab the pointer and catch those
events (e.g.: *zenity*), preventing *bspwm* from receiving them. So we
need to listen to enter notify events too.
2013-01-09 21:33:19 +01:00
Bastien Dejean
af06168b61 New message: 'toggle_visibility' 2012-12-23 12:11:08 +01:00
Bastien Dejean
be4b9bf773 Center when the position is the origin 2012-12-14 15:43:22 +01:00
Bastien Dejean
f439efb0f5 New setting: 'adaptative_raise' 2012-12-13 14:00:45 +01:00
Bastien Dejean
9426ed2941 Add support for the _COMPTON_SHADOW atom 2012-11-29 15:28:43 +01:00
Bastien Dejean
fe1cd3b233 Window dragging: transfer node to underlying monitor 2012-11-08 18:24:17 +01:00
Bastien Dejean
cba15c9663 Handle stacking order in focus_node 2012-11-04 14:35:17 +01:00
Bastien Dejean
240c75c704 Orphan adoption: restore desktops organization 2012-10-25 21:49:14 +02:00
Bastien Dejean
0061b72445 New message: 'adopt_orphans'
The adoption of orphans needs to occur after the definition of desktops
and rules in the *autostart*.
2012-10-25 21:02:04 +02:00
Bastien Dejean
5ad12f917d Initial approach for orphans adoption 2012-10-24 16:34:56 +02:00
Bastien Dejean
3656722c14 Fix toggle_fullscreen 2012-10-18 11:09:17 +02:00
Bastien Dejean
2a3362fc4b Added support for multiple monitors 2012-10-17 16:18:40 +02:00
Bastien Dejean
289d1f5aaa New message: "kill" 2012-09-28 15:59:29 +02:00
Bastien Dejean
3c404e6bed Don't remove node in close_window
If the window doesn't respond to the WM_DELETE_WINDOW message, we'll end
up with an unmanaged window. Besides, nodes are already removed after
receiving the corresponding destroy notifications.
2012-09-28 14:37:22 +02:00
Bastien Dejean
e81bb851be Move floating windows with the mouse, fix born_as 2012-09-22 15:10:59 +02:00
Bastien Dejean
d5cb36c31f Show / hide wrappers should make unmap_notify work 2012-09-21 19:05:42 +02:00
Bastien Dejean
efcc7e41f6 Locked and urgent client states and colors 2012-09-20 23:32:32 +02:00
Bastien Dejean
0bd88d9824 Fix "alternate" command, min width,height is 1,1 2012-09-20 11:50:25 +02:00
Bastien Dejean
deaa516e35 Update focus in {transfer,remove}node and al. 2012-09-19 22:59:13 +02:00
Bastien Dejean
24507288bf Numerous fixes 2012-09-18 17:21:04 +02:00