gtk4.git
6 years agogl: Improve debug spew for caches
Matthias Clasen [Sat, 12 Oct 2019 16:32:49 +0000 (12:32 -0400)]
gl: Improve debug spew for caches

Dump similar information for both caches,
and correct the unused percentage for
the atlases.

6 years agoUpdate stackswitcher CSS
Timm Bäder [Sat, 12 Oct 2019 16:26:54 +0000 (18:26 +0200)]
Update stackswitcher CSS

Add the spacing to circular stack switchers back.

6 years agostackswitcher: Inherit from GtkWidget
Timm Bäder [Sat, 12 Oct 2019 16:09:12 +0000 (18:09 +0200)]
stackswitcher: Inherit from GtkWidget

6 years agocolorscale: Remove some duplicated code
Timm Bäder [Sat, 12 Oct 2019 15:53:59 +0000 (17:53 +0200)]
colorscale: Remove some duplicated code

6 years agomenuitem: Remove unused members
Timm Bäder [Sat, 12 Oct 2019 15:41:20 +0000 (17:41 +0200)]
menuitem: Remove unused members

6 years agomenu: Align function parameters
Timm Bäder [Sat, 12 Oct 2019 15:37:37 +0000 (17:37 +0200)]
menu: Align function parameters

6 years agomenu: Remove unused members
Timm Bäder [Sat, 12 Oct 2019 15:27:58 +0000 (17:27 +0200)]
menu: Remove unused members

6 years agomenu: Remove menu_queue_resize
Timm Bäder [Sat, 12 Oct 2019 15:24:42 +0000 (17:24 +0200)]
menu: Remove menu_queue_resize

The have_layout flag is unused, so this is equal to a normal
gtk_widget_queue_resize().

6 years agoMerge branch 'glyphcache-fiddling' into 'master'
Matthias Clasen [Sat, 12 Oct 2019 15:56:08 +0000 (15:56 +0000)]
Merge branch 'glyphcache-fiddling' into 'master'

Glyphcache fiddling

See merge request GNOME/gtk!1132

6 years agogl: Make icon cache work like glyph cache
Matthias Clasen [Sat, 12 Oct 2019 15:46:10 +0000 (11:46 -0400)]
gl: Make icon cache work like glyph cache

Replace timestamp tracking with an accessed bit
here too, to keep the glyph and icon cache code
similar.

6 years agogl: Do less work on glyph caching
Matthias Clasen [Sat, 12 Oct 2019 15:03:04 +0000 (11:03 -0400)]
gl: Do less work on glyph caching

There is no need for us to be very precise about
aging the glyph entries. It is enough to check
occasionally and mark old entries. This reduces
the overhead of work we do every frame on the
caches, at the cost of letting glyphs linger
a bit longer in the cache.

6 years agoiconcache: Fix icon padding
Timm Bäder [Sat, 12 Oct 2019 07:17:24 +0000 (09:17 +0200)]
iconcache: Fix icon padding

6 years agogl: Simplify glyph cache lookup
Matthias Clasen [Sat, 12 Oct 2019 05:35:13 +0000 (01:35 -0400)]
gl: Simplify glyph cache lookup

Make this function more similar to the icon
cache equivalent, and simplify it a bit. We
don't use the boolean return, and we don't need
to look at the age of entry when marking it
used.

6 years agogl: Don't use memcmp for comparing cache keys
Matthias Clasen [Sat, 12 Oct 2019 05:00:08 +0000 (01:00 -0400)]
gl: Don't use memcmp for comparing cache keys

Some innocent change made us use a stack-allocated
key, and things broke. Lets go back to comparing
cache keys field by field.

6 years agoMake the scrolling demo more versatile
Matthias Clasen [Sat, 12 Oct 2019 02:04:30 +0000 (22:04 -0400)]
Make the scrolling demo more versatile

Allow to swap out the content, so we can compare
text and icon scrolling.

6 years agogl: Handle row stride for icon cache upload
Matthias Clasen [Sat, 12 Oct 2019 01:17:30 +0000 (21:17 -0400)]
gl: Handle row stride for icon cache upload

Same as the previous commit: Downloading a texture
may in theory give us data with a stride, so handle
that.

6 years agogl: Handle row stride for glyph cache upload
Matthias Clasen [Sat, 12 Oct 2019 01:16:40 +0000 (21:16 -0400)]
gl: Handle row stride for glyph cache upload

In theory, we can have data with a stride here,
so set the necessary parameters to tell GL about
it.

6 years agogl: Do less work to maintain caches
Matthias Clasen [Sat, 12 Oct 2019 00:42:24 +0000 (20:42 -0400)]
gl: Do less work to maintain caches

Remember which atlases were removed, and only
check those when looking for icons or glyphs
to remove. For most frames, we don't have to
check at all since no atlases were removed.

6 years agogl: Speed up icon caching
Matthias Clasen [Fri, 11 Oct 2019 23:36:26 +0000 (19:36 -0400)]
gl: Speed up icon caching

Avoid expensive padding, and just upload the
image in several slices.

6 years agoAdd an icon scrolling demo
Matthias Clasen [Fri, 11 Oct 2019 21:35:58 +0000 (17:35 -0400)]
Add an icon scrolling demo

This is good to exercise the GL renderer icon cache.

6 years agogl renderer: Get blur node child only once
Timm Bäder [Fri, 11 Oct 2019 19:56:12 +0000 (21:56 +0200)]
gl renderer: Get blur node child only once

6 years agogl renderer: Shorten function
Timm Bäder [Fri, 11 Oct 2019 19:52:26 +0000 (21:52 +0200)]
gl renderer: Shorten function

6 years agogl renderer: Avoid copying a rect
Timm Bäder [Fri, 11 Oct 2019 19:49:13 +0000 (21:49 +0200)]
gl renderer: Avoid copying a rect

6 years agogl: Avoid stray use of doubles
Matthias Clasen [Thu, 10 Oct 2019 19:13:14 +0000 (15:13 -0400)]
gl: Avoid stray use of doubles

Everything else in this code is floats,
so stick to that and avoid unnecessary
precision.

6 years agoCosmetics
Matthias Clasen [Thu, 10 Oct 2019 03:17:15 +0000 (23:17 -0400)]
Cosmetics

6 years agogl: glyph cache tweaks
Matthias Clasen [Thu, 10 Oct 2019 01:49:43 +0000 (21:49 -0400)]
gl: glyph cache tweaks

Reduce the cost of lookups by storing
the hash value directly.

6 years agogl: Shrink CachedGlyph structs slightly
Matthias Clasen [Thu, 10 Oct 2019 19:12:34 +0000 (15:12 -0400)]
gl: Shrink CachedGlyph structs slightly

Plug a hole in this struct.

6 years agogsk: Store color bit info in text nodes
Matthias Clasen [Thu, 10 Oct 2019 11:31:08 +0000 (07:31 -0400)]
gsk: Store color bit info in text nodes

Keep the 'has color glyphs' info in text nodes,
instead of determining it over and over in both
the vulkan and gl backends.

6 years agogl renderer: Remove unused modelview matrix
Timm Bäder [Fri, 11 Oct 2019 14:56:24 +0000 (16:56 +0200)]
gl renderer: Remove unused modelview matrix

6 years agogl renderer: Don't copy outset shadow node outline
Timm Bäder [Fri, 11 Oct 2019 14:38:58 +0000 (16:38 +0200)]
gl renderer: Don't copy outset shadow node outline

6 years agogl renderer: Don't copy colors into render ops
Timm Bäder [Fri, 11 Oct 2019 13:06:51 +0000 (15:06 +0200)]
gl renderer: Don't copy colors into render ops

6 years agosnapshot: Don't move shadows too much
Timm Bäder [Fri, 11 Oct 2019 11:47:40 +0000 (13:47 +0200)]
snapshot: Don't move shadows too much

dx/dy are relative to the node bounds, which are already moved by x/y.

6 years agogl renderer: Grow unblurred outset shadow outline on the gpu
Timm Bäder [Fri, 11 Oct 2019 08:16:39 +0000 (10:16 +0200)]
gl renderer: Grow unblurred outset shadow outline on the gpu

6 years agogl renderer: Fix glsl rounded rect shrinking
Timm Bäder [Fri, 11 Oct 2019 08:15:58 +0000 (10:15 +0200)]
gl renderer: Fix glsl rounded rect shrinking

Previous code would add rounded corners to a rect with all 0 corners
when growing.

6 years agogl renderer: Cosmetics
Timm Bäder [Fri, 11 Oct 2019 07:32:24 +0000 (09:32 +0200)]
gl renderer: Cosmetics

6 years agogl renderer: Only add outset shadow center piece if dx/dy != 0
Timm Bäder [Fri, 11 Oct 2019 06:46:33 +0000 (08:46 +0200)]
gl renderer: Only add outset shadow center piece if dx/dy != 0

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 10 Oct 2019 12:00:22 +0000 (14:00 +0200)]
Updated Spanish translation

6 years agoMerge branch 'wip/chergert/avoid-renderop-copy' into 'master'
Matthias Clasen [Wed, 9 Oct 2019 22:49:36 +0000 (22:49 +0000)]
Merge branch 'wip/chergert/avoid-renderop-copy' into 'master'

gl: avoid copying RenderOp

See merge request GNOME/gtk!1128

6 years agogl: avoid copying RenderOp to GArray
Christian Hergert [Wed, 9 Oct 2019 22:41:53 +0000 (15:41 -0700)]
gl: avoid copying RenderOp to GArray

Instead of copying the (rather large) RenderOp to the GArray, we can
simply set the fields directly in the allocated space for the struct.
In most cases, there wont be any allocations to make as the array size
is kept in tact across frame renderings.

6 years agogl: use memcmp to compare glyph cache keys
Christian Hergert [Wed, 9 Oct 2019 21:46:36 +0000 (14:46 -0700)]
gl: use memcmp to compare glyph cache keys

We can just use memcmp here because even in the use of lookup keys with
C99 initializers, we can rely on any space between fields added by the
compiler to be zeroed. So we might as well use wider memory cmopares.

6 years agoMerge branch 'wip/chergert/const-glyph-cache' into 'master'
Matthias Clasen [Wed, 9 Oct 2019 21:45:41 +0000 (21:45 +0000)]
Merge branch 'wip/chergert/const-glyph-cache' into 'master'

gl: avoid copying GskGLCachedGlyph in lookup

See merge request GNOME/gtk!1127

6 years agogl: avoid copying GskGLCachedGlyph in lookup
Christian Hergert [Wed, 9 Oct 2019 21:27:48 +0000 (14:27 -0700)]
gl: avoid copying GskGLCachedGlyph in lookup

This saves a minor amount of CPU time by avoiding the copy of structure
on each lookup (which is short-lived).

6 years agotextview: use gtk_snapshot_new_with_parent()
Christian Hergert [Wed, 9 Oct 2019 19:56:06 +0000 (12:56 -0700)]
textview: use gtk_snapshot_new_with_parent()

As recommended by Timm Bäder at:

https://gitlab.gnome.org/GNOME/gtk/commit/3b959456ac5335639e9642571f59f17ec8ee97f7#note_621655

6 years agogl: short-circuit on NULL program
Christian Hergert [Wed, 9 Oct 2019 18:51:32 +0000 (11:51 -0700)]
gl: short-circuit on NULL program

The NULL check is a more inclusive check than each of the individual
op->op checks.

6 years agoMerge branch 'wip/chergert/textview-fix-selection' into 'master'
Matthias Clasen [Wed, 9 Oct 2019 17:50:40 +0000 (17:50 +0000)]
Merge branch 'wip/chergert/textview-fix-selection' into 'master'

textview: fix off-by-one in y_range invalidation

See merge request GNOME/gtk!1126

6 years agotextview: fix off-by-one in y_range invalidation
Christian Hergert [Wed, 9 Oct 2019 17:43:34 +0000 (10:43 -0700)]
textview: fix off-by-one in y_range invalidation

Previously, with selection bounds, we could have a state where a line
display with selections set would eroniously stay in the cache. This
aggresively releases those at the boundary cases fixing deselection
drawing state.

6 years agogl renderer: Remove rounded rect intersection code
Timm Bäder [Wed, 9 Oct 2019 14:41:02 +0000 (16:41 +0200)]
gl renderer: Remove rounded rect intersection code

Caused correctness issues.

Fixes #1917

6 years agowidget: Compare adjusted sizes in size_allocate
Timm Bäder [Sun, 6 Oct 2019 16:11:08 +0000 (18:11 +0200)]
widget: Compare adjusted sizes in size_allocate

6 years agogl renderer: Fix scaled fallback node drawing
Timm Bäder [Sun, 6 Oct 2019 15:45:54 +0000 (17:45 +0200)]
gl renderer: Fix scaled fallback node drawing

6 years agoinspector: Don't add padding to spinbuttons
Timm Bäder [Sun, 6 Oct 2019 12:47:36 +0000 (14:47 +0200)]
inspector: Don't add padding to spinbuttons

That looks stupid.

6 years agospinbutton: Fix adjustment value thinko
Timm Bäder [Sun, 6 Oct 2019 12:36:25 +0000 (14:36 +0200)]
spinbutton: Fix adjustment value thinko

Using ints here is wrong as it makes it impossible to e.g. edit a double
in the [0; 1] range.

6 years agoAdwaita: add statusbar padding back
Timm Bäder [Sun, 6 Oct 2019 12:08:46 +0000 (14:08 +0200)]
Adwaita: add statusbar padding back

We removed the widget margins from the ui file over 2 years ago.

6 years agostatusbar: Use a bin layout
Timm Bäder [Sun, 6 Oct 2019 12:03:57 +0000 (14:03 +0200)]
statusbar: Use a bin layout

6 years agowidget-factory: Remove double border around textview
Timm Bäder [Sun, 6 Oct 2019 11:59:59 +0000 (13:59 +0200)]
widget-factory: Remove double border around textview

Replace the scrolledwindow border with two separator on top/bottom.

6 years agostacksidebar: Inherit from GtkWidget
Timm Bäder [Sun, 6 Oct 2019 11:46:05 +0000 (13:46 +0200)]
stacksidebar: Inherit from GtkWidget

The child widgets are completely managed by the stacksidebar itself, so
this has no business being a GtkBin.

6 years agoAdwaita: Remove superfluous border from stacksidebar
Timm Bäder [Sun, 6 Oct 2019 11:34:37 +0000 (13:34 +0200)]
Adwaita: Remove superfluous border from stacksidebar

We already get a border from .sidebar

6 years agogtk-demo: Fix up sidebar demo style
Timm Bäder [Sun, 6 Oct 2019 11:31:15 +0000 (13:31 +0200)]
gtk-demo: Fix up sidebar demo style

Remove a superfluous separator and add the icon-dropshadow class to the
gtk logo

6 years agopopovermenu: Switch to main submenu before mapping
Timm Bäder [Sun, 6 Oct 2019 10:52:11 +0000 (12:52 +0200)]
popovermenu: Switch to main submenu before mapping

6 years agopopovermenu: Only close if there's a new focus widget
Timm Bäder [Sun, 6 Oct 2019 10:50:22 +0000 (12:50 +0200)]
popovermenu: Only close if there's a new focus widget

Makes sense and otherwise we end up closing the popover for no reason

6 years agopopovermenu: Switch back to "main" AFTER unmapping
Timm Bäder [Sun, 6 Oct 2019 10:13:42 +0000 (12:13 +0200)]
popovermenu: Switch back to "main" AFTER unmapping

Otherwise we might set things to child visible etc. while being
unmapped, which is a violation of the widget invariants of these
properties.

6 years agopopover2.ui: Stop trying to set GtkModelButton:label
Timm Bäder [Sun, 6 Oct 2019 10:04:53 +0000 (12:04 +0200)]
popover2.ui: Stop trying to set GtkModelButton:label

The property is called "text"

6 years agotestmodelbutton: Remove toggles for removed properties
Timm Bäder [Sun, 6 Oct 2019 10:01:28 +0000 (12:01 +0200)]
testmodelbutton: Remove toggles for removed properties

6 years agofilechooserbutton: Only destroy existing native dialogs
Timm Bäder [Thu, 3 Oct 2019 08:17:56 +0000 (10:17 +0200)]
filechooserbutton: Only destroy existing native dialogs

6 years agowidget: Create finalize assertions in destroy()
Timm Bäder [Wed, 2 Oct 2019 10:00:43 +0000 (12:00 +0200)]
widget: Create finalize assertions in destroy()

6 years agodemo: Don't manually add labels to menubuttons
Timm Bäder [Thu, 3 Oct 2019 08:32:30 +0000 (10:32 +0200)]
demo: Don't manually add labels to menubuttons

6 years agodemo: Fix modelbutton demo
Timm Bäder [Thu, 3 Oct 2019 08:28:59 +0000 (10:28 +0200)]
demo: Fix modelbutton demo

6 years agolabel: Use TRUE/FALSE instead of 1/0
Timm Bäder [Sun, 29 Sep 2019 07:31:45 +0000 (09:31 +0200)]
label: Use TRUE/FALSE instead of 1/0

6 years agodialog: Fix action button rearrangement
Timm Bäder [Sun, 29 Sep 2019 06:58:30 +0000 (08:58 +0200)]
dialog: Fix action button rearrangement

The gtk_widget_get_parent() check does not work anymore since the
headerbar adds the buttons to a child box.

6 years agowidget-factory: Skip xml files in background selection dialog
Timm Bäder [Sun, 29 Sep 2019 06:39:12 +0000 (08:39 +0200)]
widget-factory: Skip xml files in background selection dialog

The default contains a xml file for an animated background, so don't try
loading it as a pixbuf.

6 years agowidget: Plug layout manager leak
Timm Bäder [Sun, 29 Sep 2019 05:57:43 +0000 (07:57 +0200)]
widget: Plug layout manager leak

6 years agomodelbutton: Rework
Timm Bäder [Sat, 28 Sep 2019 10:37:00 +0000 (12:37 +0200)]
modelbutton: Rework

Create all the widgets on demand and use a box layout to arrange them
instead of manual size allocation.

Also don't inherit from GtkButton

6 years agobutton: Remove unused signal enum members
Timm Bäder [Sat, 28 Sep 2019 11:34:16 +0000 (13:34 +0200)]
button: Remove unused signal enum members

6 years agomodelbutton: Use a box layout
Timm Bäder [Sat, 28 Sep 2019 08:32:14 +0000 (10:32 +0200)]
modelbutton: Use a box layout

6 years agomodelbutton: Replace map() with root()
Timm Bäder [Sat, 28 Sep 2019 08:30:35 +0000 (10:30 +0200)]
modelbutton: Replace map() with root()

6 years agomodelbutton: Remove end_box
Timm Bäder [Sat, 28 Sep 2019 08:08:50 +0000 (10:08 +0200)]
modelbutton: Remove end_box

it's unused.

6 years agomodelbutton: Create accel label on demand
Timm Bäder [Sat, 28 Sep 2019 08:03:08 +0000 (10:03 +0200)]
modelbutton: Create accel label on demand

6 years agoAdwaita: Blue check/radiobuttons
Timm Bäder [Sat, 28 Sep 2019 07:15:56 +0000 (09:15 +0200)]
Adwaita: Blue check/radiobuttons

Align with 3.24.

6 years agoTiny refactoring
Feichtmeier [Tue, 23 Jul 2019 16:24:34 +0000 (18:24 +0200)]
Tiny refactoring

- use checkradio_fg_color for check/radio in treeview, which points to fg_color, so no change of the hex color, thus no change to the parsed CSS

6 years agoAdwaita: Add color defines from 3.24
frederik.feichtmeier [Fri, 26 Jul 2019 12:10:15 +0000 (08:10 -0400)]
Adwaita: Add color defines from 3.24

6 years agoAdwaita: make links in infobars legible
Jakub Steiner [Mon, 29 Jul 2019 08:03:19 +0000 (10:03 +0200)]
Adwaita: make links in infobars legible

- No longer tinted blue, make legible

Fixes https://gitlab.gnome.org/GNOME/gnome-software/issues/751

6 years agoadwaita: Use border-spacing to style checkbuttons
Timm Bäder [Sat, 28 Sep 2019 06:45:11 +0000 (08:45 +0200)]
adwaita: Use border-spacing to style checkbuttons

6 years agoradiobutton: Fix a warning in a code sample
Timm Bäder [Sat, 28 Sep 2019 06:38:41 +0000 (08:38 +0200)]
radiobutton: Fix a warning in a code sample

6 years agolabel: Remove set_selectable_hint
Timm Bäder [Thu, 26 Sep 2019 03:46:35 +0000 (05:46 +0200)]
label: Remove set_selectable_hint

It's just updating the cursor, so do it via update_cursor()

6 years agolabel: Remove gtk_label_realize
Timm Bäder [Thu, 26 Sep 2019 03:42:49 +0000 (05:42 +0200)]
label: Remove gtk_label_realize

We don't need this to update the cursor anymore.

6 years agolabel: Don't update cursor after unsetting select_info
Timm Bäder [Thu, 26 Sep 2019 03:36:49 +0000 (05:36 +0200)]
label: Don't update cursor after unsetting select_info

update_cursor() doesn't do anything in the priv->select_info == NULL
case.

6 years agolabel: Change cursor even if unrealized
Timm Bäder [Thu, 26 Sep 2019 03:36:19 +0000 (05:36 +0200)]
label: Change cursor even if unrealized

Cursor don't depend on that anymore.

6 years agoplacesviewrow: popup-menu returns a boolean
Timm Bäder [Thu, 26 Sep 2019 03:07:17 +0000 (05:07 +0200)]
placesviewrow: popup-menu returns a boolean

6 years agoMerge branch 'wip/carlosg/tablet-invalid-reads-master' into 'master'
Matthias Clasen [Wed, 9 Oct 2019 12:18:26 +0000 (12:18 +0000)]
Merge branch 'wip/carlosg/tablet-invalid-reads-master' into 'master'

Fix invalid reads on tablet input (master)

Closes #2157

See merge request GNOME/gtk!1122

6 years agogdk: Avoid poking possibly freed memory
Carlos Garnacho [Tue, 8 Oct 2019 15:56:10 +0000 (17:56 +0200)]
gdk: Avoid poking possibly freed memory

The event may end up freed after delivery, ensure to keep a ref in order
to emit the matching emulated crossed event matching a proximity event.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2157
6 years agoMerge branch 'wip/chergert/quick-fixes' into 'master'
Matthias Clasen [Tue, 8 Oct 2019 19:43:14 +0000 (19:43 +0000)]
Merge branch 'wip/chergert/quick-fixes' into 'master'

renderer quick fixes

See merge request GNOME/gtk!1124

6 years agoMerge branch 'wip/chergert/cache-text-render-node' into 'master'
Benjamin Otte [Tue, 8 Oct 2019 19:21:57 +0000 (19:21 +0000)]
Merge branch 'wip/chergert/cache-text-render-node' into 'master'

textview: cache paragraph render nodes

See merge request GNOME/gtk!1125

6 years agotextview: cache paragraph render nodes
Christian Hergert [Tue, 8 Oct 2019 18:35:49 +0000 (11:35 -0700)]
textview: cache paragraph render nodes

We can avoid recreating a number of text nodes from render_para() on
sub-sequent runs if we cache the rendernode instead of just the
PangoLayout.

When used with GtkSourceMap, this can yield a ~7 FPS improvement during
smooth scrolling at the cost of some more memory.

6 years agogl: remove stray +
Christian Hergert [Tue, 8 Oct 2019 17:58:29 +0000 (10:58 -0700)]
gl: remove stray +

6 years agorendernode: remove unused macros
Christian Hergert [Tue, 8 Oct 2019 04:36:36 +0000 (21:36 -0700)]
rendernode: remove unused macros

6 years agogdk: Fix wl_output accounting on tablet devices
Carlos Garnacho [Tue, 8 Oct 2019 15:46:38 +0000 (17:46 +0200)]
gdk: Fix wl_output accounting on tablet devices

The code managing this accounting mixed seat and tablet output lists,
can't bode well. Fixes invalid reads on list elements, as there are
dangling pointers.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2157
6 years agoAdwaita: circular button fix
Sam Hewitt [Mon, 7 Oct 2019 20:50:34 +0000 (16:50 -0400)]
Adwaita: circular button fix
 - remove old border drawing code that was breaking coloured buttons
 - fixes #2173

6 years agoAdwaita: osd button fixes
Sam Hewitt [Mon, 7 Oct 2019 19:27:55 +0000 (15:27 -0400)]
Adwaita: osd button fixes
 - remove text/icon shadow from osd buttons
 - use :only-child to get circular standalone button
 - fixes #1696

6 years agoAdwaita: use borders_color for separators
Sam Hewitt [Mon, 7 Oct 2019 17:05:12 +0000 (13:05 -0400)]
Adwaita: use borders_color for separators
 - fixes #2175

6 years agoeventcontrollerkey: Change behavior of contains-focus
Benjamin Otte [Thu, 3 Oct 2019 22:42:28 +0000 (00:42 +0200)]
eventcontrollerkey: Change behavior of contains-focus

contains-focus now returns TRUE when is-focus is TRUE instead of FALSE.

Fixes #2184

6 years agoeventcontrollerkey: Add getters for the properties
Benjamin Otte [Thu, 3 Oct 2019 20:13:54 +0000 (22:13 +0200)]
eventcontrollerkey: Add getters for the properties

...and use them.