Commit graph

  • 09bb9bef33
    render: csd: center 'close' button's cross Daniel Eklöf 2020-03-03 18:24:09 +01:00
  • c9659ecd14
    render: csd: don't even try to render CSDs when we're in fullscreen mode Daniel Eklöf 2020-03-03 18:23:52 +01:00
  • c10f1d5459
    render: don't try to render CSDs when the terminal is shutting down Daniel Eklöf 2020-03-03 18:23:37 +01:00
  • 264acd6463
    input: do a full CSD repaint on pointer motion over CSD buttons Daniel Eklöf 2020-03-03 18:22:32 +01:00
  • f0892988c0
    wayland: don't destroy keyboard/pointer if they haven't been removed Daniel Eklöf 2020-03-03 18:20:53 +01:00
  • e077290c56
    quirks: add shortcut for flipping all CSD surfaces sync/desync state Daniel Eklöf 2020-03-03 18:19:47 +01:00
  • c90d70b2bf
    config: CSD borders are always invisible Daniel Eklöf 2020-03-03 18:18:59 +01:00
  • cb6616ef8a
    render: csd: maximize: change default color to a lighter green Daniel Eklöf 2020-03-02 21:11:17 +01:00
  • 63a3d6ce03
    render: csd: close: change default color to a lighter blue Daniel Eklöf 2020-03-02 21:10:25 +01:00
  • b14c217fb6
    render: csd: minimize: change default color to a lighter blue Daniel Eklöf 2020-03-02 21:09:21 +01:00
  • 20eaa15271
    render: initial minimize/maximize/close glyphs Daniel Eklöf 2020-03-02 21:06:15 +01:00
  • 9699c9b8bf
    csd: initial implementation of minimize/maximize/close buttons Daniel Eklöf 2020-03-02 20:29:28 +01:00
  • c845c90835
    README: CSDs have been implemented Daniel Eklöf 2020-03-02 18:50:21 +01:00
  • 1b2050de7b
    config: no need to free 'line' between each call to getline() Daniel Eklöf 2020-03-02 18:48:29 +01:00
  • 1f33b4a292
    doc: foot.5: describe what each section in the configuration file does Daniel Eklöf 2020-03-02 18:47:48 +01:00
  • 6c317396e5
    footrc: default geometry has changed to 700x500 Daniel Eklöf 2020-03-02 18:47:35 +01:00
  • 6eae5ebd94
    input: don't change xcursor if active surface isn't the main grid Daniel Eklöf 2020-03-02 18:47:17 +01:00
  • b268b69a7b
    quirks: log when applying weston sub-surface desync quirk Daniel Eklöf 2020-03-02 18:47:04 +01:00
  • 6912bbd310
    slave: set $SHELL when command line is a shell listed in /etc/shells Daniel Eklöf 2020-03-02 18:46:35 +01:00
  • 74175b5bd1
    config: prefer $SHELL over /etc/passwd Daniel Eklöf 2020-03-02 18:45:38 +01:00
  • f235bfdfdf
    terminal: workaround founds with negative line gaps Daniel Eklöf 2020-03-02 18:43:23 +01:00
  • def4395bd1
    wayland: log whether CSDs or SSDs are used at info level, not debug Daniel Eklöf 2020-03-02 18:43:07 +01:00
  • 22ce09eb44
    config: make CSD user configurable Daniel Eklöf 2020-03-02 18:42:49 +01:00
  • ae22366f3b
    input: raise window 'move' timeout to 200ms Daniel Eklöf 2020-03-01 13:20:07 +01:00
  • 875b067f13
    render: csd: don't try to render a zero-width/height border Daniel Eklöf 2020-03-01 13:17:54 +01:00
  • 70cdb7af08
    term: visual_focus_{in,out}: use quirk_weston_subsurface_desync_{on,off} Daniel Eklöf 2020-03-01 13:09:25 +01:00
  • 7b3fffc6ec
    search: don't mark the entire sub-surface as opaque Daniel Eklöf 2020-03-01 13:06:30 +01:00
  • b6f8a2e422
    search: enable/disable weston sub-surface desync quirk when rendering search box Daniel Eklöf 2020-03-01 13:06:00 +01:00
  • a29427a185
    render: search: add todo to only position sub-surface on a window resize Daniel Eklöf 2020-03-01 12:54:50 +01:00
  • b8d79c719b
    render: search: mark visible portion of sub-surface opaque Daniel Eklöf 2020-03-01 12:54:27 +01:00
  • 7b1dafae0f
    render: search: kwin has problems with a resizing/repositioned sub-surface Daniel Eklöf 2020-03-01 12:28:33 +01:00
  • f038a27366
    render: csd: switch-based CSD positioning Daniel Eklöf 2020-03-01 12:28:01 +01:00
  • 3ec50369ce
    search: update search box before we update the main grid Daniel Eklöf 2020-03-01 12:24:37 +01:00
  • 9d834bb43d
    shm: log 'size' when failing to fallocate() Daniel Eklöf 2020-03-01 12:19:28 +01:00
  • fff480e584
    input: use xdg_toplevel_resize_edge enum type Daniel Eklöf 2020-03-01 11:43:58 +01:00
  • 92d638eb1c
    render: csd: split up positioning from rendering Daniel Eklöf 2020-02-29 18:02:38 +01:00
  • 9264e1e5bd
    render: don't update last 'un-maximized' size when in fullscreen Daniel Eklöf 2020-02-29 17:25:08 +01:00
  • d6f0a47fb8
    wayland: always update window->is_fullscreen, not just when using CSDs Daniel Eklöf 2020-02-29 17:24:45 +01:00
  • 32a3f56710
    wayland: don't resize when we're not mapped anywhere Daniel Eklöf 2020-02-29 15:46:40 +01:00
  • ea2d7f8b8c
    input: start window move right away if user starts dragging the window Daniel Eklöf 2020-02-29 15:38:04 +01:00
  • 33744ebe63
    input: fix 'unused variable' warning (release builds) Daniel Eklöf 2020-02-29 15:29:58 +01:00
  • 73133c10ee
    input: cleanup Daniel Eklöf 2020-02-29 15:29:00 +01:00
  • e496d81f4d
    input: don't update xcursor on keyboard enter/leave Daniel Eklöf 2020-02-29 13:04:18 +01:00
  • 43b07b122a
    input: csd: add a small delay before initiating a move Daniel Eklöf 2020-02-29 12:52:55 +01:00
  • c917a74f48
    wayland: remove all usages of wayl_terminal_from_surface() Daniel Eklöf 2020-02-29 12:13:58 +01:00
  • 43c0551806
    wayland: store pointer to window instance in all surfaces Daniel Eklöf 2020-02-29 12:09:28 +01:00
  • 1091d1c078
    input: reset mouse state on pointer leave Daniel Eklöf 2020-02-29 12:08:59 +01:00
  • 4ee5a81d1a
    input: toggle maximized state when double-clicking the title bar Daniel Eklöf 2020-02-29 11:56:16 +01:00
  • 7b51d6919d
    input: handle double/triple click state regardless of surface Daniel Eklöf 2020-02-29 11:55:43 +01:00
  • cbf657e2d2
    render: resize: redraw search box, if visible Daniel Eklöf 2020-02-29 11:42:00 +01:00
  • f67572208d
    render: search: fix off-by-one error in number of visible characters Daniel Eklöf 2020-02-29 11:41:40 +01:00
  • 601dc02ea1
    render: wl_subsurface_set_position() uses un-scaled coordinates Daniel Eklöf 2020-02-29 11:40:41 +01:00
  • 5717a0dfb0
    config: change default geometry from 800x600 -> 700x500 Daniel Eklöf 2020-02-29 11:01:23 +01:00
  • e01030f99f
    render: csd: bump title bar height from 20 -> 26 Daniel Eklöf 2020-02-29 09:39:05 +01:00
  • d48a789412
    input: handle CSD border corners correctly Daniel Eklöf 2020-02-29 09:32:22 +01:00
  • 8c98dfc51a
    term: loop through all sub-surfaces when switching sync/desync mode Daniel Eklöf 2020-02-29 09:26:49 +01:00
  • de9fcbc339
    render: csd: use a struct for positioning information Daniel Eklöf 2020-02-28 19:00:48 +01:00
  • 45c1585bfb
    render: resize: change 'resize' log from info to debug Daniel Eklöf 2020-02-28 18:51:51 +01:00
  • ec2ad7755f
    render: CSDs: transparent borders Daniel Eklöf 2020-02-28 18:51:09 +01:00
  • e7e553ae5b
    render: resize: exclude CSD borders when loading default geometry in maximized mode Daniel Eklöf 2020-02-28 18:50:15 +01:00
  • b44bbb5b2b
    render: CSDs: don't render borders (only title bar) in maximized mode Daniel Eklöf 2020-02-28 18:49:34 +01:00
  • 6ba476b3bd
    wayland: configure: work around GNOME/mutter weirdness Daniel Eklöf 2020-02-28 18:43:33 +01:00
  • b69c9b5f58
    wayland: fix window size adjustment for CSDs placed outside main surface Daniel Eklöf 2020-02-28 18:42:10 +01:00
  • 6c20abf279
    wayland: warn when compositor doesn't implement the decoration manager interface Daniel Eklöf 2020-02-28 18:37:07 +01:00
  • 7d021b5b37
    wayland: request server side decorations Daniel Eklöf 2020-02-28 18:36:52 +01:00
  • 3c7e17e8c1
    wayland: drop required wl_output interface version from 3 -> 2 Daniel Eklöf 2020-02-28 18:35:50 +01:00
  • 925088a8f2
    render: color_hex_to_pixman_with_alpha(): handle alpha == 0 (transparent) Daniel Eklöf 2020-02-28 18:35:21 +01:00
  • 40f3d4c24c
    terminal: error out when we fail to load the primary font Daniel Eklöf 2020-02-28 18:35:05 +01:00
  • 3a9a2bb6a4
    config: add default font when using the default config Daniel Eklöf 2020-02-28 18:33:30 +01:00
  • ddbfb3676c
    render: remember, and use, last unmaximized size Daniel Eklöf 2020-02-26 20:59:11 +01:00
  • 77b37fb288
    wayland: once again switch to positioning CSDs outside the main surface Daniel Eklöf 2020-02-26 20:45:44 +01:00
  • 3228758951
    render: resize: adjust user configured size for CSDs Daniel Eklöf 2020-02-26 15:27:40 +01:00
  • 66decac16b
    wayland: document what FOOT_CSD_OUTSIDE does Daniel Eklöf 2020-02-26 13:49:54 +01:00
  • 1ccfceca05
    wayland: switch back to positioning CSDs inside the main surface Daniel Eklöf 2020-02-26 13:47:29 +01:00
  • 02fedfb2fc
    wayland: resize main surface when enabling CSDs runtime Daniel Eklöf 2020-02-26 13:44:05 +01:00
  • d863ea8a46
    input: temporary code to trigger maximize/minimize Daniel Eklöf 2020-02-26 13:23:11 +01:00
  • 5fbbd2f80e
    wayland: track window maximized state Daniel Eklöf 2020-02-26 13:23:00 +01:00
  • 6eece79218
    render: csd: fix typo when CSDs are positioned *inside* main surface Daniel Eklöf 2020-02-26 13:22:20 +01:00
  • 020ce60778
    wayland: don't adjust size when CSDs are positioned inside main surface Daniel Eklöf 2020-02-26 13:02:15 +01:00
  • 90efe6ec02
    render: don't center grid on surface Daniel Eklöf 2020-02-26 12:51:58 +01:00
  • 6ca880bd3e
    wayland: disable debug logs Daniel Eklöf 2020-02-26 12:47:00 +01:00
  • 1e1b204377
    csd: don't draw CSDs in fullscreen mode Daniel Eklöf 2020-02-26 12:39:17 +01:00
  • be5988dd3a
    wayland: decoration configure: no need to force a resize - just update the CSDs Daniel Eklöf 2020-02-26 12:28:12 +01:00
  • 135ca0884d
    wayland: configure: adjust configured size when using CSDs Daniel Eklöf 2020-02-26 12:26:03 +01:00
  • ea97a0dc87
    wayland: instantiate sub-surfaces on-demand Daniel Eklöf 2020-02-26 12:22:16 +01:00
  • f960e7aff7
    render: resize: ignore unconfigured windows Daniel Eklöf 2020-02-26 12:21:03 +01:00
  • 2f587f6f3d
    csd: position CSD sub-surfaces *outside* the main window Daniel Eklöf 2020-02-26 12:17:58 +01:00
  • 45ba9f9c8f
    grid: grid_reflow(): may be called with old_rows/cols == new_rows/cols Daniel Eklöf 2020-02-25 20:33:27 +01:00
  • e9d3e7d87f
    term: visual_focus_in/out: redraw CSDs Daniel Eklöf 2020-02-25 20:31:37 +01:00
  • c0e3db1712
    input: wip: trigger move/resize when left-clicking CSD Daniel Eklöf 2020-02-25 20:31:13 +01:00
  • cc3dad9599
    render: search: take CSD into account Daniel Eklöf 2020-02-25 20:30:45 +01:00
  • ef53729242
    render: resize with with/height == 0 resizes to user configured dimensions Daniel Eklöf 2020-02-25 20:29:44 +01:00
  • 2855d06c6e
    wayland: mark the whole search surface as opaque Daniel Eklöf 2020-02-25 19:57:19 +01:00
  • f05e0ad0ae
    wayland: synchronize the CSD surfaces to the main surface Daniel Eklöf 2020-02-25 19:56:56 +01:00
  • 7e26d96d17
    wayland: default to CSDs Daniel Eklöf 2020-02-25 19:56:23 +01:00
  • 8af5bf49b0
    wayland: weston does not implement the xdg decoration manager interface Daniel Eklöf 2020-02-25 19:55:50 +01:00
  • 0126cee55d
    wayland: xdg_surface_configure(): call wl_surface_commit() Daniel Eklöf 2020-02-25 19:53:06 +01:00
  • 595b32ddf9
    render: render_resize_*() returns a boolean indicating whether size changed. Daniel Eklöf 2020-02-25 19:51:03 +01:00
  • a4d77608b9
    wayland: decoration-configure: call render_resize() to add/remove CSDs Daniel Eklöf 2020-02-25 19:16:23 +01:00
  • 7db9221aa9
    render: render_resize(): don't allow too small window sizes Daniel Eklöf 2020-02-25 19:10:48 +01:00