Bastien Dejean
716872a8e7
Fix bogus shadow property cardinal
2013-03-30 14:44:02 +01: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
b273b9c9bd
New argument for the rule
message: follow
2013-03-12 10:56:45 +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
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
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
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
9a72c87da0
Don't alter the floating state of fullscreen windows
2013-01-19 21:34:56 +01:00
Bastien Dejean
6fb843aeee
Actually honour 'apply_shadow_property'
2013-01-19 20:58:21 +01:00
Bastien Dejean
373df701cd
Only floating windows needs shadow
2013-01-19 20:09:02 +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
240b6798b0
New messages: '{grab,track,ungrab}_pointer'
2013-01-08 15:52:20 +01:00
Bastien Dejean
6526e56b8c
Remove settings: '{numlock,capslock}_modifier'
...
The lock keys (num, caps, scroll) are now handled internally and the
aforementioned settings are obsolete.
2013-01-02 12:36:54 +01:00
Bastien Dejean
cb111d3aa9
Border color: *urgent* goes before *locked*
2012-12-26 10:30:50 +01:00
Thomas Adam
154163be96
Fix drawing of urgency border colour
...
It looks as though commit f37c14902f
introduced a regression in the way urgency borders are rendered. Because
each window is considered across all desktops for monitors, we must now
augment the checking of an urgent client when looking up the border colours
for focused windows also.
Without this, a single window on a desk on an unfocused monitor will be
correctly set as having an urgent hint, but its borders will not pick up on
any urgent border colour settings.
2012-12-26 00:41:23 +00:00
Bastien Dejean
8ac6c6c4ff
Orphaned windows shall be initially invisible
2012-12-25 23:02:16 +01:00
Bastien Dejean
243b39d3b8
Toggle visibility across all monitors
2012-12-24 11:02:15 +01:00
Bastien Dejean
81135a1953
Also give input focus when making window visible
2012-12-23 12:14:30 +01:00
Bastien Dejean
af06168b61
New message: 'toggle_visibility'
2012-12-23 12:11:08 +01:00
Bastien Dejean
a8570bb058
Center earlier
2012-12-14 15:47:36 +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
675d5aee2f
New rule effect: move to the given desktop
2012-11-11 18:40:55 +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
1ab44c4132
Use the monitor, not the screen, rectangle
2012-10-29 10:45:47 +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
dfecbdc6e0
Tiled windows should not be above floating windows
2012-10-24 22:17:45 +02:00
Bastien Dejean
5ad12f917d
Initial approach for orphans adoption
2012-10-24 16:34:56 +02:00
Bastien Dejean
988e719ed2
Further cleanups
2012-10-23 19:38:29 +02:00
Bastien Dejean
f0ab3e390e
Merge branch 'develop'
2012-10-23 12:17:19 +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
e754a9eac7
Fix copy/paste typo
2012-10-06 12:04:18 +02:00
Bastien Dejean
9e530a8599
Added some debug messages
2012-10-06 12:03:12 +02:00
Bastien Dejean
3d60924ff2
The border width can change while in fullscreen
2012-10-05 12:10:07 +02:00
Bastien Dejean
a1f0b2c337
Prevent buffer overruns in dump_tree
and al.
2012-10-04 14:46:41 +02:00
Bastien Dejean
931e735e97
Always use BUFSIZ
2012-10-04 13:59:05 +02:00
Ivan Kanakarakis
e31accb4b8
bool is a real type
2012-09-30 18:54:04 +03:00
Bastien Dejean
0b68e16fc8
Remove window borders whenever possible
2012-09-28 22:39:32 +02:00