47 Commits

Author SHA1 Message Date
jianglinxuan a4342e1e88 In the workspace view, add the desktop thumbnail feature to the workspace box 2020-01-16 14:30:34 +08:00
jianglinxuan 34064cf0be Update window thumbnail capture method
* BugFix: Window (not managed by window manager) thumbnail
  is not correct
* Automatically calculates the window decoration (frame
  window) area size
* Automatically calculates the window shadow size
2020-01-15 11:23:16 +08:00
jianglinxuan b5793dc882 Add style settings for the floating scrollbar 2020-01-14 20:51:53 +08:00
jianglinxuan 12b0e08848 Use the floating ScrollBar instead of the ScrollBar in QScrollArea 2020-01-14 20:51:10 +08:00
jianglinxuan 5b073d74cd Fix workspace view crash 2020-01-14 14:35:02 +08:00
jianglinxuan e37398f50d Improve configuration items and configuration delivery
* Add configuration items: FrameShadowWidth, FrameshadowTopOffset
* Configuration is passed to indicator and workspace_manager
* The frame window shadow shape description is determined by
  the configuration
2020-01-14 11:58:11 +08:00
jianglinxuan 1fb183425f BugFix: The selected window is not in the visual area 2020-01-13 17:01:27 +08:00
jianglinxuan 5881ac3ccb Update the screen-related API 2020-01-13 17:01:08 +08:00
jianglinxuan 3409ca88e9 Put the x11-related header file to UkwsHelperXHeader namespace 2020-01-13 16:58:29 +08:00
jianglinxuan a2c8d31ed9 Adjust the default theme
* Add a little white to the indicator background
* Resize the thumbnail border margin in the theme
2020-01-11 15:48:04 +08:00
jianglinxuan cbc67d328f Fixed the search path for configuration files and theme files 2020-01-11 15:44:55 +08:00
jianglinxuan 108b063148 Workspace view remains top level 2020-01-11 15:41:07 +08:00
jianglinxuan 3693ae56cc Advance the show time of indicator to flowReLayout
* Advance the show time of indicator to flowReLayout to facilitate
  the calculation of flowlayout height
2020-01-11 14:11:26 +08:00
jianglinxuan 4784c18ccd Add frame window area to the window thumbnail 2020-01-11 14:06:41 +08:00
jianglinxuan ac0d2667a4 Add Copyright to src/*.[h|cpp] 2020-01-10 15:21:38 +08:00
jianglinxuan 31c5797950 Fixed ukui-window-switch style for Fusion 2020-01-10 14:55:51 +08:00
jianglinxuan 8f5dc8a423 Bug fix: winbox did not disconnect the signal-slot after switching the indicator 2020-01-10 14:52:38 +08:00
jianglinxuan 40685117da Add gdk_init for libwnck 2020-01-10 13:39:35 +08:00
jianglinxuan b07b8dd52c Add the command line function to show the workspace view
* Add command line parameters "--show-workspace"
* Add DBus client to call "handleWorkspace" method
2020-01-10 10:06:10 +08:00
jianglinxuan 34e0f81a32 Add DBus services to ukws
* The DBus service provides a method to show the workspace view
2020-01-10 10:02:10 +08:00
jianglinxuan c1ccfa7867 Upgrade the WNCK version to 3.0 2020-01-09 15:30:20 +08:00
jianglinxuan 11ce1631bc Fixed a bug where a portion of the workspace width was abnormal in the workspace view 2020-01-09 10:55:50 +08:00
jianglinxuan 3e35b34e8e Bugfix: crashed when ukws cannot get window screenshot from X 2020-01-09 10:17:54 +08:00
jianglinxuan e6fd46d16c Bugfix: workspace view layout error
* Fixed a bug where SRC and DST workspaces were not properly laid out
  after dragging and dropping Windows in the workspace view
2020-01-09 10:01:18 +08:00
jianglinxuan 9982bf00bf Save the size of contents in the flowlayout 2020-01-08 15:53:08 +08:00