Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/display-page.vala b/src/display-page.vala
- index f4dc9ce..0764003 100644
- --- a/src/display-page.vala
- +++ b/src/display-page.vala
- @@ -41,7 +41,7 @@ public void setup_ui (AppWindow window) {
- this.window = window;
- overlay_toolbar_invisible_timeout = AppWindow.TRANSITION_DURATION;
- - event_box.set_events (EventMask.POINTER_MOTION_MASK | EventMask.SCROLL_MASK);
- + event_box.set_events (EventMask.ALL_EVENTS_MASK);
- window.window_state_event.connect ((event) => {
- update_toolbar_visible ();
- @@ -176,6 +176,8 @@ public void show_display (Boxes.Display display, Widget widget) {
- [GtkCallback]
- private bool on_event_box_event (Gdk.Event event) {
- + print ("EVENT: %u\n", event.type);
- +
- if (window.fullscreened && event.type == EventType.MOTION_NOTIFY) {
- var x = event.motion.x;
- var y = event.motion.y;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement