Alexander Larsson
5708e2bc2c
broadway: Update TODO
2013-01-08 18:05:06 +01:00
Alexander Larsson
d5812de2e6
broadway: Send window size to new clients
...
Tell all new clients about the current (last sent) window size.
2013-01-08 18:05:06 +01:00
Alexander Larsson
35c295da89
broadway: Don't allow dragging windows above top of window
...
This is highly confusing and makes it impossible to get the windows
back.
2013-01-08 18:05:06 +01:00
Alexander Larsson
8e686357c4
broadway: Move window position ownership to browser
...
With this we always roundtrip position change to the webbrowser.
This avoids conflicts when things change from both directions (app and user).
Also, we fake configure evens when there is no web client to ensure
apps get the events.
2013-01-08 18:05:06 +01:00
Alexander Larsson
4d7b822059
broadway: Make the InputMessage type a uint32
...
That way we don't get any holes in the structs.
2013-01-08 18:05:06 +01:00
Alexander Larsson
f72d1a8d2b
broadway: Fix gdk_broadway_server_wait_for_reply
...
We didn't properly queue an idle to handle the read messages so they
were never serviced in some situations.
2013-01-08 18:05:06 +01:00
Alexander Larsson
6f910e5e02
broadway: Clean up broadwayd event sending code
...
Use the right size and put the client serial in the right place.
2013-01-08 18:05:06 +01:00
Alexander Larsson
c83d35d1df
broadway: Rewrite serials for clients
...
This seems right, but atm it breaks grabs.
2013-01-08 18:05:06 +01:00
Alexander Larsson
71e7912940
broadway: Remove last_serial from BroadwayReplyBase
...
This is not used anyway.
2013-01-08 18:05:05 +01:00
Matthias Clasen
5adecf183b
Move single-include guards inside include guards
...
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
2012-12-28 09:57:56 -05:00
Alexander Larsson
ec45d2f8c7
broadway: Handle NULL surface in update
...
This happen if nothing has been drawn yet.
2012-12-27 22:56:04 +01:00
Alexander Larsson
e00bc73de8
broadway: Rename gdkbroadway-server-client.c to gdkbroadway-server.c
2012-12-27 22:56:04 +01:00
Alexander Larsson
6410a43b76
broadway: Make resize grip work again
2012-12-27 22:56:04 +01:00
Alexander Larsson
aac4a027eb
broadway: Stop default mouse button handling
...
This makes it not possible to select the canvas objects, etc.
2012-12-27 22:56:04 +01:00
Alexander Larsson
9555478b9e
broadway: Add TODO.broadway
2012-12-27 22:56:04 +01:00
Alexander Larsson
f84df03513
broadway: Move broadwayd to bin
2012-12-27 22:56:04 +01:00
Alexander Larsson
63b6c07fe0
broadway: During pointer grabs, send pointer events only to one client
2012-12-27 22:56:04 +01:00
Alexander Larsson
75ee72f2ac
broadway: Make daemon side server "gdk independent".
2012-12-27 22:56:04 +01:00
Alexander Larsson
3558e655b4
broadway: Proper handling of http port and display nr
2012-12-27 22:56:04 +01:00
Alexander Larsson
59830a9001
broadway: Collect and document some TODOs
2012-12-27 22:56:04 +01:00
Alexander Larsson
329372a343
broadway: Track windows for client and kill on client exit
2012-12-27 22:56:04 +01:00
Alexander Larsson
5ee8b69418
broadway: Rename gdkbroadway-server.c to broadway-server.c
...
This way the broadway-*.c namespace is for the daemon and gdk* for the
gdk lib.
2012-12-27 22:56:03 +01:00
Alexander Larsson
8b9ccf4ee9
broadway: rename broadway-server to broadwayd
...
The "server" part is too confusing, there are to many servers around.
2012-12-27 22:56:03 +01:00
Alexander Larsson
e801d06229
broadway: Drop libbroadway.la
...
This is not needed anymore, its just used by the server.
2012-12-27 22:56:03 +01:00
Alexander Larsson
20b79b06ee
broadway: rename broadway.[ch] to broadway-output.[ch]
2012-12-27 22:56:03 +01:00
Alexander Larsson
3005f1b844
broadway: disconnect in idle when needed
...
This makes the ownership cleaner
2012-12-27 22:56:03 +01:00
Alexander Larsson
fc96ef51d7
broadway: Initial version of separate broadway server
...
This kinda works but is very rudimentary
2012-12-27 22:56:03 +01:00
Alexander Larsson
4addb2108e
broadway: Add OPs top protocol
2012-12-27 22:56:03 +01:00
Alexander Larsson
9aa36d8d0d
broadway: Add enum for even types
2012-12-27 22:56:03 +01:00
Alexander Larsson
95a0c055da
broadway: Break out broadway protocol in its own header
2012-12-27 22:56:03 +01:00
Alexander Larsson
dfbabfbd6d
broadway: Use SOURCE operator when scrolling
2012-12-20 00:00:16 +01:00
Alexander Larsson
9e65be6c48
broadway: Allow reconnecting to a broadway page
2012-12-20 00:00:16 +01:00
Alexander Larsson
54714cb228
broadway: Fix possible access-after-free
...
We need to calculate the buf pointer after the realloc.
2012-12-20 00:00:16 +01:00
Alexander Larsson
9c3cd49abd
broadway: Remove separate browser windows hack
...
This never really worked well, we need to be able to fully handle
sizes from the client.
2012-12-20 00:00:16 +01:00
Alexander Larsson
0a808bea54
broadway: Separate out the server parts
...
This (shouldn't) change any behaviour, but it moves the
webserver parts to a separate file, making the broadway display file
smaller and preparing for later separating out the server to its own
process.
2012-12-20 00:00:16 +01:00
Benjamin Otte
4cfd1f51c0
gdk: API: constify argument
...
gdk_window_set_background_rgba() should take a const RGBA.
2012-12-17 17:21:07 +01:00
Jasper St. Pierre
9dc4c5ce73
xi2: Abort early if we don't have a proper GDK window
...
This can happen in mutter or other applications that use GDK filters
but don't actually create GDK windows for everything they get events
for.
https://bugzilla.gnome.org/show_bug.cgi?id=689401
2012-12-13 10:51:38 -05:00
Aleksander Morgado
a61b359498
GdkBroadwayDisplay: include proper port number in error trace
2012-12-05 11:23:35 +01:00
Aleksander Morgado
4dabc8ba84
GdkBroadwayDisplay: initialize GError before using it
2012-12-05 11:23:28 +01:00
Matthias Clasen
256f168525
Obtain the recent files max age setting from xsettings
...
This will help with implementing desktop-wide policy for
retaining of history.
https://bugzilla.gnome.org/show_bug.cgi?id=689047
2012-11-29 23:10:33 -05:00
Alan McGovern
149de71624
Fix broken function pointer declarations on windows
...
Both flashing a window and setting the window opacity were using
incorrect declarations for function pointers. They were missing the
WINAPI annotation as defined in windows.h. As a result, the stack
could be corrupted when these functions were invoked.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=689235
(cherry picked from commit 5637ef1f97
)
2012-11-29 15:07:42 +01:00
Michael Natterer
709f12b9ac
quartz: add mountain lion as version 8 to enum GdkOSXVersion
...
Also use GDK_OSX_UNSUPPORTED instead of 0 in gdk_quartz_osx_version().
(cherry picked from commit 9644e910a8
)
2012-11-29 15:00:57 +01:00
Michael Natterer
e2144fbb7e
quartz: call Gestalt() only once per session in gdk_quartz_osx_version()
...
Thanks to Paul Davis for pointing this out.
(cherry picked from commit d6533ffc44
)
2012-11-29 15:00:38 +01:00
Camillo Lugaresi
4f6e1fdf16
Bug 688710 - splashscreen shouldn't be always on top on OS X
...
Activate the "hides on deactivate" behavior for splashscreens,
torn-off menus, utility windows, tooltips and notifications: when
another application is brought to the front, these windows are hidden
so as not to obscure it. This is the expected behavior for
application-specific floating windows on OS X.
(cherry picked from commit 0596f5591f
)
2012-11-20 22:03:40 +01:00
Michael Natterer
d0af25f12c
quartz: fix the mapping of GDK_KP_Enter in known_numeric_keys[]
...
so it will actually be used, instead of delivering GDK_Return
when it should be GDK_KP_Enter.
(cherry picked from commit 27f3fcf12c
)
2012-11-20 19:14:43 +01:00
Michael Natterer
455a0ecc1c
quartz: always send GDK_NOTIFY_NONLINEAR crossing events
...
so GtkMenu works properly. This is not right, but not more
wrong than always sending GDK_NOTIFY_ANCESTOR either.
(cherry picked from commit 35a9322e45
)
2012-11-20 10:35:40 +01:00
Michael Natterer
2d5ad5f54e
Bug 672193 - windows (including menus) shown multiple times don't...
...
Based on a patch from Paul Davis, inject synthetic enter events directly
into the Quartz event stream, instead of trying to synthesize them in GDK.
This seems to magically fix most combo box popup weirdness, I guess
some code is relying on a specfic order of events, or any other state
imposed by the "proper" code path of events coming in the usual way.
The patch also removes _gdk_quartz_events_send_enter_notify_event()
which is now obsolete.
(sortof cherry-pixked from 979e5061a0
but needed manual editing because GdkQuartzWindow.c was renamed
and apparently earlier patches not picked correctly/completely)
2012-11-20 10:28:58 +01:00
Michael Natterer
b55724e3a7
quartz: use the real current event time for generated motion events
...
(cherry picked from commit b4a30877a9
)
2012-11-18 20:17:22 +01:00
Michael Natterer
f2e05e2b41
quartz: move tooltips window to the topmost level
...
so they can appear on top of popup menus. Also, reorder the switch()
statement in window_type_hint_to_level() so it resembles the stacking
order, to avoid confision like this in the future. Fixes bug 688512.
(cherry picked from commit 1a2509a6ab
)
2012-11-18 17:47:33 +01:00
Michael Natterer
18fdc975be
quartz: GdkQuartzWindow -> GdkQuartzNSWindow was forgotten in one place
2012-11-15 13:17:31 +01:00