| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Instead, turn the functions into backend API:
gdk_broadway_display_add_selection_targets()
gdk_broadway_display_clear_selection_targets()
Remove the old per-backend functions, too.
|
|
|
|
|
| |
We already have a list of toplevels, so we don't
need the root window for this.
|
|
|
|
| |
This is no longer used.
|
|
|
|
| |
We can just use the field in the display.
|
|
|
|
|
| |
We already keep a list of all toplevels in the broadway
display struct. Just use it.
|
|
|
|
| |
There are no longer subclasses for cursors now.
|
|
|
|
|
|
| |
This way, backends can instantiate GdkCursor objects directly.
Do that for broadway to test that it indeed works.
|
|
|
|
|
| |
Also turn all the arguments into read-only properties on the GdkCursor
object.
|
| |
|
| |
|
|
|
|
| |
Also add the GdkCursor::name property.
|
|
|
|
|
| |
Now that we no longer have API that uses cursor types, don't keep them
around.
|
|
|
|
|
| |
That one calls through to GdkDevice.set_window_cursor(), so let's just
use that one.
|
|
|
|
|
| |
The broadway backen never creates foreign windows,
so no need to check for this type of window.
|
| |
|
| |
|
|
|
|
|
|
| |
The preferred api to create cursors is by name, and the
GdkCursorType enumeration can directly trace its ancestry
to the horrible X cursor font. So lets stop using it.
|
| |
|
|
|
|
|
| |
This gets rid of the GdkBroadwayScreen object and all
remnants of GdkScreen in the broadway backend.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=789777
|
| |
|
|
|
|
| |
This function is no longer used.
|
|
|
|
| |
This is the replacement for the GdkScreen api of the same name.
|
|
|
|
| |
This replaces the GdkScreen api of the same name.
|
|
|
|
|
|
| |
This is replacing the corresponding GdkScreen api, which
is going away. To implement this, we need to add a
get_root_window vfunc to GdkDisplay.
|
|
|
|
|
| |
This includes removing the GdkScreen argument from the
create_window_impl display vfunc.
|
|
|
|
|
| |
Returning the screen does not add anything here and
GdkScreen is going away.
|
|
|
|
|
|
|
|
| |
Drop the screen argument from gdk_dnd_find_window_for_screen
and rename the function to gdk_dnd_find_window. The screen
argument does not add anything here since the drag context
is already tied to the display. Update all backends, and
update all callers.
|
|
|
|
| |
We are not using it anymore.
|
|
|
|
| |
This is just a trivial implementation.
|
|
|
|
| |
There were some parts left, for instance gdk_window_set_icon_list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes that work using 1 of 2 options:
1. Add all missing enums to the switch statement
or
2. Cast the switch argument to a uint to avoid having to do that (mostly
for GdkEventType).
I even found a bug while doing that: clearing a GtkImage with a surface
did not notify thae surface property.
The reason for enabling this flag even though it is tedious at times is
that it is very useful when adding values to an enum, because it makes
GTK immediately warn about all the switch statements where this enum is
relevant.
And I expect changes to enums to be frequent during the GTK4 development
cycle.
|
|
|
|
|
|
|
|
| |
-Wint-conversion is important because it checks casts from ints to
pointers.
-Wdiscarded-qualifiers is important to catch cases where we don't
strings when we should.
|
|
|
|
|
| |
The Broadway backend does not build after commit c409fca7 dropped some
occurrences of the root window from GDK.
|
|
|
|
|
| |
We are officially switching to Meson as the default build system for
GTK+.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
_gdk_device_query_state was needlessly shuffling
root windows around.
|
|
|
|
|
| |
The G_LOG_USE_STRUCTURED symbol is defined in the project flags, so we
don't need to add it again in the per-target flags.
|
|
|
|
| |
We want to use the new structured logging support in GLib.
|
|
|
|
|
|
| |
The common compiler and linker flags control, among other things, the
default visibility of symbols; without them, we leak symbols that ought
to be private.
|
|
|
|
| |
Fix double lib prefix in filenames (liblibgdk-xyz.a)
|
|
|
|
|
|
|
| |
This is how it's done in the autotools build. Also avoids problems
with multiple source files having the same name (gdkeventsource.c).
Also move broadway backend code into broadway subdir.
|
|
|
|
| |
They were unused and unimplemented.
|
|
|
|
|
|
|
|
|
|
|
| |
Since the status of the GDK broadway backend is more or less unsupported,
drop the projects that build gtk4-broadwayd and gdk-broadway, and update
the projects to not to refer to them.
However, keep the Broadway configs for now as we will later transform
them to become configs for Vulkan, so bascially besides "installation"
parts and output settings, they will do the same as their Release|Debug
counterparts with no support for Broadway.
|
|
|
|
|
|
| |
We're not currently using this, and dropping it allows us to loose
a bunch of code which leads us towards the goal of having GdkWindow
only for toplevels (and reparenting makes not sense for toplevels).
|
|
|
|
|
|
| |
We can't really support these on e.g. wayland anyway, and we're trying
to get rid of subwindow at totally in the long term, so lets drop this.
It allows us to drop a lot of complexity.
|
|
|
|
|
| |
No backend is using it, and we can put the backend-specific drawing code
into GdkGLContext.
|
|
|
|
| |
It's completely unused since we have a frame clock.
|
|
|
|
|
| |
The parts where the Visual Studio projects are generated must also be updated
so that 'make dist' will work properly.
|
| |
|