Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | handle: make it public | Alberts Muktupāvels | 2022-08-15 | 20 | -114/+578 |
| | |||||
* | icon-cache: remove support for KWM_WIN_ICON | Alberts Muktupāvels | 2022-03-29 | 3 | -90/+3 |
| | | | | | According to Debian Code Search only MPlayer sets this property (together with _NET_WM_ICON). | ||||
* | xutils: Get the correct PID for clients inside PID namespaces | Ryan Gonzalez | 2022-03-28 | 1 | -3/+33 |
| | | | | | | | | This tries to use XResQueryClientIds to fetch the client's PID, which will return the PID as seen by the host, rather than the PID as seen by the client. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com> | ||||
* | resource-usage: use WnckHandle to get screen | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+2 |
| | |||||
* | util: remove _wnck_get_default_mini_icon_size | Alberts Muktupāvels | 2022-02-24 | 2 | -8/+0 |
| | |||||
* | tasklist: use WnckHandle to get icon size | Alberts Muktupāvels | 2022-02-24 | 1 | -17/+38 |
| | |||||
* | tasklist: use WnckHandle to get screen | Alberts Muktupāvels | 2022-02-24 | 1 | -2/+12 |
| | |||||
* | window: use WnckHandle to get screen | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+8 |
| | |||||
* | window: use WnckHandle to get application | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+3 |
| | |||||
* | window: use WnckHandle to get window | Alberts Muktupāvels | 2022-02-24 | 1 | -3/+7 |
| | |||||
* | screen: use WnckHandle to get application | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+1 |
| | |||||
* | screen: use WnckHandle to get class group | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+1 |
| | |||||
* | screen: use WnckHandle to get window | Alberts Muktupāvels | 2022-02-24 | 1 | -3/+3 |
| | |||||
* | selector: use WnckHandle to get screen | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+7 |
| | |||||
* | pager: use WnckHandle to get screen | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+10 |
| | |||||
* | application: use WnckHandle to get application | Alberts Muktupāvels | 2022-02-24 | 1 | -1/+1 |
| | |||||
* | util: remove _wnck_get_default_icon_size | Alberts Muktupāvels | 2022-02-23 | 2 | -7/+0 |
| | |||||
* | window: use WnckHandle to get icon sizes | Alberts Muktupāvels | 2022-02-23 | 1 | -2/+5 |
| | |||||
* | class-group: use WnckHandle to get icon sizes | Alberts Muktupāvels | 2022-02-23 | 1 | -2/+6 |
| | |||||
* | application: use WnckHandle to get icon sizes | Alberts Muktupāvels | 2022-02-23 | 1 | -2/+5 |
| | |||||
* | util: remove _wnck_get_client_type | Alberts Muktupāvels | 2022-02-23 | 2 | -8/+0 |
| | |||||
* | window: use WnckHandle to get client type | Alberts Muktupāvels | 2022-02-23 | 1 | -1/+4 |
| | |||||
* | xutils: use WnckHandle to get client type | Alberts Muktupāvels | 2022-02-23 | 1 | -6/+19 |
| | |||||
* | application: remove unused struct member | Alberts Muktupāvels | 2022-02-22 | 1 | -2/+0 |
| | |||||
* | screen: move screens to WnckHandle | Alberts Muktupāvels | 2022-02-22 | 5 | -115/+154 |
| | |||||
* | util: move resource usage to its own file | Alberts Muktupāvels | 2022-02-17 | 4 | -519/+602 |
| | |||||
* | window: move window_hash to WnckHandle | Alberts Muktupāvels | 2022-02-17 | 4 | -28/+58 |
| | |||||
* | application: move app_hash to WnckHandle | Alberts Muktupāvels | 2022-02-17 | 4 | -43/+77 |
| | |||||
* | class-group: move class_group_hash to WnckHandle | Alberts Muktupāvels | 2022-02-17 | 5 | -53/+92 |
| | |||||
* | screen: store WnckHandle in struct | Alberts Muktupāvels | 2022-02-17 | 2 | -0/+14 |
| | | | | | | | | | | Before 5ab809143a7d commit event filter was added in wnck_screen_get when constructing first screen. Store WnckHandle in WnckScreen struct to ensure that event filter is always added otherwise we might end up without event filter if on startup nothing calls _wnck_get_handle. This change introduces new requirement - wnck_set_client_type must be used before using WnckScreen APIs. | ||||
* | xutils: move event filter to WnckHandlewip/muktupavels/wnck-handle-2 | Alberts Muktupāvels | 2021-05-31 | 5 | -113/+106 |
| | | | | | | The final goal is that all resources are managed by WnckHandle. This will allow to free resources when removing plugin/applet without worrying that it might affect other applets. | ||||
* | util: move default icon size to WnckHandle | Alberts Muktupāvels | 2021-05-31 | 3 | -10/+48 |
| | | | | | In future this will allow to have multiple plugins/applets in same process with different icon sizes. | ||||
* | xutils: move WnckIconCache to its own file | Alberts Muktupāvels | 2021-05-11 | 7 | -747/+815 |
| | |||||
* | handle: fix license headers | Alberts Muktupāvels | 2021-05-10 | 2 | -18/+18 |
| | |||||
* | build: Support new GNOME versioning schema | Marco Trevisan (Treviño) | 2021-05-10 | 1 | -3/+23 |
| | | | | | | | | | | | | | | | | | alpha, beta and rc releases can will be exposed source side as: major: MAJOR_VERSION-1 minor: 99-MINOR_VERSION_LEVEL micro: MICRO_VERSION So that: 40.alpha => 39.97.0 40.alpha.1 => 39.97.1 40.beta => 39.98.0 40.beta.1 => 39.98.1 40.rc => 39.99.0 40.rc.1 => 39.99.1 40.0 => 40.0.0 40.1 => 40.1.0 | ||||
* | pager: do not change workspace size from size_allocate | Alberts Muktupāvels | 2021-05-10 | 1 | -59/+0 |
| | | | | | | | | | | It should be enough to have only minimum size like it was before a414519d7b45 commit. Widget should request minimum size it needs! Using allocated size is wrong as it means widgets will get only bigger. To reduce size container will need to underallocate widget and GTK will warn about that if consistency checks are enabled. | ||||
* | pager: reduce initial workspace_size | Alberts Muktupāvels | 2021-05-10 | 1 | -1/+1 |
| | | | | | | workspace_size was introduced in a414519d7b45 without any comment why default was set to 48. This is wrong as containers will be forced to underallocate widget to reduce size. | ||||
* | add private WnckHandle object | Alberts Muktupāvels | 2021-05-10 | 5 | -7/+197 |
| | | | | | | | | | | | WnckHandle in future will be used as main entry point into library. This will allow to have multiple tasklists in same process with different settings. Also this will allow to cleanup resources without worrying that calling wnck_shutdown might affect other applets or plugins that might use libwnck in same process. https://gitlab.gnome.org/GNOME/libwnck/-/issues/136 | ||||
* | tasklist: set size request mode | Alberts Muktupāvels | 2021-05-10 | 1 | -105/+300 |
| | | | | | | | | Use GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH mode for vertical tasklist and GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode for horizontal tasklist. Original wnck_tasklist_size_request function has been renamed to wnck_tasklist_update_size_hints and used only to update size hints. | ||||
* | tasklist: scale up icon geometry to device pixels | Alberts Muktupāvels | 2021-05-10 | 1 | -0/+8 |
| | |||||
* | tasklist: scale down window geometry to application pixels | Alberts Muktupāvels | 2021-05-10 | 1 | -0/+8 |
| | |||||
* | xutils: use single size parameter also in read_rgb_icon | Alberts Muktupāvels | 2021-05-07 | 1 | -21/+13 |
| | |||||
* | xutils: don't check if ideal size is 0 or less | Alberts Muktupāvels | 2021-05-07 | 1 | -66/+9 |
| | | | | | _wnck_read_icons and _wnck_get_fallback_icons is not used with negative size nor with 0. | ||||
* | xutils: use ideal_size also in try_pixmap_and_mask | Alberts Muktupāvels | 2021-05-07 | 1 | -12/+10 |
| | |||||
* | xutils: replace width and height with size in get_fallback_icons | Alberts Muktupāvels | 2021-05-07 | 4 | -32/+16 |
| | | | | | Function is always used with same value for width and height. Replace with single parameter. | ||||
* | xutils: replace width and height with size in read_icons | Alberts Muktupāvels | 2021-05-07 | 4 | -40/+34 |
| | | | | | | | | | _wnck_read_icons is used in WnckApplication and WnckWindow. In both cases ideal_width and ideal_height have same value - default icon size. Same with ideal_mini_width and ideal_mini_height. Simplify function by replacing width and height parameters with size parameter. | ||||
* | tasklist: deprecate get_size_hint_list | Alberts Muktupāvels | 2021-05-05 | 2 | -0/+4 |
| | | | | Use minimum and natural size instead. | ||||
* | tasklist: use minimum button size as minimum size | Alberts Muktupāvels | 2021-05-05 | 1 | -3/+43 |
| | | | | | To make sure that container allocate enough size to fit at least one button in its minimum size. | ||||
* | tasklist: override get_preferred_width vfunc | Alberts Muktupāvels | 2021-05-05 | 1 | -44/+104 |
| | | | | | This way we can return minimum and natural widths for task list buttons. | ||||
* | tasklist: add WnckButton | Alberts Muktupāvels | 2021-05-05 | 1 | -128/+194 |
| | | | | | This is needed to make it possible to override get_preferred_width vfunc in next commit. |