summaryrefslogtreecommitdiff
path: root/gdk
Commit message (Collapse)AuthorAgeFilesLines
* Move single-include guards inside include guardsMatthias Clasen2012-12-2858-174/+174
| | | | | | 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
* broadway: Handle NULL surface in updateAlexander Larsson2012-12-271-0/+3
| | | | This happen if nothing has been drawn yet.
* broadway: Rename gdkbroadway-server-client.c to gdkbroadway-server.cAlexander Larsson2012-12-272-1/+1
|
* broadway: Make resize grip work againAlexander Larsson2012-12-273-10/+0
|
* broadway: Stop default mouse button handlingAlexander Larsson2012-12-271-3/+6
| | | | This makes it not possible to select the canvas objects, etc.
* broadway: Add TODO.broadwayAlexander Larsson2012-12-272-9/+13
|
* broadway: Move broadwayd to binAlexander Larsson2012-12-271-1/+1
|
* broadway: During pointer grabs, send pointer events only to one clientAlexander Larsson2012-12-273-25/+61
|
* broadway: Make daemon side server "gdk independent".Alexander Larsson2012-12-274-125/+201
|
* broadway: Proper handling of http port and display nrAlexander Larsson2012-12-272-6/+47
|
* broadway: Collect and document some TODOsAlexander Larsson2012-12-271-6/+7
|
* broadway: Track windows for client and kill on client exitAlexander Larsson2012-12-271-2/+15
|
* broadway: Rename gdkbroadway-server.c to broadway-server.cAlexander Larsson2012-12-272-2/+2
| | | | | This way the broadway-*.c namespace is for the daemon and gdk* for the gdk lib.
* broadway: rename broadway-server to broadwaydAlexander Larsson2012-12-272-4/+4
| | | | The "server" part is too confusing, there are to many servers around.
* broadway: Drop libbroadway.laAlexander Larsson2012-12-271-10/+8
| | | | This is not needed anymore, its just used by the server.
* broadway: rename broadway.[ch] to broadway-output.[ch]Alexander Larsson2012-12-276-7/+4
|
* broadway: disconnect in idle when neededAlexander Larsson2012-12-271-2/+27
| | | | This makes the ownership cleaner
* broadway: Initial version of separate broadway serverAlexander Larsson2012-12-279-23/+1271
| | | | This kinda works but is very rudimentary
* broadway: Add OPs top protocolAlexander Larsson2012-12-272-12/+27
|
* broadway: Add enum for even typesAlexander Larsson2012-12-273-39/+55
|
* broadway: Break out broadway protocol in its own headerAlexander Larsson2012-12-273-76/+85
|
* broadway: Use SOURCE operator when scrollingAlexander Larsson2012-12-201-0/+1
|
* broadway: Allow reconnecting to a broadway pageAlexander Larsson2012-12-201-6/+7
|
* broadway: Fix possible access-after-freeAlexander Larsson2012-12-201-4/+4
| | | | We need to calculate the buf pointer after the realloc.
* broadway: Remove separate browser windows hackAlexander Larsson2012-12-201-236/+31
| | | | | This never really worked well, we need to be able to fully handle sizes from the client.
* broadway: Separate out the server partsAlexander Larsson2012-12-2012-1434/+1969
| | | | | | | 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.
* gdk: API: constify argumentBenjamin Otte2012-12-172-4/+4
| | | | gdk_window_set_background_rgba() should take a const RGBA.
* xi2: Abort early if we don't have a proper GDK windowJasper St. Pierre2012-12-131-5/+18
| | | | | | | | 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
* GdkBroadwayDisplay: include proper port number in error traceAleksander Morgado2012-12-051-1/+1
|
* GdkBroadwayDisplay: initialize GError before using itAleksander Morgado2012-12-051-1/+1
|
* Obtain the recent files max age setting from xsettingsMatthias Clasen2012-11-291-2/+4
| | | | | | | This will help with implementing desktop-wide policy for retaining of history. https://bugzilla.gnome.org/show_bug.cgi?id=689047
* Fix broken function pointer declarations on windowsAlan McGovern2012-11-291-2/+3
| | | | | | | | | | 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 5637ef1f97ee46666c97707ed7f6bae459007163)
* quartz: add mountain lion as version 8 to enum GdkOSXVersionMichael Natterer2012-11-292-3/+4
| | | | | Also use GDK_OSX_UNSUPPORTED instead of 0 in gdk_quartz_osx_version(). (cherry picked from commit 9644e910a85f97aedf3f5f4fee974229f29766c3)
* quartz: call Gestalt() only once per session in gdk_quartz_osx_version()Michael Natterer2012-11-291-3/+8
| | | | | Thanks to Paul Davis for pointing this out. (cherry picked from commit d6533ffc44d77b42cce7987f249fa481581b7c50)
* Bug 688710 - splashscreen shouldn't be always on top on OS XCamillo Lugaresi2012-11-201-1/+21
| | | | | | | | | 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 0596f5591f36f57b99103914ba03abbed5765e8b)
* quartz: fix the mapping of GDK_KP_Enter in known_numeric_keys[]Michael Natterer2012-11-201-1/+1
| | | | | | so it will actually be used, instead of delivering GDK_Return when it should be GDK_KP_Enter. (cherry picked from commit 27f3fcf12c39d551532872cf26823993c93eb04d)
* quartz: always send GDK_NOTIFY_NONLINEAR crossing eventsMichael Natterer2012-11-201-8/+6
| | | | | | so GtkMenu works properly. This is not right, but not more wrong than always sending GDK_NOTIFY_ANCESTOR either. (cherry picked from commit 35a9322e45bb403d34c9e4da036d9d8d559419fb)
* Bug 672193 - windows (including menus) shown multiple times don't...Michael Natterer2012-11-205-43/+41
| | | | | | | | | | | | | | | | 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 979e5061a040f8896f505ffbd230f52af2d61ded but needed manual editing because GdkQuartzWindow.c was renamed and apparently earlier patches not picked correctly/completely)
* quartz: use the real current event time for generated motion eventsMichael Natterer2012-11-181-1/+1
| | | | (cherry picked from commit b4a30877a9315ade584858f7259729dbda614bab)
* quartz: move tooltips window to the topmost levelMichael Natterer2012-11-181-12/+15
| | | | | | | 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 1a2509a6ab7f35caae758c2b31f40ef90d4fa94a)
* quartz: GdkQuartzWindow -> GdkQuartzNSWindow was forgotten in one placeMichael Natterer2012-11-151-2/+2
|
* quartz: filter out button press events on the window frameMichael Natterer2012-11-151-6/+75
| | | | | | | | Don't try to handle button press events on the window frame, they have out-of-window coordinates. Also, break grabs on such events so popup menus go away. Patch from Kristian Rietveld, fixes bug 684419. (cherry picked from commit 43e1354b71640d3fb7a47b997a436dc65bbd922f)
* quartz: move SPLASHSCREEN-hinted windows to NSStatusWindowLevelMichael Natterer2012-11-131-4/+4
| | | | | | | which does not really have a different effect than the previously used NSPopUpMenuWindowLevel, but is what all code examples I found are using, and it does make more sense. (cherry picked from commit 47f0e3f1e1cd6b0ae61ec7ced48cc9802f1a95a4)
* gdk: Add gdk_window_has_alpha helperAlexander Larsson2012-11-091-7/+13
| | | | | | | This centralizes the current checks for has_alpha_bg, which lets us extend the check later. https://bugzilla.gnome.org/show_bug.cgi?id=687842
* Bump GLib dependency to 2.35Matthias Clasen2012-11-041-2/+0
| | | | And drop deprecated g_type_init() calls.
* wayland: update to work with stable libxkbcommonRan Benita2012-10-293-17/+12
| | | | | | | | libxkbcommon has had some changes to its API. However, it now has a stable release (0.2.0), so this makes the necessary changes, and replaces all uses of the deprecated API. Signed-off-by: Ran Benita <ran234@gmail.com>
* Fix typo from f2ab3afJohn Ralls2012-10-251-1/+2
|
* Add GDK_VERSION_3_8Matthias Clasen2012-10-231-0/+10
| | | | | This macro is needed for the new AVAILABLE_IN and DEPRECATED_IN macros.
* Fix out of source tree building for gdk/broadwayJean Parpaillon2012-10-221-2/+2
| | | | | | This patch fix compilation when building out of source tree (gdk/broadway dir). Signed-off-by: Colin Walters <walters@verbum.org>
* wayland: Update to reflect protocol changesScott Moreau2012-10-196-44/+28
|