Commit graph

16 commits

Author SHA1 Message Date
Russ Cox
354c6c32f1 devdraw: fix fullscreen on Lion
Now, if you full-screen an app running on a secondary
screen, it only takes over that monitor.  It does not cause
the primary screen to disappear.

Code by David Jeannot.

R=djeannot24
http://codereview.appspot.com/5708046
2012-02-28 14:56:13 -05:00
David Jeannot
f4792e43ae devdraw: enable gestures on OS X
Remove swipe gestures.
Keep only 2-finger pinching and 3-finger tapping.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5498094
2012-01-20 22:31:00 -05:00
David Jeannot
fcce05982b devdraw: make OS X resizer unobtrusive
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5558051
2012-01-19 15:14:17 -05:00
David Jeannot
4464a8778d devdraw: on OS X, add menu items "hide" and "plumb devdraw(1)"
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5505092
2012-01-16 17:12:10 -05:00
David Jeannot
10ccf8df0c devdraw: OS X: neutralize menu and Dock bugs in fullscreen mode
Previously, the menu bar has been set to hidden
instead of autohidden in fullscreen mode, because
it appeared too easily.  Occasionally however, it
still appears.  This patch makes sure it won't.

With OS X Lion's fullscreen, the Dock is
autohidden, but sometimes remains hidden.  This
bug comes with visual menu bar bugs
during space transition and when exiting
fullscreen.  Those bugs happen after each
Devdraw's activation, for example.  This patch
neutralizes them.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5502091
2012-01-16 17:11:36 -05:00
David Jeannot
73b0f029e1 devdraw: fix handling of compose key on OS X
This implementation is simpler to understand.  It
removes conflicts with other modifiers and with
the virtual buttons.  Pressing alt during a
sequence now cancels it correctly.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5507049
2012-01-16 17:08:31 -05:00
David Jeannot
e89a71ffdd cocoa devdraw: activation on receiving Ttop messages
(The new variable "willactivate" is in the input
structure "in", which is illogical.  But this
structure will soon be renamed "app".  I postpone
the renaming to avoid conflicts with simultaneous
Codereview issues.)

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5504102
2012-01-16 17:04:28 -05:00
David Jeannot
5ec2425b17 devdraw: OS X dead key support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5503086
2012-01-16 17:02:06 -05:00
David Jeannot
ca81de0ae1 Cocoa Devdraw: cursor fix
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5356050
2011-12-09 22:21:09 -05:00
David Jeannot
e067d2ea1f Cocoa Devdraw: cursor, menu bar, old fs, activation
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5318054
2011-11-08 13:23:55 -05:00
Russ Cox
b4d0ac9612 devdraw: cocoa fixes, bigarrow support (thanks Marius Eriksen) 2011-10-23 18:47:29 -04:00
Russ Cox
d0a596c5c8 devdraw: more fixes (thanks David Jeannot) 2011-10-12 13:40:35 -04:00
David Jeannot
7479a49b90 devdraw: fix screen grabber, allocation warning
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5170041
2011-10-03 18:16:09 -04:00
David Jeannot
513ce18d64 devdraw: cocoa updates
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5131041
2011-09-26 08:19:56 -07:00
David Jeannot
48107872ba devdraw: update Lion cocoa
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5015042
2011-09-19 08:58:59 -04:00
David Jeannot
a287dbab23 devdraw: draft cocoa support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4974060
2011-09-06 10:10:43 -04:00