summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkbroadway-server.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gint" with "int"Benjamin Otte2020-07-251-11/+11
|
* display: Remove gdk_display_get_last_seen_time()Benjamin Otte2020-05-131-1/+0
| | | | Replace the only usage - in the X11 backend - with an X11-specific call.
* gdk: Move GdkGrabStatus and GdkGrabOwnership decl.Olivier Fourdan2020-04-031-0/+1
| | | | | | | With the removal of `gdk_seat_grab` we do not need to keep the definitions of `GdkGrabStatus` and `GdkGrabOwnership` public. Move those definitions to become internal only.
* broadway: Track surface position correctlyAlexander Larsson2020-03-131-2/+1
| | | | | | | | | | | surface->x/y (and various x,y arguments) should be in the parent coordinates, so treat it as such. We also keep track of the root coords as these are needed for popup positioning. Also, drop the isTemp property server side and the weird initial placement at (100, 100) in the daemon. We now fully control window placement from the client instead. If this is not we want we should do a serious design for that but until then lets do the simplest thing.
* broadway: Fix handling of input with multiple in-process GdkDisplaysAlexander Larsson2019-03-291-1/+2
| | | | | We need each instance to only forward input to the right display. This make the inspector work better.
* broadway: Use "surface" instead of window/toplevel for browser objectAlexander Larsson2017-12-051-11/+11
| | | | Als fixes indentation/tabs and removes some unused code.
* broadway: Roundtrip each update to rate limit redrawAlexander Larsson2017-11-231-0/+3
|
* broadway: Remove remaining unused window_update codeAlexander Larsson2017-11-231-3/+0
|
* broadway: Initial version of using actual render nodesAlexander Larsson2017-11-231-0/+3
|
* broadway: Use textures to configure window contentsAlexander Larsson2017-11-231-3/+1
| | | | | Instead of using the old buffer code, just use textures to define the window contents.
* broadway: Add support for uploading textures to daemonAlexander Larsson2017-11-231-0/+4
|
* broadway: Support ipad on-screen keyboardAlexander Larsson2013-11-131-0/+2
| | | | | | | We add a custom im module for broadway that calls some broadway specific APIs to show/hide the keyboard on focus in/out. We then forward this to the browser, and on the ipad we focus an input field to activate the keyboard.
* broadway: use 'click-to-focus' approach instead of 'focus-follows-mouse'Alexander Larsson2013-11-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The broadway backend would move the focus from one window to another based on where the mouse was (i.e. 'focus-follows-mouse' approach). Handling the focus this wait didn't play well with widgets which rely on focus-in-event and focus-out-event, like the GtkEntry when using a completion popup window, see e.g: https://bugzilla.gnome.org/show_bug.cgi?id=708984 So instead, setup broadway to require a click in a window to move the focus (i.e. 'click-to-focus' approach): * The implicit GDK_FOCUS_CHANGE events that were generated upon reception of BROADWAY_EVENT_ENTER or BROADWAY_EVENT_LEAVE are removed. * The broadway daemon will now keep track of which is the focused window * Whenever the daemon detects an incoming BROADWAY_EVENT_BUTTON_PRESS, it will trigger the focused window switch, which sends a new BROADWAY_EVENT_FOCUS to the client, specifying which windows holds the focus. * Upon reception of a BROADWAY_EVENT_FOCUS, the client will generate a new GDK_FOCUS_CHANGE. * gdk_broadway_window_focus() was also implemented, which now requests the focus to the broadway server using a new BROADWAY_REQUEST_FOCUS_WINDOW. This is based on an initial patch from Aleksander Morgado <aleksander@lanedo.com>.
* broadway: Support TCP displaysTarnyko2013-06-131-1/+1
|
* broadway: Move window position ownership to browserAlexander Larsson2013-01-081-0/+1
| | | | | | | | 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.
* broadway: Make resize grip work againAlexander Larsson2012-12-271-1/+0
|
* broadway: Initial version of separate broadway serverAlexander Larsson2012-12-271-4/+5
| | | | This kinda works but is very rudimentary
* broadway: Break out broadway protocol in its own headerAlexander Larsson2012-12-271-76/+1
|
* broadway: Separate out the server partsAlexander Larsson2012-12-201-0/+145
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.