35479be43e
separator: call gtk_style_context_restore() after drawing
...
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:33:59 -04:00
b52394adca
calendar: make sure to call gtk_style_context_restore()
...
https://bugzilla.gnome.org/show_bug.cgi?id=647086
2011-04-08 20:33:58 -04:00
c4e17bb148
Do not leak list when drawing notebook.
...
When we construct the list in the other order we must free it.
https://bugzilla.gnome.org/show_bug.cgi?id=646886
2011-04-08 20:21:22 -04:00
db74a6e816
GdkDevice: Remove duplicate private function
...
_gdk_device_get_axis_use() dates back to pre-sealing, when the
xi2 work began, this remaining can be gone with a public
gdk_device_get_axis_use() function already in place.
2011-04-08 16:39:45 +02:00
955f01cdf7
[broadway] Enable useToplevelWindow by default for now
2011-04-07 21:16:52 +02:00
7128087cb4
[broadway] Implement selections
2011-04-07 20:21:22 +02:00
cad40b24e2
[broadway] Remove unused hashtables
2011-04-07 20:20:51 +02:00
9db4accf9c
Make gtkclipboard.c:clipboard_get_timestamp multi-backend safe
...
We can't just check for the backend defines, we have to do runtime checks too.
2011-04-07 20:19:30 +02:00
d12a9a5e99
[broadway] Add gdk_broadway_display_get_last_seen_time
2011-04-07 20:18:13 +02:00
42cbed6759
[broadway] Fix up header guards to not refer to gdkx.h
2011-04-07 20:04:48 +02:00
f0e1115f80
[broadway] Add gdkbroadway.h public header
2011-04-07 19:25:16 +02:00
095ccf9c11
[broadway] Serialize event times
...
Event times come from the browser and may change weirdly when we reconnect
with another browser, so we normalize these to be strictly increasing
and with a 5 second gap for each reconnect.
2011-04-07 19:12:51 +02:00
9d974ca13a
[broadway] Fix typo in implicit grab support
...
We do an implicit grab if there is no grab already, not only if there is
one.
2011-04-07 15:26:37 +02:00
dd07f534f4
[broadway] Handle screen size
...
Without this menu placement doesn't work right
2011-04-07 15:10:39 +02:00
8c20b476df
[broadway] Track and report last and future state
...
This fixes the drawing area demo in gtk-demo
2011-04-07 14:36:30 +02:00
1a7b76d49d
[broadway] Report mouse pointer coordinates right
...
The windows argument to device_query_state can be a client side
window, but we must only handle the "native" part of it (i.e.
window->impl->wrapper).
2011-04-07 14:29:26 +02:00
43aac66458
[broadway] Fix all unnecessary warnings
2011-04-07 10:03:17 +02:00
3b1fe05e78
[broadway] Wire up the delete event
2011-04-07 10:03:17 +02:00
06fc6e007e
[broadway] Report right root coors in toplevel mode
2011-04-07 10:03:17 +02:00
adc05ae6b7
[broadway] Add configure event for browser-side geometry changes
...
Atm this only works for the useToplevelWindows case, but we can add
a browser wm to make use of it inside the browser too.
2011-04-07 10:03:17 +02:00
1365e93fad
[broadway] Add experimental toplevel window mode
...
This mode makes each toplevel window get its own browser window, with
popup windows using the browser window of their transient parent.
Its not idea, as you can't get rid of all browser chrome by default, and
it means popups (like menus) can't extend outside the toplevels. But, it is
kinda cool.
2011-04-07 10:03:17 +02:00
8831efa735
[broadway] Fixup ungrab reference to old time variable
2011-04-07 10:03:17 +02:00
05bda376f6
[broadway] Break out document setup into its own function
...
In the future we might have more documents (one per toplevel browser
window).
2011-04-07 10:03:17 +02:00
06ad0f52e2
[broadway] Remove unused grab.time on browser side
2011-04-07 10:03:17 +02:00
f53771cc1d
[broadway] Break out all command handling to separate functions
...
We don't want to mix up the argument parsing with the actual implementation.
2011-04-07 10:03:17 +02:00
7c20d59411
[broadway] Make the surface object a plain js object, not the context
2011-04-07 10:03:17 +02:00
9f848aaf30
[broadway] Centralize surface creation code in js
2011-04-07 10:03:17 +02:00
199cd1548f
[broadway] Track window type in browser
2011-04-07 10:03:17 +02:00
9c5c4223e3
[broadway] Track transient_for
2011-04-07 10:03:17 +02:00
e1dcd6735e
[broadway] Remove unused query pointer message
2011-04-07 10:03:16 +02:00
5b645357d6
[broadway] Don't roundtrip for getting current pointer location
...
Roundtrips are bad, and this gets called a lot, so we use all currently
availible future info to "emulate" a full roundtrip, but with much lower
cost.
2011-04-07 10:03:16 +02:00
a0048d5e70
[broadway] Add _gdk_broadway_display_consume_all_input
...
This parses and queues all currently availible input data non-blockingly.
Useful to ensure the latest up-to-date future info.
2011-04-07 10:03:16 +02:00
fdc2059edb
[broadway] Track future pointer events locations during parsing
...
We want this info so that we can avoid roundtrips and still get
a somewhat better querying for pointer locations.
2011-04-07 10:03:16 +02:00
1fa952fb04
[broadway] Add helper for processing input at idle
2011-04-07 10:03:16 +02:00
e113cf26fb
[broadway] Keep track of current real cursor window (sans grabs)
...
We need this to be able to do a non-roundtripping get-window.
2011-04-07 10:03:16 +02:00
ee1657d88e
[broadway] Break out _gdk_broadway_display_read_all_input_nonblocking
...
This is useful in other places, like when we want to iterate over
all messages recieved so far.
2011-04-07 10:03:16 +02:00
d664e78c94
[broadway] Make pointer grabs not roundtrip
...
Since we're really only initializing grabs (except for implicit
grabs at least) from the client side we might as well do all the grab
time checks on the client side to avoid unnecassary roundtrips.
2011-04-07 10:03:16 +02:00
56d05e093d
[broadway] Save last event time seen
2011-04-07 10:03:16 +02:00
8aad17592e
[broadway] Parse broadway input messages earlier
...
We now parse the broadway messages as soon as they are read from the wire.
This will let us sanely do lookahead in the message queue later.
2011-04-07 10:03:15 +02:00
e32728fb5c
GtkColorButton: Don't leak references
...
https://bugzilla.gnome.org/show_bug.cgi?id=646815
2011-04-06 00:57:47 -04:00
cd68eaa73a
Update Czech translation
2011-04-06 03:43:52 +02:00
bfffe34c17
[l10n]Fixes on Catalan translation
2011-04-04 21:48:16 +02:00
0765800035
[l10n]Fixes on Catalan translation
2011-04-04 21:48:15 +02:00
d4021d7a1b
Fixed bug in GtkSizeRequest code where the cache is not reset properly
...
Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500
2011-04-04 13:58:05 +09:00
f6499818b5
Updated Brazilian Portuguese translation
2011-04-04 11:11:26 -03:00
c2cdd94cd2
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2011-04-04 20:27:38 +08:00
1a06c2974b
Updated Bengali translation
2011-04-04 16:40:12 +06:00
059df291cf
[l10n]Updated Catalan translation
2011-04-04 01:07:55 +02:00
d46f0db38b
Make gdk_x11_window_set_theme_variant do nothing for non-toplevels
...
This avoids problems when calling this e.g. on offscreen windows.
2011-04-03 17:40:37 -04:00
2226996b80
Keymap: properly initialize lock state
...
We need to get explicitly lock state initially, before we can
rely on state changed events to track it.
https://bugzilla.gnome.org/show_bug.cgi?id=645341
2011-04-03 17:39:31 -04:00