aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/mac-screen.m
AgeCommit message (Collapse)AuthorFilesLines
2020-05-17devdraw: use global drawlk instead of per-clientRuss Cox1-4/+3
Setting up for a real window system.
2020-05-17devdraw: use indirect impl interfaceRuss Cox1-8/+30
Setting up for a real window system.
2020-02-03devdraw: fix `cmd-r` to toggle retina vs. non-retina mode on macOS (#361)Martin Palma1-1/+1
and not unexpectedly quitting an application. Fixes #360
2020-01-16devdraw: abort alt sequence on window change on macOSRuss Cox1-0/+4
Fixes #3.
2020-01-14devdraw: notify window resize promptly on x11Russ Cox1-1/+0
Fixes #339.
2020-01-14devdraw: do not force-hide menu and dock during full screen on macRuss Cox1-3/+15
This hides the menu on dock on all screens which is more than we want. The code was added to fix a problem with Catalina that I can no longer reproduce, so I guess it works now. Fixes #336.
2020-01-13devdraw: hide dock in full screen modeRuss Cox1-0/+13
Unfortunately this hides the dock even if it is on a different screen. We need to figure out how to tell. But this is more usable than not. Probably.
2020-01-13devdraw: correctly hide Mac menu bar (#335)Xiao-Yong1-9/+9
`window:willUseFullScreenPresentationOptions:` is an instance method of the protocol `NSWindowDelegate`.
2020-01-13devdraw: AUTOFRAMEWORK CoreFoundation on macOSRuss Cox1-0/+1
Fixes #273.
2020-01-13devdraw: x11 working againRuss Cox1-17/+37
Need to think a bit more about locking, but overall it's a working devdraw. Multiclient mode may not be working but nothing is using it yet.
2020-01-13devdraw: multiclient modeRuss Cox1-7/+8
2020-01-13devdraw: more cleanup, clearer lockingRuss Cox1-166/+105
2020-01-13devdraw: refactor, clean up mac screenRuss Cox1-432/+395
Also turn mac-srv.c into a generic srv.c, so we can remove the duplication with x11-srv.c.
2020-01-13devdraw: move per-window globals in mac-screen.m into ClientRuss Cox1-61/+80
2020-01-13devdraw: move Client into devdraw.h and move global state inRuss Cox1-35/+45
2020-01-13devdraw: use consistent mac-* prefix on macOS filesRuss Cox1-0/+1248
We were using osx- and cocoa- but it's not even OS X anymore.