wlroots-hyprland/types
Brian Ashworth aa5c369910 wlr_output_layout_get_box: handle empty layout
If there were no outputs in the output layout,
wlr_output_layout_get_box would return the box:

{
  .x = INT_MIN,
  .y = INT_MIN,
  .width = INT_MIN - INT_MAX,
  .height = INT_MIN - INT_MAX
}

which results in an integer underflow for both the width and height.

This changes the logic to have the box be all zeroes, since an empty
output layout does not have a width or height and the location of
something without a size is irrelevant so this just uses the origin.
2019-03-08 09:45:22 +01:00
..
data_device data-device: check if there's a source before sending dnd_finish 2019-02-24 19:40:10 -05:00
seat seat: add debug logs when validating grab serials 2019-03-04 21:27:14 -07:00
tablet_v2 Prevent NULL dereference in tablet_tool handler 2019-02-19 08:51:10 +01:00
xdg_shell xdg-shell: destroy child popups on unmap 2019-02-05 19:29:00 +01:00
xdg_shell_v6 Add missing frame events to shell pointer grabs 2019-01-30 10:31:53 +01:00
meson.build primary-selection-v1: copy from gtk-primary-selection 2019-02-13 19:28:25 +01:00
wlr_box.c Standardize the wlr_box input paramaters 2018-12-21 13:56:10 -05:00
wlr_buffer.c Remove fmt parameter from wlr_texture_write_pixels 2018-10-15 23:56:56 +02:00
wlr_compositor.c Merge pull request #1116 from emersion/surface-role 2018-07-11 15:27:42 -07:00
wlr_cursor.c Implement the pointer-gestures-unstable-v1 protocol 2019-01-28 22:06:36 +01:00
wlr_data_control_v1.c Update data-control 2019-02-15 11:58:33 +01:00
wlr_export_dmabuf_v1.c export-dmabuf-v1: add missing destroy request handler 2018-12-06 19:08:28 +01:00
wlr_foreign_toplevel_management_v1.c Fix indentation in various files 2019-01-21 17:56:19 +01:00
wlr_fullscreen_shell_v1.c fullscreen-shell-v1: initial protocol implementation 2019-01-06 12:12:06 +01:00
wlr_gamma_control.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_gamma_control_v1.c gamma-control-v1: add missing destroy handler 2018-09-29 14:30:41 +02:00
wlr_gtk_primary_selection.c primary-selection-v1: copy from gtk-primary-selection 2019-02-13 19:28:25 +01:00
wlr_idle.c idle: allow zero timeout 2018-10-28 09:22:12 +01:00
wlr_idle_inhibit_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_input_device.c [WIP][DONTMERGE]Add support for libinput_switch input devices 2018-12-15 14:42:35 +11:00
wlr_input_inhibitor.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_input_method_v2.c input-method-v2: initialize destroy signal 2018-10-28 12:23:47 +01:00
wlr_keyboard.c Send unique keymap file descriptors 2018-09-18 13:58:36 +05:30
wlr_layer_shell_v1.c layer-shell: add _v1 suffix 2018-09-14 19:32:33 +02:00
wlr_linux_dmabuf_v1.c Require libdrm >= 2.4.95 2019-01-29 19:33:38 +01:00
wlr_list.c Revert "ELF Visibility" 2018-02-19 18:01:27 -05:00
wlr_matrix.c Fix typos in comments and strings 2018-05-03 21:59:43 +01:00
wlr_output.c wlr_output: do not modeset to current mode 2019-02-17 00:12:59 +01:00
wlr_output_damage.c output-damage: limit the number of damaged rectangles 2018-05-05 14:28:55 +01:00
wlr_output_layout.c wlr_output_layout_get_box: handle empty layout 2019-03-08 09:45:22 +01:00
wlr_pointer.c Implement the pointer-gestures-unstable-v1 protocol 2019-01-28 22:06:36 +01:00
wlr_pointer_constraints_v1.c pointer-constraints: use proper wayland-scanner functions 2018-09-27 10:53:11 +02:00
wlr_pointer_gestures_v1.c Implement the pointer-gestures-unstable-v1 protocol 2019-01-28 22:06:36 +01:00
wlr_presentation_time.c output: add presentation refresh prediction 2018-10-04 22:00:24 +02:00
wlr_primary_selection.c data-device: fix crash when setting the same selection twice 2019-01-31 20:33:48 +01:00
wlr_primary_selection_v1.c primary-selection-v1: copy from gtk-primary-selection 2019-02-13 19:28:25 +01:00
wlr_region.c compositor: redesign how resources are managed 2018-04-26 17:51:06 +01:00
wlr_relative_pointer_v1.c relative-pointer-v1: time is in usec, not msec 2019-01-30 21:25:42 +01:00
wlr_screencopy_v1.c Standardize the wlr_box input paramaters 2018-12-21 13:56:10 -05:00
wlr_screenshooter.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_server_decoration.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_surface.c subsurface: add map/unmap events 2019-02-17 12:01:15 +01:00
wlr_switch.c [WIP][DONTMERGE]Add support for libinput_switch input devices 2018-12-15 14:42:35 +11:00
wlr_tablet_pad.c Use wlr_list for paths, and improve inert resource handling 2018-07-14 09:43:17 +02:00
wlr_tablet_tool.c rename wlr_tablet_tool to wlr_tablet 2018-07-14 09:49:58 +02:00
wlr_text_input_v3.c text-input-v3: remove newline in log message 2018-11-26 12:15:34 +01:00
wlr_touch.c Revert "ELF Visibility" 2018-02-19 18:01:27 -05:00
wlr_virtual_keyboard_v1.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00
wlr_wl_shell.c Add missing frame events to shell pointer grabs 2019-01-30 10:31:53 +01:00
wlr_xcursor_manager.c Redesign wlr_texture 2018-03-24 23:48:32 -04:00
wlr_xdg_decoration_v1.c Fix a crash on zxdg_decoration_manager_v1 destroy 2018-10-01 14:45:17 +02:00
wlr_xdg_output_v1.c wlr_xdg_output_v1: move where name & description are sent 2019-01-22 22:58:52 +01:00