Skip to content

Commit

Permalink
Replaced the obsolete, unofficial protocols with official ones
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbowes committed Feb 28, 2020
1 parent 21de46f commit ff54fec
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 324 deletions.
2 changes: 1 addition & 1 deletion include/waybox/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_gtk_primary_selection.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xdg_shell.h>

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pixman = dependency('pixman-1')
wlroots = dependency('wlroots', version: '>=0.9.0')
wayland_server = dependency('wayland-server')
wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols', version: '>=1.12')
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
xkbcommon = dependency('xkbcommon')

subdir('protocol')
Expand Down
225 changes: 0 additions & 225 deletions protocol/gtk-primary-selection.xml

This file was deleted.

4 changes: 2 additions & 2 deletions protocol/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ protocols = [
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
[wl_protocol_dir, 'unstable/idle-inhibit/idle-inhibit-unstable-v1.xml'],
[wl_protocol_dir, 'unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml'],
[wl_protocol_dir, 'unstable/primary-selection/primary-selection-unstable-v1.xml'],
[wl_protocol_dir, 'unstable/xdg-decoration/xdg-decoration-unstable-v1.xml'],
'wlr-gamma-control-unstable-v1.xml',
'gtk-primary-selection.xml',
'idle.xml',
'wlr-screencopy-unstable-v1.xml',
'server-decoration.xml',
'wlr-layer-shell-unstable-v1.xml',
]

Expand Down
94 changes: 0 additions & 94 deletions protocol/server-decoration.xml

This file was deleted.

2 changes: 1 addition & 1 deletion waybox/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bool start_wb(struct wb_server* server) {

wlr_gamma_control_manager_v1_create(server->wl_display);
wlr_screencopy_manager_v1_create(server->wl_display);
wlr_gtk_primary_selection_device_manager_create(server->wl_display);
wlr_primary_selection_v1_device_manager_create(server->wl_display);
wlr_idle_create(server->wl_display);

wlr_data_device_manager_create(server->wl_display);
Expand Down

0 comments on commit ff54fec

Please sign in to comment.