* input method draft
* restoring relese event
* using unused macro, removing debug code, handling disconnection
* review fixes, new update_im_window_pos method
* initializing variables correctly
* initializing im pos queue correctly
* ime window positioning
* add widget_get_y_pos() position
* [Build] Update makefile with imdkit
* [CI] Add imdkit as dependency.
* [XCB] rofi_view_paste don't throw warning, print debug.
* [XCB] rofi_view_paste lower 'failed to convert selection'
* [Build] Add minimum version check to imdkit
* new macro XCB_IMDKIT_1_0_3_LOWER
* [Build] Try to support old version of imdkit in meson/makefile.
* [Build] Fix typo in meson.build
* [XIM] Don't set use compound/set use utf8 when on old version.
* [Build] Allow building without imdkit.
* [Doc] Add imdkit to dependency list.
Co-authored-by: Dave Davenport <qball@gmpclient.org>
Adds control-v binding that copies it to the clipboard.
THIS ONLY WORKS WITH CLIPBOARD MANAGER!!! once rofi is closes, the data is
gone!
This needs to be tested. Documentation on this is lacking so reversed
engineered from other applications.
TODO: how do we do the SAVE_TARGETS?
fixes: #378
* [1406] Add watcher for new/removed windows and reload based on that.
* [1406] Add a small timeout before reloading to avoid reloading several times in a row.
* [1406] close rofi if you receive a destroy window on rofi.
* rofi moved to libera.chat
* unify some theme headers and whitespace
* consistently use the same hashbang for bash
* improve obsolete way of testing equality
see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation
* use consistent function definitions in bash scripts
* remove duplicated author and fix whitespace
* quote all variables in scripts
fixes many warnings identified through shellcheck
* fix whitespace in scripts
* fix whitespace in non-source files
* fix spelling in non-source files
* fix whitespace and indentation in source files
* fix spelling in source files
XCB_RANDR_MAJOR_VERSION/XCB_RANDR_MINOR_VERSION are the maximum supported (in code) version.
Before this commit, the check verified that your libxcb did not support a newer RandR version than your running server.
After this commit, the check verifies the server’s RandR version is at least 1.5.
* [XCB] Use randr monitor API to get monitors.
Hopefully helps with issue #749.
* Add check for randr header version
* Fix API version check, and check the version of the server.
* Add some comments to the code.
This reverts commit e9532f584f.
It should not matter for rofi, which is not meant to stay around long,
and it messes with XTST (that tools like xscape use).
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
The problem is that xcb_translate_coordinates was being called to
translate the origin of the active_window (relative to active_window's
parent) from the coordinate space relative to active_window to the
coordinate space relative to root. The fix is to translate the origin of
the active_window (relative to active_window's parent) from the
coordinate space relative to active_window's parent to the coordinate
space relative to root.