Matthew Flatt
30c8202656
fix focus for windows within a floating frame
...
Make the `focus` method shift focus to a floating frame. Also, shift
focus away from the floating frame when `focus` is used in an window
within the current main frame.
2016-03-28 17:25:22 -06:00
Matthew Flatt
282a22b8f0
add any-control+alt-is-altgr
...
Thanks to Bert De Ketelaere for helping to sort out this new
behavior.
2016-03-17 16:39:40 -06:00
Matthew Flatt
0e344def40
Windows play-sound: remove extra delay after async
2016-01-05 07:31:01 -07:00
Matthew Flatt
8ae077c22a
Windows play-sound: use the right custodian registration
...
Otherwise, a GC tends to terminate the sound.
2016-01-04 19:19:51 -07:00
Matthew Flatt
76c305852b
Windows play-sound: avoid leaks and shutdown on custodian
...
Also, stop a synchronous sound on a break exception.
2016-01-04 18:10:23 -07:00
Matthew Flatt
edc56ee8de
Windows: change play-sound
to use MCI
...
Provided by Eli Barzilay.
This approach is better than a separate process, because creating
too many processes can overwhelm the OS. Also, MCI supports more
sound formats.
2016-01-04 17:41:53 -07:00
Matthew Flatt
196797b529
Windows: fix play-sound
to return a boolean
2015-12-28 10:09:10 -06:00
Matthew Flatt
87c2317cbc
Windows: change play-sound
to run an external program
...
Running a sound through a separate process allows multiple
sounds to be played at once.
2015-12-28 08:24:34 -07:00
Matthew Flatt
87e17a89da
Windows: fix get-current-mouse-state
for HiDPI
2015-12-23 08:31:38 -07:00
Matthew Flatt
c4793a218f
Windows: avoid refresh on no-op canvas show-scrollbars
2015-12-03 05:36:42 -07:00
Matthew Flatt
172b7d5a56
implement GL screen sync for Windows canvases
2015-10-18 18:15:03 -06:00
Matthew Flatt
1d3a308532
Windows: fix WM_GESTURE handling
...
Broken boolean expression treated `next-scroll-is-change?` backward.
2015-10-06 21:31:34 -06:00
Brian Mastenbrook
d393e1a5bf
Per http://msdn.microsoft.com/en-us/library/windows/desktop/dd562171(v=vs.85).aspx - adds support for SB_THUMBPOSITION events. Improves touchpad scrolling on Surface Pro 3, but not touch scrolling.
2015-10-05 06:35:20 -06:00
Matthew Flatt
cdc992ccb9
fix problems and consistency with fullscreen
in frame%
...
The `fullscreen` method implied `show` on Mac OS X and Windows, but
not on Gtk, and a frae shown that was was not properly registered
as shown (e.g., the application could exit). For consistency, adjust
`fullscreen` to not imply `show`. Also, shift to a remaining frame
on Mac OS X when a fullscreen frame is closed.
2015-10-04 14:19:00 -06:00
Matthew Flatt
d1736765b6
add get-gl-client-size
to canvas%
...
GL scaling in a canvas depends on a combination of the `gl-config%`
setting and the platform, so `get-gl-client-size` takes into account
both.
2015-08-18 15:10:02 -06:00
Matthew Flatt
018dbd6add
fix get-unscaled-client-size
docs and Win32/GTK implementations
...
Fix `get-unscaled-client-size` for Win32 and GTK scaling, and make the
docs more generally sensible.
2015-08-18 15:10:02 -06:00
Matthew Flatt
92842cd195
unbreak windows
2015-08-18 15:10:02 -06:00
Matthew Flatt
f42356da3f
Support and prefer GTK+ 3 on Unix/X
...
The main advantage of GTK+ 3 is better support for HiDPI
displays. If GTK+ 3 libraries are not available or if the
`PLT_GTK2` environment variable is defined, GTK+ 2 is used
as before.
2015-08-16 20:55:35 -06:00
Jay McCarthy
6fa420d947
add get-scaled-client-size
2015-05-20 12:59:51 -04:00
Jay Kominek
f71f1c3ccb
win32 support for frame% fullscreen and is-fullscreened?
2015-05-01 12:39:55 -06:00
Sam Tobin-Hochstadt
135e357a37
Remove extra directories.
2014-12-02 02:33:07 -05:00