Commit Graph

52 Commits

Author SHA1 Message Date
Matthew Flatt
a1a02c65c6 racket/gui: fix excessive on-size' and on-move' callbacks
Especially for gtk, where a client-resize notification was
getting mixed up with a frame-configure notification. On all
platforms, `on-size' and `on-move' for a frame% were queued
at too high a priority.

original commit: 2ecd32b86e0458ae70a403a68ef342f6fdb829a7
2011-09-10 14:37:13 -06:00
Matthew Flatt
cf84b6b496 get-diplay-size' and get-display-left-top-inset' use #f for failure
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.

original commit: ce4705cedce9dc6f1658e93245d07f739e26a19b
2011-09-09 17:03:17 -06:00
Matthew Flatt
ce6879c013 fix refresh' on window<%>'s other than `canvas%'s
original commit: 456e9befd3959cfab1e74943fb99eb4552c97313
2011-08-12 17:03:28 -06:00
Matthew Flatt
ec385591fa gtk: fix frame position tracking
Closes PR 11931

original commit: cdf20857039ab5e235629e80c61bc7296f77e5d0
2011-08-04 06:45:18 -06:00
Sam Tobin-Hochstadt
9a24ed8a3a Pass the correct number of arguments to `display-size'. Closes PR 12062.
original commit: f67d46cd2fee984927344c161f1a91301dbe4454
2011-07-19 17:04:51 -04:00
Matthew Flatt
15bfdb93aa add get-display-count' and #:screen argument to get-display-size'
and to `get-display-left-top-inset'

 add -M <monitor> option to Slideshow

original commit: 23a2a075eaa636b27ec0700a054d49989ae53a0e
2011-07-18 20:15:15 -06:00
Matthew Flatt
bd5f04dc44 gtk: `get-display-size' reports main monitor only
and the same for `get-display-left-top-inset'

original commit: b096fb7503501961f7f42df162750823ea772f3d
2011-07-18 19:59:05 -06:00
Matthew Flatt
4ba8900913 gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity
original commit: b4e3e065ac64afa0c3b79b8031fdcb148e1e0025
2011-06-20 14:46:14 -06:00
Matthew Flatt
ebaef0c71b fix `set-icon' in frame% to make mask argument optional
Merge to 5.1

original commit: f4a881f0e37f291c604ae40ab52d2e36ca411609
2011-02-09 09:01:34 -07:00
David Van Horn
5007d739fc Fixed various spelling errors.
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05:00
Matthew Flatt
3981ea12a7 gtk: fix float frames to not appear in WM's window list
original commit: 45999143a4ad550520404299dd1fb2e38a4ee3d7
2011-01-27 12:25:53 -07:00
Matthew Flatt
fa807f509a gtk: fix `get-focus-window' in frame%
Closes PR 11654

original commit: e331f1bce26b0aa23dd0c89fcec62280fe82dd66
2011-01-21 09:07:46 -07:00
Matthew Flatt
9769ae42e9 gtk: fix floating windows
original commit: eaa82cc84d1afbe4530b1316b5c1d18775e6f0b1
2011-01-08 11:55:31 -07:00
Matthew Flatt
e576a185ce more consistent on-size' and on-move'
original commit: ae5093a1344091992a373e44c476fc99540f948c
2011-01-05 10:00:07 -07:00
Matthew Flatt
1a4cac221e implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
original commit: 68e477fd526b7d74413b63c84d6eddfb7bec5ff9
2010-12-28 05:25:26 -07:00
Matthew Flatt
7789fcd827 gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.

original commit: 7da127227a3a493214b0878cd26bff6b51631115
2010-11-26 08:33:59 -07:00
Matthew Flatt
d20c5fbd4a use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF

original commit: 168a2c15911a2bc6abd249a9a557e90ee5b0d4d9
2010-11-09 16:59:01 -07:00
Matthew Flatt
c14bee176f clean up
original commit: d7f1d12ea1c16d5ed062a8ac8fe2fe47db267f15
2010-11-05 15:54:49 -06:00
Matthew Flatt
aee9c4da25 some fixes prompted by the test suite
original commit: 4f2e59e7a654c9724d546f619589ca68cc334d59
2010-11-05 15:54:48 -06:00
Matthew Flatt
01a656c32f gtk: on-activate and single-instance fixes
original commit: c4ab7733c131676079fb6ed6c29c7b22ec20baca
2010-11-05 15:54:42 -06:00
Matthew Flatt
2e30a7dc7c gtk: misc fixes
original commit: 16b34c236a143c7fb3065db28e1b52f1c6012ed2
2010-11-05 15:54:41 -06:00
Matthew Flatt
30b2c4d867 gtk: make gl support optional and also clean up some unneeded unimplementeds
original commit: 27f18efa881c411614657a3ed93db51c0b2ac357
2010-11-05 15:54:41 -06:00
Matthew Flatt
12e9641d83 fix frame size enforcement and gtk/cocoa positioning
original commit: e32475fbbfcf7d33ec911a6890bb34655cf70c4a
2010-11-05 15:54:35 -06:00
Matthew Flatt
8c385a23bf gtk: try fullscreen
original commit: 1dd3c8accbc07ad97fbbcd4a961d67da5902b167
2010-11-05 15:54:32 -06:00
Matthew Flatt
d8206ac1fb cocoa toolbar button and some unimplemented clean-up
original commit: 7e8a08cdd88c7f483cdca35d259e49c1abc6e049
2010-11-05 15:54:30 -06:00
Matthew Flatt
65bb68bc8f gtk frame% set-icon
original commit: ece405106b34fd772cda6ab43f9c0a50c86b3d4d
2010-11-05 15:54:30 -06:00
Matthew Flatt
066057f0b4 gtk default frame icon
original commit: 26036ac55e2da3c8f30906bfa53f3c4f52f8f38e
2010-11-05 15:54:30 -06:00
Matthew Flatt
061d523adf unify cocoa & gtk canvas-painting implementation
original commit: f40e7edae886dc09f8bbb979911fd42f824aaf85
2010-11-05 15:54:27 -06:00
Matthew Flatt
4ab3da47a9 fix focus and frame-modified problems
original commit: af499e303930f8ba117f979bb1fa260416c55152
2010-11-05 15:54:25 -06:00
Matthew Flatt
4e92ae39af show gtk menu shortcuts
original commit: f21920c8e92732ccea5366d2dda7123bd1d0493c
2010-11-05 15:54:17 -06:00
Matthew Flatt
33d4417d45 fix problem related to cursor tracking
original commit: b3f1cc4b41ddde52f6ee898028aa3d9989d22ea2
2010-11-05 15:54:17 -06:00
Matthew Flatt
7eecbf2f30 gtk cursors
original commit: 436eb512f84e8357759278f4f94a50f8e608db81
2010-11-05 15:54:16 -06:00
Matthew Flatt
35aaa3a0fb cocoa cursors
original commit: 40c1c2ffef5f5ee4972ac6ef98b050e13cd8ab34
2010-11-05 15:54:16 -06:00
Matthew Flatt
cb571363a9 misc repairs
original commit: 0114b7a4a5966fea451c92c532bbb86bb638266e
2010-11-05 15:54:15 -06:00
Matthew Flatt
4cc2244c0c streamline gtk widget repositioning
original commit: 7edbdd8a5a13b826977d5531fee4e16e909d2e9e
2010-11-05 15:54:15 -06:00
Matthew Flatt
e2687511b3 another try at fixing gtk dialog placement
original commit: 647ce060ab1abe89eb22d0f974b93d619d2fc612
2010-11-05 15:54:15 -06:00
Matthew Flatt
1752204327 more memory management
original commit: c7049058336382b651c82b3a98c8a7feb9311257
2010-11-05 15:54:15 -06:00
Matthew Flatt
91c250cfc5 make platform-to-wx links weak
original commit: 0a9bdc11ad7758d04e1f5dc6eb47e8b02ecc27a4
2010-11-05 15:54:14 -06:00
Matthew Flatt
08646c691e have container retain shown children
original commit: fdf38124a50108d2310ee600803656f0d791f774
2010-11-05 15:54:14 -06:00
Matthew Flatt
f576357124 fix problem with size initialization of a frame with a menu bar
original commit: e433a8a2e6be414f16b5fbc1d58b321dc20fd7fe
2010-11-05 15:54:13 -06:00
Matthew Flatt
6737bc0e58 fix gtk widget size info for sizing and positioning
original commit: b020c2f858caf30364e633dc19894cae3d21e47e
2010-11-05 15:54:12 -06:00
Matthew Flatt
83a6c5076d eventspace shutdown
original commit: 72b671b6659702a9ff38c57b478873f661baffcb
2010-11-05 15:54:12 -06:00
Matthew Flatt
992d32134c enforce modality; more on-subwindow- callbacks; Cocoa font tweaks
original commit: e9e180847a72ba91ea817fc3b5fc1a457e676747
2010-11-05 15:54:11 -06:00
Matthew Flatt
e267680559 better dialog support (sheets for Cocoa, centering in gtk)
original commit: cc5cc94510bb7d473ccfe74467be1df296ffbea8
2010-11-05 15:54:09 -06:00
Matthew Flatt
5803fd7758 another Gtk frame-size repair
original commit: 3d9c68105ee20e9255e13e0c90c06392743f1741
2010-11-05 15:54:07 -06:00
Matthew Flatt
a90cf8f8d5 better frame sizing in gtk (but still not right)
original commit: a368362803d93ea54c6b78280c474e37cd25052f
2010-11-05 15:54:07 -06:00
Matthew Flatt
1d62d8420e windows fixes
original commit: e0bbe944aa92584880fb20fc485d0d0e93f1c2c1
2010-11-05 15:54:05 -06:00
Matthew Flatt
7a4aa05ba1 fix Gtk global<->local
original commit: 7de0f66b974dbc926c218cf609ad208a8de1b3f8
2010-11-05 15:54:04 -06:00
Matthew Flatt
d4385a7174 popup menus
original commit: bc7d3d737614f47acb54b2fd4376e6a581bfe3e0
2010-11-05 15:54:04 -06:00
Matthew Flatt
2e9088f07a canvas and frame repairs
original commit: ac6139345d59448cb8d060a95bf9b0da43c58f69
2010-11-05 15:54:03 -06:00