Benjamin Otte
4042d5f242
gdk: Remove ability to own a selection
...
With this, the GDK_EVENT_SELECTION_REQUEST and GDK_EVENT_SELECTION_CLEAR
and the associated GtkWidget signals are gone, too.
2017-12-13 23:39:02 +01:00
Philip Withnall
276c462553
mir: Fix potential use of NULL GDBusConnection
...
If we fail to connect to the session bus, it would be a bit silly to
immediately try and use that NULL connection.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=668590
2017-12-08 09:55:27 +00:00
Matthias Clasen
6ab72b2653
Remove GdkDragProtocol from the api
...
...together with apis that return it. We were not using this
information in GTK+ at all, so no need to provide it.
2017-12-03 06:41:08 +01:00
Benjamin Otte
4c4e914806
gdk: Replace GDK_NONE with NULL
2017-11-15 19:07:17 +01:00
Benjamin Otte
4e7a056777
gdk: Cursors are created generically
...
There are no longer subclasses for cursors now.
2017-11-04 00:07:13 +01:00
Benjamin Otte
81c2bebaca
gdk: Remove ability to download a cursor
2017-11-04 00:07:13 +01:00
Benjamin Otte
9c98adcd15
gdk: Remove GdkWindow.set_device_cursor() vfunc
...
That one calls through to GdkDevice.set_window_cursor(), so let's just
use that one.
2017-11-02 12:42:58 +01:00
Matthias Clasen
93053adbf6
mir: Stop using gdk_screen_get_display
...
Just use the field directly.
2017-11-01 20:48:03 -04:00
Matthias Clasen
727aa6cb08
Drop the monitors-changed signal
...
We are not using it anymore.
2017-10-31 22:42:33 -04:00
Matthias Clasen
2d6bd1ae6d
Drop gdk_window_get_screen
...
This includes removing the GdkScreen argument from the
create_window_impl display vfunc.
2017-10-31 17:25:01 -04:00
Matthias Clasen
a3cffa5072
Drop GdkScreen from GdkDevice apis
...
Returning the screen does not add anything here and
GdkScreen is going away.
2017-10-31 12:30:38 -04:00
Matthias Clasen
525e2a7944
gdk: Stop using gdk_event_set_screen
...
Use gdk_event_set_display instead.
2017-10-30 22:22:00 -04:00
Matthias Clasen
96f1e83877
mir: Don't set the GdkScreen get_setting vfunc
...
We don't use it anymore.
2017-10-30 16:51:38 -04:00
Matthias Clasen
a9ea420b65
mir: Implement the GdkDisplay get_setting vfunc
...
Just call the corresponding screen vfunc.
2017-10-30 16:41:59 -04:00
Matthias Clasen
d3e45cf087
mir: Stop emitting setting events
...
Not needed anymore.
2017-10-30 09:49:02 -04:00
Matthias Clasen
bb6c8a475f
mir: Emit GdkDisplay::setting-changed
...
We still generate the event too.
That will be removed in a future commit.
2017-10-30 09:23:16 -04:00
Benjamin Otte
f29b7744bb
gdk: Remove leftovers from GdkScreen::size-changed removal
2017-10-30 02:30:44 +01:00
Benjamin Otte
d5155ef982
screen: Remove unused vfuncs
2017-10-30 02:30:44 +01:00
Alexander Larsson
d3fc937b4d
GtkWindow/GdkWindow: Finish converting icons to surfaces
...
There were some parts left, for instance gdk_window_set_icon_list.
2017-10-23 13:45:25 +02:00
Emmanuele Bassi
391d1a04ec
Drop Autotools build
...
We are officially switching to Meson as the default build system for
GTK+.
2017-08-14 22:23:09 +01:00
Matthias Clasen
9859f8f69f
Allow passing a NULL window to gdk_device_query_state
...
Interpret NULL as "root window" here - we only have one
screen nowadays, so there is no choice involved, and this
will let us avoid dealing with the root window in the
fontend code.
2017-08-11 15:45:24 -04:00
Matthias Clasen
c409fca703
Drop root windows from some internal apis
...
_gdk_device_query_state was needlessly shuffling
root windows around.
2017-08-11 15:45:23 -04:00
Tim-Philipp Müller
e1dc4f7ae1
meson: gdk: fix static library names
...
Fix double lib prefix in filenames (liblibgdk-xyz.a)
2017-05-03 15:10:56 +01:00
Tim-Philipp Müller
152a25d099
meson: gdk: add Mir backend bits
...
Completely untested, might not even build.
2017-05-03 15:10:54 +01:00
William Hua
8b271e7b8c
mir: clean up an ugly function
2017-04-03 13:29:06 -04:00
William Hua
94db94a78b
mir: set application name when creating connection
2017-04-01 11:05:27 -04:00
William Hua
8985643966
mir: remove keymap and input device state warnings
2017-03-31 17:36:47 -04:00
William Hua
c638fb952c
mir: re-write settings implementation
2017-03-31 15:27:53 -04:00
William Hua
e69b4dc3da
mir: always emit a resize when creating windows
2017-03-22 02:21:43 -04:00
William Hua
05ca583515
mir: start handling resize events again
2017-03-13 10:52:42 -04:00
William Hua
3eb8694cbd
mir: remove unused generate_configure_event ()
2017-03-13 04:07:54 -04:00
William Hua
64753532ba
mir: set placement for menu-type windows
2017-03-13 03:36:30 -04:00
William Hua
3914bcd678
mir: synthesize resize events
2017-03-13 02:52:15 -04:00
William Hua
24dc2d8986
mir: ignore resize events
2017-03-13 00:06:30 -04:00
William Hua
0c1cbcfe60
mir: try mir before x11
2017-03-12 22:40:04 -04:00
William Hua
0b72eee311
mir: log additional event types
2017-03-09 23:42:41 -05:00
William Hua
dbb3f84796
mir: don't create GDK_INPUT_ONLY windows
2017-03-06 10:36:45 -05:00
William Hua
54791b65bd
mir: deprecate gdk_mir_window_get_mir_surface ()
2017-03-01 02:15:56 -05:00
William Hua
f98e3dd09a
mir: delete commented debug output
2017-03-01 02:15:56 -05:00
William Hua
bdf559c623
mir: migrate away from deprecated mir api
2017-03-01 02:15:56 -05:00
William Hua
e07dea5d97
mir: move #include to correct file
2017-03-01 02:15:56 -05:00
William Hua
2088cc3395
mir: handle surface placement events
...
This allows the Mir backend to properly emit "moved-to-rect."
2017-01-30 03:06:59 -05:00
William Hua
b09b69472b
mir: use mir_surface_spec_set_placement for menus
...
This API was added to Mir for GTK menus, combo boxes, etc.
2017-01-30 03:06:01 -05:00
William Hua
670ae58cc9
mir: use modal window hint
2017-01-12 17:24:19 -05:00
William Hua
57a11ca28d
mir: fix compile-time warnings
2017-01-09 17:55:31 -05:00
William Hua
a50a98f38b
mir: properly handle empty clipboard
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-09 12:04:48 -05:00
Benjamin Otte
7ade6e3f46
gdk: Remove testing functions
...
They were unused and unimplemented.
2017-01-08 03:46:30 +01:00
William Hua
384fe52e96
mir: paste clipboard data from content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
516c0a2aab
mir: copy clipboard data to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
dcda372c15
mir: connect to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00