Giter Site home page Giter Site logo

Comments (4)

Hjdskes avatar Hjdskes commented on September 26, 2024 1

Hm, not sure how I missed that. You can simply add the following to that switch statement:

case WLR_INPUT_DEVICE_SWITCH:
        return;

Then it just ignores lid switches and should compile :) I'll fix this properly later.

from cage.

yochananmarqos avatar yochananmarqos commented on September 26, 2024

Yep, that did the trick. Thanks!

When running in my current X11 session, it loads a blank wlroots-X11 window, then launches the application separately.

When running it from a TTY, it loads the blank wlroots-X11 and doesn't display the application.

Should I open a new issue for this?

$ cage firefox
2018-12-29 08:10:51 - [render/egl.c:149] Using EGL 1.5
2018-12-29 08:10:51 - [render/egl.c:150] Supported EGL extensions: EGL_CHROMIUM_sync_control EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display 
2018-12-29 08:10:51 - [render/egl.c:151] EGL vendor: Mesa Project
2018-12-29 08:10:51 - [render/gles2/renderer.c:553] Using OpenGL ES 3.1 Mesa 18.2.6
2018-12-29 08:10:51 - [render/gles2/renderer.c:554] GL vendor: X.Org
2018-12-29 08:10:51 - [render/gles2/renderer.c:555] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_KHR_no_error GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clip_cull_distance GL_MESA_shader_integer_functions 
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:242] Loaded cursor theme 'default', available cursors:
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] row-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size-bdiag (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] top_right_corner (1 images) 32x32+26,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] default (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] crosshair (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] right-arrow (1 images) 32x32+28,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] ibeam (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] bottom_side (1 images) 32x32+16,28
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] cell (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] left_ptr_watch (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] all-scroll (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] no-drop (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size-fdiag (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] left_side (1 images) 32x32+4,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] wait (23 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] pointing_hand (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] cross (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 3085a0e285430894940527032f8b26df (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] link (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] e29285e634086352946a0e7090d73106 (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] e-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] pirate (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] fcf21c00b30f7e3f83fe0dfd12e71cff (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size-ver (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] pointer (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] left_ptr_help (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] x-cursor (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] up-arrow (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] split_h (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 03b6e0fcb3499374a867c041f52298f0 (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] d9ce0ab605698f320427677b458ad60b (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size-hor (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] split_v (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] text (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size_bdiag (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] pencil (1 images) 32x32+4,29
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] whats_this (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] crossed_circle (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] dnd-copy (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] not-allowed (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] down-arrow (1 images) 32x32+16,28
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] right_side (1 images) 32x32+28,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] right_ptr (1 images) 32x32+28,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] forbidden (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] sb_h_double_arrow (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] hand2 (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] top_side (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] bottom_right_corner (1 images) 32x32+26,26
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] sb_v_double_arrow (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] top_left_arrow (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size_fdiag (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] help (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] context-menu (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] dnd-no-drop (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] bottom_left_corner (1 images) 32x32+4,26
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] dnd-move (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] n-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] b66166c04f8c3109214a4fbd64a50fc8 (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] question_arrow (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] copy (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] wayland-cursor (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] dnd-none (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] move (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] top_left_corner (1 images) 32x32+5,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 08e8e1c95fe2fc01f976f1e063a24ccd (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] openhand (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size_hor (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] draft (1 images) 32x32+4,29
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] plus (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] alias (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] v_double_arrow (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] closedhand (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] xterm (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] hand1 (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] s-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] fleur (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] w-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] zoom-out (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] vertical-text (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 3ecb610c1bf2410f44200f48c40d3599 (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 9d800788f1b08800ae810202380a0822 (1 images) 32x32+16,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size_all (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] zoom-in (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 1081e37283d90000800003c07f3ef6bf (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] center_ptr (1 images) 32x32+20,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] left_ptr (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] h_double_arrow (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] circle (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] left-arrow (1 images) 32x32+4,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] watch (23 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 640fb0e74195791501fd1ed57b41487f (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] half-busy (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] color-picker (1 images) 32x32+4,29
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] a2a266d0498c3104214a47bd64ab0fc8 (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] size_ver (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 00008160000006810000408080010102 (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 5c6cd98b3f3ebcb1f9c7f1c204630408 (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] col-resize (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 6407b0e94181790501fd1e167b474872 (1 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] progress (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 00000000000000020006000e7e9ffc3f (23 images) 32x32+4,4
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 4498f0e0c1937ffe01fd06f973665830 (1 images) 32x32+16,16
2018-12-29 08:10:52 - [xcursor/wlr_xcursor.c:248] 9081237383d90e509aa00f00170e968f (1 images) 32x32+16,16
2018-12-29 08:10:52 - [types/wlr_output.c:745] Falling back to software cursor on output 'X11-1'
2018-12-29 08:10:52 - [cage.c:658] Child process created with pid 25083
2018-12-29 08:10:52 - [types/wlr_output.c:745] Falling back to software cursor on output 'X11-1'
2018-12-29 08:10:52 - [types/wlr_output.c:745] Falling back to software cursor on output 'X11-1'
2018-12-29 08:10:52 - [types/wlr_output.c:745] Falling back to software cursor on output 'X11-1'

from cage.

Hjdskes avatar Hjdskes commented on September 26, 2024

Hm, not sure how I missed that.

My git version of wlroots did not include this feature yet :)

Anyway, this is fixed now in 2cf40f7.


@yochananmarqos If you edit your comment (after I've read the original), I won't get a new notification. I just noticed your new problem. Can you open a new issue for this, and include what application you're launching? Currently, Cage does not detect whether the application successfully launches so it happily starts even when the application crashes.

from cage.

yochananmarqos avatar yochananmarqos commented on September 26, 2024

I opened a new issue: #14

from cage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.