i3/src
Tony Crisci 69ce33d06d Snap pointer to resize bar on drag resize
When the user initiates a drag resize, draw the resize bar on the border
of the two involved containers and snap the pointer.

This solution produces cleaner code than the former approach where the
caller obfuscated the click coordinates of the event. This may confuse
someone expecting a true button press event.

Fixes an issue where the resize cursor is not shown when the resize bar
is clicked until the user begins to drag the mouse.

Fixes an issue where focus is not properly updated after the drag is
complete when `focus_follows_mouse' option is set, leaving the pointer
in an unfocused window in some cases.

Fixes an issue where the resize bar may jump a few pixels when the mouse
is first moved.

(Thanks to pbos for suggesting this fix and providing an example
implementation)
2014-01-01 15:18:54 +01:00
..
assignments.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
click.c Snap pointer to resize bar on drag resize 2014-01-01 15:18:54 +01:00
commands_parser.c Typo and usage fixes in documentation and comments. 2013-04-11 22:37:39 +02:00
commands.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
con.c Merge branch 'master' into next 2013-11-22 17:09:28 +01:00
config_directives.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
config_parser.c Merge branch 'master' into next 2013-06-29 23:47:29 +02:00
config.c introduce client.placeholder color 2013-12-22 21:52:49 +01:00
debug.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
display_version.c Remove references to PATH_MAX macro 2013-11-24 13:50:29 +01:00
ewmh.c actively delete _NET_WORKAREA on startup 2013-07-13 12:24:15 +02:00
fake_outputs.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
floating.c dragging: instead of using a custom event loop, use libev 2013-12-22 21:52:49 +01:00
handlers.c Bugfix: ignore _NET_ACTIVE_WINDOW for scratchpad windows (Thanks mistnim) 2013-12-21 21:32:23 +01:00
i3.mk install i3-save-tree(1) (Thanks Marcin) 2013-12-24 16:15:43 +01:00
ipc.c ipc: dump window properties when not restarting inplace 2013-12-22 21:52:49 +01:00
key_press.c Make i3-nagbar use the same font as configured for i3 2013-01-26 09:55:38 +01:00
load_layout.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
log.c fix the build on OS X 2013-11-26 19:56:45 +01:00
main.c dragging: instead of using a custom event loop, use libev 2013-12-22 21:52:49 +01:00
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
manage.c kill placeholder windows when the actual window appears 2013-12-22 21:52:49 +01:00
match.c display swallows criteria in placeholder windows 2013-12-22 21:52:49 +01:00
move.c Command 'move <direction>' moves across outputs 2013-11-19 20:26:52 +01:00
output.c fix two more crashes when disabling an empty output 2013-01-25 14:53:15 +01:00
randr.c Use a saner sanity check for floating_reposition. 2013-03-21 23:41:07 +01:00
regex.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00
render.c Revert "raise fullscreen windows on top of all other X11 windows" 2013-08-27 20:21:11 +02:00
resize.c Snap pointer to resize bar on drag resize 2014-01-01 15:18:54 +01:00
restore_layout.c dragging: instead of using a custom event loop, use libev 2013-12-22 21:52:49 +01:00
scratchpad.c Do not resize/reposition floating containers when moving them to scratchpad 2013-09-30 22:54:35 +02:00
sd-daemon.c implement "socket activation": passing IPC sockets to i3 2011-08-10 15:55:27 +02:00
sighandler.c spelling fix: s/succesfully/successfully/ 2012-09-20 10:55:03 +02:00
startup.c Use _PATH_BSHELL to ensure using a bourne shell 2013-11-09 10:11:32 +01:00
tree.c previous commit: extend test and code to also work with floating windows 2013-10-13 17:59:29 +02:00
util.c refactor both i3-nagbar starts into src/util.c 2012-12-24 16:53:20 +01:00
window.c Bugfix: correctly recognize assigned windows as urgent (Thanks jookia) 2013-09-24 07:47:36 +02:00
workspace.c Respect workspace numbers when looking for a free workspace name 2013-08-18 17:47:53 +02:00
x.c replace never-true condition with a working one 2013-12-22 21:52:49 +01:00
xcb.c libi3: Rework font to support multiple backends 2012-08-13 11:39:29 +02:00
xcursor.c switch from libXcursor to xcb-util-cursor 2013-08-17 09:44:20 +02:00
xinerama.c use I3__FILE__ for DLOG, leave __FILE__ as is 2012-08-12 12:19:47 +02:00