Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
wayland: Remove X11 headers dependency
Browse files Browse the repository at this point in the history
Thank you XKB!
  • Loading branch information
tiagovignatti committed Aug 29, 2013
1 parent b9920be commit 76b9060
Show file tree
Hide file tree
Showing 2 changed files with 211 additions and 214 deletions.
3 changes: 1 addition & 2 deletions wayland/input_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include "ozone/wayland/input_device.h"

#include <X11/X.h>
#include <sys/mman.h>
#include <linux/input.h>
#include <wayland-client.h>
Expand Down Expand Up @@ -334,7 +333,7 @@ void WaylandInputDevice::OnKeyNotify(void* data,
if(num_syms == 1)
sym = syms[0];
else
sym = NoSymbol;
sym = XKB_KEY_NoSymbol;

mask = xkb_state_serialize_mods(device->xkb_.state,
(xkb_state_component)(XKB_STATE_DEPRESSED | XKB_STATE_LATCHED));
Expand Down
Loading

0 comments on commit 76b9060

Please sign in to comment.