Commit Graph

35 Commits

Author SHA1 Message Date
Hugo Osvaldo Barrera 59edbbd155 Move the output name overlay to the bottom left
The output name overlay renders on the top left by default. At the same
time, wdisplays renders the output previews on its top left corner too.

The results is that the overlay covered the output previews, making
seeing it and interacting with it tricky.

Moving the output name to the bottom left makes sure there's never any
overlap between it and the draggable previews shows for each output.
2022-02-25 17:37:46 +01:00
Simon Ser 5198a9c94b
Use correct versions when binding globals
Changes to protocols aren't forward-compatible. It's not possible to use
version n+1 when a client has been designed to work with version n. For
instance in wlr-screencopy v5 a new event has been added. Binding to
version 5 without upgrading the client leads to libwayland errors
because libwayland doesn't know how to handle the event.

The client needs to maintain its own version requirements.

Closes: https://github.com/cyclopsian/wdisplays/issues/18
2020-07-27 11:08:50 +02:00
Jason Francis 0ed52013dd Create WdHeadForm class 2020-05-09 13:37:18 -04:00
Jason Francis f3f2b9e9e2 Backport GTK4 changes
Includes refactoring to use GMenuModel and GtkEventController
2020-05-08 20:26:33 -04:00
Jason Francis 69564522bc Relicense to GPL3+, add REUSE compliance
https://reuse.software/spec/
2020-05-08 20:10:27 -04:00
Jason Francis e66756e2c4 Show headerbar when window is fullscreen
Fixes #14
2020-03-14 21:49:46 -04:00
Jason Francis 54b5fe7e30 Add icon and desktop file 2019-12-10 12:02:17 -05:00
Jason Francis 22669edadb Force tick callback at application start 2019-10-26 16:56:01 -04:00
Jason Francis acd95b1664 Use SPDX license identifiers 2019-10-26 16:56:01 -04:00
Jason Francis 63380ae59d gles 2019-10-26 16:56:01 -04:00
Jason Francis c0cd8e4ac0 Ensure GL context defaults to ES 2.0 2019-10-26 16:37:27 -04:00
Jan Beich bfaf2211c0 Set mode when creating shm object
$ wdisplays
shm_open: Permission denied
shm_open: Permission denied
shm_open: Permission denied
shm_open: Permission denied
^C

$ posixshmcontrol ls
MODE            OWNER   GROUP   SIZE    PATH
---------       foo     foo     33177600        /wd-DP-1
2019-10-04 05:14:25 +00:00
Jason Francis 049bf5bd8f Fix animation not working when capture disabled 2019-09-24 07:59:15 -04:00
Jason Francis d9c6f92830 Fix hangups caused by idle events never running 2019-09-09 10:57:02 -04:00
Jason Francis d9b868077a Display grid lines when moving a display 2019-08-27 10:56:03 -04:00
Jason Francis e0f382af84 Fix snapping not working with rotation/scale 2019-08-23 18:18:25 -04:00
Jason Francis 53d52f0fe3 Fix incorrect canvas scroll sizes and margins 2019-08-23 18:00:07 -04:00
Jason Francis bd8fc3f7d4 Correctly render flipped/rotated screens 2019-08-23 17:35:59 -04:00
Jason Francis 2a896eae5f Use mipmaps for texture scaling 2019-08-23 17:30:46 -04:00
Jason Francis b2c8f77be6 Use CSS padding for overlay 2019-08-18 13:02:09 -04:00
Jason Francis dd2568a2b4 Fix form data being incorrect sometimes 2019-08-18 11:33:59 -04:00
Jason Francis ba3b9f339f Ensure clicks on the canvas respect head z-order 2019-08-18 11:33:30 -04:00
Jason Francis 4b12ba1d0b Add name and description to overlay 2019-08-18 11:32:13 -04:00
Jason Francis 27d7067762 Force roundtrip after applying settings 2019-08-14 14:20:11 -04:00
Jason Francis 3d69ae73d3 Add screen number overlays 2019-08-13 16:38:04 -04:00
Jason Francis 8cea18fd0d Fix spinner animating constantly 2019-08-10 13:50:34 -04:00
Jason Francis 9020f1ba1c Prepend new outputs/heads 2019-08-06 13:33:03 -04:00
Jason Francis 0d6c6d04c7 Force setting all output attributes when enabling 2019-08-06 13:28:33 -04:00
Jason Francis 25521476b6 Avoid GtkStack warning when adding displays 2019-08-06 13:27:22 -04:00
Jason Francis 26af01ddc3 Reorder render list when clicking a display 2019-08-06 13:26:25 -04:00
Jason Francis 1fba2b78a8 swap RGB -> BGR when necessary 2019-08-01 11:09:00 -04:00
Jason Francis 2ec122ef32 update name 2019-08-01 11:09:00 -04:00
Jason Francis 43a2d18075 finish up viewport widget with screen previews 2019-07-27 16:57:54 -04:00
Jason Francis e7ac3fa7ad improve form consistency 2019-07-06 13:12:28 -04:00
Jason Francis b278730ddd initialize repository 2019-07-05 22:51:52 -04:00