aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw/mac-screen.m
Commit message (Collapse)AuthorAgeFilesLines
* devdraw: handle shift of real mouse buttons correctlyRuss Cox2024-06-171-5/+5
|
* acme: shift button 3 for reverse searchRuss Cox2024-06-151-3/+10
| | | | | An experiment. Let's see if it's any good. Also document the Mac conventions in devdraw(3).
* devdraw: Fix mouse wheel scrolling in 1-tick increments on macOSzakkor2023-03-291-3/+3
|
* stats: add threadmaybackgroundRuss Cox2021-01-051-1/+4
|
* devdraw: use global drawlk instead of per-clientRuss Cox2020-05-171-4/+3
| | | | Setting up for a real window system.
* devdraw: use indirect impl interfaceRuss Cox2020-05-171-8/+30
| | | | Setting up for a real window system.
* devdraw: fix `cmd-r` to toggle retina vs. non-retina mode on macOS (#361)Martin Palma2020-02-031-1/+1
| | | | | and not unexpectedly quitting an application. Fixes #360
* devdraw: abort alt sequence on window change on macOSRuss Cox2020-01-161-0/+4
| | | | Fixes #3.
* devdraw: notify window resize promptly on x11Russ Cox2020-01-141-1/+0
| | | | Fixes #339.
* devdraw: do not force-hide menu and dock during full screen on macRuss Cox2020-01-141-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.
* devdraw: hide dock in full screen modeRuss Cox2020-01-131-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.
* devdraw: correctly hide Mac menu bar (#335)Xiao-Yong2020-01-131-9/+9
| | | | `window:willUseFullScreenPresentationOptions:` is an instance method of the protocol `NSWindowDelegate`.
* devdraw: AUTOFRAMEWORK CoreFoundation on macOSRuss Cox2020-01-131-0/+1
| | | | Fixes #273.
* devdraw: x11 working againRuss Cox2020-01-131-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.
* devdraw: multiclient modeRuss Cox2020-01-131-7/+8
|
* devdraw: more cleanup, clearer lockingRuss Cox2020-01-131-166/+105
|
* devdraw: refactor, clean up mac screenRuss Cox2020-01-131-432/+395
| | | | | Also turn mac-srv.c into a generic srv.c, so we can remove the duplication with x11-srv.c.
* devdraw: move per-window globals in mac-screen.m into ClientRuss Cox2020-01-131-61/+80
|
* devdraw: move Client into devdraw.h and move global state inRuss Cox2020-01-131-35/+45
|
* devdraw: use consistent mac-* prefix on macOS filesRuss Cox2020-01-131-0/+1248
We were using osx- and cocoa- but it's not even OS X anymore.