pgo: pull in selection.c in pgolib

Some of the selection functions are in the hot path, so this makes a
huge difference!
This commit is contained in:
Daniel Eklöf 2020-11-14 22:37:47 +01:00
parent 8619ebd778
commit cc850ed012
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 6 additions and 65 deletions

View file

@ -126,6 +126,7 @@ vtlib = static_library(
pgolib = static_library(
'pgolib',
'grid.c', 'grid.h',
'selection.c', 'selection.h',
'terminal.c', 'terminal.h',
dependencies: [pixman, fcft, tllist],
link_with: vtlib,
@ -134,7 +135,8 @@ pgolib = static_library(
executable(
'pgo',
'pgo/pgo.c',
dependencies: [math, threads, pixman, fcft, tllist],
wl_proto_src,
dependencies: [math, threads, pixman, wayland_client, fcft, tllist],
link_with: pgolib,
)
@ -151,7 +153,6 @@ executable(
'reaper.c', 'reaper.h',
'render.c', 'render.h',
'search.c', 'search.h',
'selection.c', 'selection.h',
'server.c', 'server.h', 'client-protocol.h',
'shm.c', 'shm.h',
'slave.c', 'slave.h',