Kristian Høgsberg
c7514e8f0d
Merge branch 'gdk-backend-wayland'
...
Conflicts:
Makefile.am
configure.ac
gdk/Makefile.am
gtk/gtksettings.c
gtk/gtkwindow.c
2011-04-12 09:52:44 -04:00
Alexander Larsson
85c1c22d04
[broadway] Cancel key events after seeing them
2011-04-12 13:38:04 +02:00
Alexander Larsson
afdde925b8
[broadway] Fix canvas resize when resizing browser window
...
We always have to resize the canvas, even when its in a toplevel.
2011-04-12 11:34:13 +02:00
Alexander Larsson
20542b0ead
[broadway] Fix typo
2011-04-12 11:21:47 +02:00
Alexander Larsson
f4bef2c720
[broadway] Combine window move and resize into one op
...
This way we avoid sending a configure event for the inbetween state
if we're resizeing and moving at the same time.
2011-04-12 11:12:39 +02:00
Alexander Larsson
ca49ec2c8c
[broadway] Fix various js warnings
2011-04-12 11:12:39 +02:00
Alexander Larsson
840df5c7c1
[broadway] Add stacktrace debugging functions
2011-04-12 11:12:39 +02:00
Alexander Larsson
2934569781
[broadway] Always send configure events from browser
...
As soon as something changes, even if it was a request from the user
we send a configure event. If not we might race with a app-side
generated configure event.
For instance, a create + resize might create only a configure event for
the create in the browser, but that may get to the app after the app-side
configure event for the resize, overriding the new size.
2011-04-12 11:12:39 +02:00
Alexander Larsson
ddcbd8234b
[broadway] When resyncing, first create all windows then set attributes
...
Some attributes (like transient parent) depende on other windows being
there, so we create all first.
2011-04-12 11:12:39 +02:00
Alexander Larsson
4bbc45380b
[broadway] More complete handling of transient parent
...
We now handle any order of transient being set and windows shown/created
2011-04-12 11:12:39 +02:00
Alexander Larsson
75dc3f3a07
[broadway] Use mozInnerScreenX & co to get window position
...
This way we don't have to rely on any event, which won't work until
we get an event.
2011-04-12 11:12:38 +02:00
Alexander Larsson
8a7e208bb2
[broadway] Parse x/y as signed
2011-04-12 11:12:38 +02:00
Alexander Larsson
4cb979d6b9
[broadway] Update window geometry after showing window
2011-04-12 11:12:38 +02:00
Alexander Larsson
4c575ac343
[broadway] Don't cache surface.transientToplevel as that might change at various times
2011-04-12 11:12:38 +02:00
Matthias Clasen
3fbfd82e9e
GtkWindow: rearrange private struct to fill some holes
2011-04-11 18:33:43 -04:00
Paolo Borelli
7fe3764f4d
Small cleanup in statusbar
...
Factor out msg_create/free and use g_slist_free_full as appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=647278
2011-04-11 18:11:36 -04:00
Javier Jardón
518d030220
Move documentation to inline comments: GtkTearoffMenuItem
2011-04-11 23:07:41 +01:00
Javier Jardón
4a7400db99
Move documentation to inline comments: GtkCellRendererPixbuf
2011-04-11 23:07:41 +01:00
Javier Jardón
3990af227f
Move documentation to inline comments: GtkCellRendererCombo
2011-04-11 23:07:41 +01:00
Javier Jardón
1f50a4d011
Move documentation to inline comments: GtkHSeparator
2011-04-11 22:33:38 +01:00
Javier Jardón
1f9f5e8890
Move documentation to online comments: GtkCellRendererSpin
2011-04-11 22:14:35 +01:00
Takayoshi OKANO
a1ae3f7fe1
Updated Japanese translation.
2011-04-11 23:17:53 +09:00
Alexander Larsson
7b3b4a6ad9
[broadway] Correctly track remote visible state
...
GDK_WINDOW_IS_MAPPED is not false for withdrawn windows, so we need
to track real visibility ourselves.
2011-04-11 12:09:43 +02:00
Alexander Larsson
33d16b16c9
[broadway] Clean up js side surface handling
...
* Always calculate the context, don't store in surface.
* Store the toplevel element (frame or canvas) for easy access.
* Always use visibility hidden rathern than display none to hide windows,
as this means we can always rely on dom positioning info.
2011-04-11 12:09:43 +02:00
Alexander Larsson
27c4d104fb
[broadway] Restack on window show to ensure all zIndexes are right
2011-04-11 12:09:43 +02:00
Alexander Larsson
c839f2910c
[broadway] Store surface, not id in stackingOrder list
2011-04-11 12:09:43 +02:00
Alexander Larsson
ace1c4c284
[broadway] Set transient-for before showing window
...
When syncing windows, make sure we set transient-for before showing
the window to avoid it being visible with the wrong transient-for
(i.e. possibly on the wrong browser window).
2011-04-11 12:09:43 +02:00
Alexander Larsson
05dfb7f594
[broadway] Fix css typo
...
rgb takes 3 params, rgba takes four.
2011-04-11 12:09:43 +02:00
Alexander Larsson
7a197e5b65
[broadway] Fix up frame size calculation
...
Turns out that offsetTop/Left doesn't contain the border, so we need
to manually add that in.
2011-04-11 12:09:43 +02:00
Javier Jardón
ebda721f4e
Move documentation to inline comments: GtkFileChooserWidget
2011-04-11 03:27:08 +01:00
Javier Jardón
62c878b0cd
Move documentation to inline comments: GtkHScale
2011-04-11 03:27:08 +01:00
Javier Jardón
610d46d12e
Move documentation to inline comments: GtkCellRendererAccel
2011-04-11 03:27:08 +01:00
Javier Jardón
de210bd2ae
Move documentation to inline comments: GtkHScrollbar
2011-04-11 02:54:53 +01:00
Javier Jardón
5f7433a644
Remove unneded template: gtkimcontext.sgml
2011-04-11 02:51:46 +01:00
Javier Jardón
9dc0e7460e
Move documentation to inline comments: GtkFontButton
2011-04-11 02:47:43 +01:00
Javier Jardón
fc0e045d92
Move documentation to inline comments: GtkCellRendererToggle
2011-04-11 02:42:54 +01:00
Javier Jardón
f7f7d4eee4
Move documentation to inline comments: GtkHPaned
2011-04-11 02:36:23 +01:00
Javier Jardón
735f3a23a4
Move documentation to inline comments: GtkInvisible
2011-04-11 02:31:56 +01:00
Javier Jardón
ca8d880a20
Move documentation to inline comments: GtkCellRendererProgress
2011-04-11 02:18:13 +01:00
Javier Jardón
3662744eaa
Move documentation to inline comments: GtkMisc
2011-04-11 02:14:08 +01:00
Javier Jardón
f2fd3ee1d5
Move documentation to inline comments: GtkImageMenuItem
2011-04-11 02:13:02 +01:00
Alexander Larsson
2728cc9508
[broadway] Remove expensive transparency effects from css
2011-04-10 21:10:07 +02:00
Alexander Larsson
d6beabbff2
[broadway] Make the toplevel mode a url parameter
2011-04-10 20:16:13 +02:00
Alexander Larsson
fe79bbd618
[broadway] Position non-popup windows ourselves
...
We ignore the initial positions for non-popup windows, instead we
place the windows ourselves (or in the useToplevel mode by the WM).
2011-04-10 20:16:13 +02:00
Alexander Larsson
e5d8905cd2
[broadway] Fix up toplevel content visibility in useToplevel mode
...
surfaces.canvas may change if we move to another document, so
reupdate the element to show after ensureSurfaceInDocument.
2011-04-10 20:16:13 +02:00
Alexander Larsson
fadaced85f
[broadway] Move window to top when moving
2011-04-10 20:16:13 +02:00
Alexander Larsson
618dc872b0
[broadway] Add some initial work for in-window frames
...
The css is based on work by Jasper St Pierre:
http://magcius.mecheye.net/vista/
2011-04-10 20:16:13 +02:00
Alexander Larsson
69eafcc3c5
[broadway] Fix some typos in the js code
2011-04-10 20:16:13 +02:00
Alexander Larsson
930e43c710
[broadway] Use the right doctype for html5
2011-04-10 20:16:13 +02:00
Tristan Van Berkom
d2303bafae
Fix some crashes caused by unimplemented functions in GdkOffscreenWindow
...
These crashes happen when accessing GtkWindow properties and the
GdkWindow is an offscreen (fixes https://bugzilla.gnome.org/show_bug.cgi?id=647244 )
2011-04-09 02:00:18 +09:00