Uh oh!
There was an error while loading. Please reload this page.
Make Shutter read the xpm cursors x_hot and y_hot coordinates - #813
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| #of these values | ||
| $self->{_cursors}{$cname}{'x_hot'} = $self->{_cursors}{$cname}->get_option('x_hot'); | ||
| $self->{_cursors}{$cname}{'y_hot'} = $self->{_cursors}{$cname}->get_option('y_hot'); | ||
| if (!$pixbuf) { |
| $self->{_cursors}{$self->{_current_mode_descr}}{'x_hot'}, $self->{_cursors}{$self->{_current_mode_descr}}{'y_hot'}, | ||
| ); | ||
| } | ||
| if (exists $self->{_cursors}{$self->{_current_mode_descr}}) { |
DarthGandalf
commented
May 9, 2026
Other than whitespaces, looks good |
| $self->{_cursors}{$self->{_current_mode_descr}}{'x_hot'}, $self->{_cursors}{$self->{_current_mode_descr}}{'y_hot'}, | ||
| ); | ||
| } | ||
| my $cursor_data = $self->{_cursors}{$self->{_current_mode_descr}}; |
Photon89
commented
May 9, 2026
Should be okay now! I guess, I need to look for a better text editor... |
Uh oh!
There was an error while loading. Please reload this page.
DarthGandalf
commented
May 9, 2026
Nope
in nvim I have this: |
Photon89
commented
May 9, 2026
Sorry, I merged too fast. What is the best way to fix the last whitespace problem? A new PR? |
DarthGandalf
commented
May 9, 2026
That works. Dunno if it's the best one |
Since upstream is irresponsive (see https://gitlab.gnome.org/GNOME/glycin/-/work_items/291), Shutter can now read the coordinates directly from the xpm files. This will fix#808.