All of lore.kernel.org
 help / color / mirror / Atom feed
* [xcursor-transparent-theme][Patch] Add several cursors
@ 2016-03-01 23:52 Johannes Pointner
  2016-03-02 12:19 ` Burton, Ross
  0 siblings, 1 reply; 9+ messages in thread
From: Johannes Pointner @ 2016-03-01 23:52 UTC (permalink / raw)
  To: yocto

This patch adds several cursor to the transparent-theme which are
used by Qt for example.

Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
---
 cursors/Makefile.am | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index d699942..587f4e5 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -26,10 +26,17 @@ CURSOR_NAMES = \
 	bottom_tee \
 	center_ptr \
 	circle \
+	closedhand \
+	color-picker \
+	copy \
 	cross \
 	cross_reverse \
 	crossed_circle \
 	crosshair \
+	dnd-copy \
+	dnd-move \
+	dnd-no-drop \
+	dnd-none \
 	dot \
 	dot_box_mask \
 	dotbox \
@@ -40,21 +47,27 @@ CURSOR_NAMES = \
 	exchange     \
 	fd_double_arrow \
 	fleur \
+	forbidden \
 	gumby \
 	h_double_arrow \
 	hand \
 	hand1 \
 	hand2 \
+	ibeam \
 	left_ptr \
 	left_ptr_watch \
 	left_side \
 	left_tee  \
+	link \
 	ll_angle  \
 	lr_angle  \
 	move      \
+	openhand \
 	pencil    \
 	pirate    \
 	plus      \
+	pointing_hand \
+	progress \
 	question_arrow \
 	right_ptr      \
 	right_side     \
@@ -67,9 +80,17 @@ CURSOR_NAMES = \
 	sb_up_arrow \
 	sb_v_double_arrow \
 	shuttle \
+	size_all \
+	size_bdiag \
+	size_fdiag \
+	size_hor \
+	size_ver \
 	sizing  \
+	split_h \
+	split_v \
 	target  \
 	tcross  \
+	text \
 	top_left_arrow  \
 	top_left_corner \
 	top_right_corner \
@@ -77,9 +98,12 @@ CURSOR_NAMES = \
 	top_tee \
 	trek \
 	ul_angle \
+	up_arrow \
 	ur_angle \
 	v_double_arrow \
+	wait \
 	watch \
+	whats_this \
 	xterm  
 
 CURSOR_DIR = $(datadir)/icons/xcursor-transparent/cursors
-- 
2.7.2



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-01 23:52 [xcursor-transparent-theme][Patch] Add several cursors Johannes Pointner
@ 2016-03-02 12:19 ` Burton, Ross
  2016-03-02 12:37   ` Burton, Ross
  2016-03-02 12:45   ` Johannes Pointner
  0 siblings, 2 replies; 9+ messages in thread
From: Burton, Ross @ 2016-03-02 12:19 UTC (permalink / raw)
  To: Johannes Pointner; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

Hi Johannes,

This and the other patch have been merged, thanks.

However I just realised that we don't actually need this anymore and should
instead be passing -nocursor when starting X11.

Ross


On 1 March 2016 at 23:52, Johannes Pointner <h4nn35.work@gmail.com> wrote:

> This patch adds several cursor to the transparent-theme which are
> used by Qt for example.
>
> Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
> ---
>  cursors/Makefile.am | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/cursors/Makefile.am b/cursors/Makefile.am
> index d699942..587f4e5 100644
> --- a/cursors/Makefile.am
> +++ b/cursors/Makefile.am
> @@ -26,10 +26,17 @@ CURSOR_NAMES = \
>         bottom_tee \
>         center_ptr \
>         circle \
> +       closedhand \
> +       color-picker \
> +       copy \
>         cross \
>         cross_reverse \
>         crossed_circle \
>         crosshair \
> +       dnd-copy \
> +       dnd-move \
> +       dnd-no-drop \
> +       dnd-none \
>         dot \
>         dot_box_mask \
>         dotbox \
> @@ -40,21 +47,27 @@ CURSOR_NAMES = \
>         exchange     \
>         fd_double_arrow \
>         fleur \
> +       forbidden \
>         gumby \
>         h_double_arrow \
>         hand \
>         hand1 \
>         hand2 \
> +       ibeam \
>         left_ptr \
>         left_ptr_watch \
>         left_side \
>         left_tee  \
> +       link \
>         ll_angle  \
>         lr_angle  \
>         move      \
> +       openhand \
>         pencil    \
>         pirate    \
>         plus      \
> +       pointing_hand \
> +       progress \
>         question_arrow \
>         right_ptr      \
>         right_side     \
> @@ -67,9 +80,17 @@ CURSOR_NAMES = \
>         sb_up_arrow \
>         sb_v_double_arrow \
>         shuttle \
> +       size_all \
> +       size_bdiag \
> +       size_fdiag \
> +       size_hor \
> +       size_ver \
>         sizing  \
> +       split_h \
> +       split_v \
>         target  \
>         tcross  \
> +       text \
>         top_left_arrow  \
>         top_left_corner \
>         top_right_corner \
> @@ -77,9 +98,12 @@ CURSOR_NAMES = \
>         top_tee \
>         trek \
>         ul_angle \
> +       up_arrow \
>         ur_angle \
>         v_double_arrow \
> +       wait \
>         watch \
> +       whats_this \
>         xterm
>
>  CURSOR_DIR = $(datadir)/icons/xcursor-transparent/cursors
> --
> 2.7.2
>
>

[-- Attachment #2: Type: text/html, Size: 3555 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:19 ` Burton, Ross
@ 2016-03-02 12:37   ` Burton, Ross
  2016-03-02 12:45   ` Johannes Pointner
  1 sibling, 0 replies; 9+ messages in thread
From: Burton, Ross @ 2016-03-02 12:37 UTC (permalink / raw)
  To: Johannes Pointner; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

Hi Johannes,

On 2 March 2016 at 12:19, Burton, Ross <ross.burton@intel.com> wrote:

> This and the other patch have been merged, thanks.
>

I've also merged in the patches that oe-core was carrying and did a bit of
a spring clean, so if you can test and submit a srcrev bump and patch
removal for oe-core that would be appreciated.

Ross

[-- Attachment #2: Type: text/html, Size: 749 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:19 ` Burton, Ross
  2016-03-02 12:37   ` Burton, Ross
@ 2016-03-02 12:45   ` Johannes Pointner
  2016-03-02 12:48     ` Burton, Ross
  1 sibling, 1 reply; 9+ messages in thread
From: Johannes Pointner @ 2016-03-02 12:45 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

Hello Ross,

thanks.

I didn't know this option.
But I think there is still a use case for the
xcursor-transparent-theme. Because the cursor theme can be set before
starting a new application without restarting X11.


2016-03-02 13:19 GMT+01:00 Burton, Ross <ross.burton@intel.com>:
> Hi Johannes,
>
> This and the other patch have been merged, thanks.
>
> However I just realised that we don't actually need this anymore and should
> instead be passing -nocursor when starting X11.
>
> Ross
>
>
> On 1 March 2016 at 23:52, Johannes Pointner <h4nn35.work@gmail.com> wrote:
>>
>> This patch adds several cursor to the transparent-theme which are
>> used by Qt for example.
>>
>> Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
>> ---
>>  cursors/Makefile.am | 24 ++++++++++++++++++++++++
>>  1 file changed, 24 insertions(+)
>>
>> diff --git a/cursors/Makefile.am b/cursors/Makefile.am
>> index d699942..587f4e5 100644
>> --- a/cursors/Makefile.am
>> +++ b/cursors/Makefile.am
>> @@ -26,10 +26,17 @@ CURSOR_NAMES = \
>>         bottom_tee \
>>         center_ptr \
>>         circle \
>> +       closedhand \
>> +       color-picker \
>> +       copy \
>>         cross \
>>         cross_reverse \
>>         crossed_circle \
>>         crosshair \
>> +       dnd-copy \
>> +       dnd-move \
>> +       dnd-no-drop \
>> +       dnd-none \
>>         dot \
>>         dot_box_mask \
>>         dotbox \
>> @@ -40,21 +47,27 @@ CURSOR_NAMES = \
>>         exchange     \
>>         fd_double_arrow \
>>         fleur \
>> +       forbidden \
>>         gumby \
>>         h_double_arrow \
>>         hand \
>>         hand1 \
>>         hand2 \
>> +       ibeam \
>>         left_ptr \
>>         left_ptr_watch \
>>         left_side \
>>         left_tee  \
>> +       link \
>>         ll_angle  \
>>         lr_angle  \
>>         move      \
>> +       openhand \
>>         pencil    \
>>         pirate    \
>>         plus      \
>> +       pointing_hand \
>> +       progress \
>>         question_arrow \
>>         right_ptr      \
>>         right_side     \
>> @@ -67,9 +80,17 @@ CURSOR_NAMES = \
>>         sb_up_arrow \
>>         sb_v_double_arrow \
>>         shuttle \
>> +       size_all \
>> +       size_bdiag \
>> +       size_fdiag \
>> +       size_hor \
>> +       size_ver \
>>         sizing  \
>> +       split_h \
>> +       split_v \
>>         target  \
>>         tcross  \
>> +       text \
>>         top_left_arrow  \
>>         top_left_corner \
>>         top_right_corner \
>> @@ -77,9 +98,12 @@ CURSOR_NAMES = \
>>         top_tee \
>>         trek \
>>         ul_angle \
>> +       up_arrow \
>>         ur_angle \
>>         v_double_arrow \
>> +       wait \
>>         watch \
>> +       whats_this \
>>         xterm
>>
>>  CURSOR_DIR = $(datadir)/icons/xcursor-transparent/cursors
>> --
>> 2.7.2
>>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:45   ` Johannes Pointner
@ 2016-03-02 12:48     ` Burton, Ross
  2016-03-02 12:50       ` Burton, Ross
  2016-03-02 15:36       ` William Mills
  0 siblings, 2 replies; 9+ messages in thread
From: Burton, Ross @ 2016-03-02 12:48 UTC (permalink / raw)
  To: Johannes Pointner; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On 2 March 2016 at 12:45, Johannes Pointner <h4nn35.work@gmail.com> wrote:

> I didn't know this option.
> But I think there is still a use case for the
> xcursor-transparent-theme. Because the cursor theme can be set before
> starting a new application without restarting X11.
>

How do you handle users switching between applications in that case? Or the
application crashing and leaving you without a cursor?  If a particular
application should hide the cursor them it should just hide the cursor, if
the entire UI shouldn't have a cursor then use -nocursor.

Don't worry, I won't be deleting the transparent theme just yet, but I do
think it's a hack.

Ross

[-- Attachment #2: Type: text/html, Size: 1168 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:48     ` Burton, Ross
@ 2016-03-02 12:50       ` Burton, Ross
  2016-03-02 13:15         ` Johannes Pointner
  2016-03-02 15:36       ` William Mills
  1 sibling, 1 reply; 9+ messages in thread
From: Burton, Ross @ 2016-03-02 12:50 UTC (permalink / raw)
  To: Johannes Pointner; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

On 2 March 2016 at 12:48, Burton, Ross <ross.burton@intel.com> wrote:

> How do you handle users switching between applications in that case? Or
> the application crashing and leaving you without a cursor?  If a particular
> application should hide the cursor them it should just hide the cursor, if
> the entire UI shouldn't have a cursor then use -nocursor.
>

Or if you're using matchbox-window-manager, pass -use_cursor no, which will
also hide it system-wide.

Ross

[-- Attachment #2: Type: text/html, Size: 891 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:50       ` Burton, Ross
@ 2016-03-02 13:15         ` Johannes Pointner
  0 siblings, 0 replies; 9+ messages in thread
From: Johannes Pointner @ 2016-03-02 13:15 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

Of course its a hack :)
I will test the changes and send the patches.

Thanks,
Hannes

2016-03-02 13:50 GMT+01:00 Burton, Ross <ross.burton@intel.com>:
>
> On 2 March 2016 at 12:48, Burton, Ross <ross.burton@intel.com> wrote:
>>
>> How do you handle users switching between applications in that case? Or
>> the application crashing and leaving you without a cursor?  If a particular
>> application should hide the cursor them it should just hide the cursor, if
>> the entire UI shouldn't have a cursor then use -nocursor.
>
>
> Or if you're using matchbox-window-manager, pass -use_cursor no, which will
> also hide it system-wide.
>
> Ross


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 12:48     ` Burton, Ross
  2016-03-02 12:50       ` Burton, Ross
@ 2016-03-02 15:36       ` William Mills
  2016-03-02 15:57         ` Burton, Ross
  1 sibling, 1 reply; 9+ messages in thread
From: William Mills @ 2016-03-02 15:36 UTC (permalink / raw)
  To: Burton, Ross, Johannes Pointner; +Cc: yocto@yoctoproject.org



On 03/02/2016 07:48 AM, Burton, Ross wrote:
> 
> On 2 March 2016 at 12:45, Johannes Pointner <h4nn35.work@gmail.com
> <mailto:h4nn35.work@gmail.com>> wrote:
> 
>     I didn't know this option.
>     But I think there is still a use case for the
>     xcursor-transparent-theme. Because the cursor theme can be set before
>     starting a new application without restarting X11.
> 
> 
> How do you handle users switching between applications in that case? Or
> the application crashing and leaving you without a cursor?  If a
> particular application should hide the cursor them it should just hide
> the cursor, if the entire UI shouldn't have a cursor then use -nocursor.
>

How about transparent when last user input was touch-screen but normal
when last input was mouse/touchpad?

This would be done on a per DISPLAY basis not a per app basis.

Of course I don't know where to put that code and if I were doing it
today I would put it into a wayland based arch but ...

> Don't worry, I won't be deleting the transparent theme just yet, but I
> do think it's a hack.
> 
> Ross
> 
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [xcursor-transparent-theme][Patch] Add several cursors
  2016-03-02 15:36       ` William Mills
@ 2016-03-02 15:57         ` Burton, Ross
  0 siblings, 0 replies; 9+ messages in thread
From: Burton, Ross @ 2016-03-02 15:57 UTC (permalink / raw)
  To: William Mills; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On 2 March 2016 at 15:36, William Mills <wmills@ti.com> wrote:

> How about transparent when last user input was touch-screen but normal
> when last input was mouse/touchpad?
>
> This would be done on a per DISPLAY basis not a per app basis.
>
> Of course I don't know where to put that code and if I were doing it
> today I would put it into a wayland based arch but ...
>

I guess you could do this in the window manager, calling XFixesShowCursor /
HideCursor().

Ross

[-- Attachment #2: Type: text/html, Size: 899 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-02 15:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 23:52 [xcursor-transparent-theme][Patch] Add several cursors Johannes Pointner
2016-03-02 12:19 ` Burton, Ross
2016-03-02 12:37   ` Burton, Ross
2016-03-02 12:45   ` Johannes Pointner
2016-03-02 12:48     ` Burton, Ross
2016-03-02 12:50       ` Burton, Ross
2016-03-02 13:15         ` Johannes Pointner
2016-03-02 15:36       ` William Mills
2016-03-02 15:57         ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.